
agentpostmortem/skill-audit
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
エージェントスキルのセキュリティスキャナ — プロンプト注入、危険なシェル、シークレットアクセス、およびClaude/agentスキルをインストールする前に、エクスフィルトをフラグします。 31 ルール、SARIF、ゼロディープ.
概要
プロンプト注入、危険なシェル、シークレットアクセス、ネットワークの排出のためのClaude/agentスキルをスキャン — 1つのコマンド、ゼロの依存関係、CIのSARIF出力。 [https://www.npmjs.com/package/@royalpinto007/skill-audit]・[https://github.com/AgentPostmortem/Skill-audit]] スキルディレクトリまたは単一の SKILL.md でポイントします。 クリーンなスキルで期待される出力: (ファイルカウントは、スキルに含まれるスクリプトとテキストファイルの数によって異なります。) エージェントは新しいプラグインです。 スキルは SKILL.md と、エージェントが意志するスクリプトです。 GitHub、gists、そしてゼロレビューでマーケットプレースからインストールします。 これは、保護されていないサプライチェーンです。スキルは、エージェントが自分のルールを無視するように静かに伝えることができます。カール | ペイロードをバッシュし、あなたの ~/.ssh キーを読み込み、または .env を webhook にPOSTし、それに対するチェックはありません。 スキルアップは、スキルアップのためのnpm監査です。 それをスキルでポイントし、それをインストールしないようにするパターンをフラグします。 SKILLを読みます.
概要(AI 翻訳)
エージェントスキルのセキュリティスキャナー 迅速な注入、危険なシェル、シークレットアクセス、ネットワークのエクスパレーションのためにClaude/agentスキルをスキャン** — 1つのコマンド、ゼロの依存関係、CIのSARIF出力。
npm: [https://www.npmjs.com/package/@royalpinto007/skill-audit]·出典: [[T1]
お問い合わせ
クイックスタート
Node.js 18+ が必要です。
インストールなし — [npx] は、パッケージを実行します。
**一度だけインストールして[skill-auditを直接呼び出します。
ポイント[ ]は、スキルディレクトリまたはシングル[[[SKILL.md]]で行います。 クリーンなスキルで期待される出力:
(ファイルカウントは、スキルに含まれるスクリプトとテキストファイルの数によって異なります。)
なぜ
Agent skills は新しいプラグインです。 スキルは[SKILL.mdと、エージェントが指示として読み出し、実行するスクリプトです**。そして、人々はGitHub、gists、およびゼロレビューでマーケットプレイスからそれらをインストールします。 これは、保護されていないサプライチェーンです。スキルは、エージェントを独自のルールを無視する、[curl | bash)ペイロード、[[[T8]キーを読み取り、または[[[[T9]をWebhookにPOSTし、それに対するチェックはありません。
[skill-auditはnpm audit]です.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
skill-audit
A security scanner for agent skills. Scan a Claude/agent Skill for prompt-injection, dangerous shell, secret access, and network exfiltration before you trust it — one command, zero dependencies, SARIF output for CI.
npx @royalpinto007/skill-audit ./path-to-skill
npm: https://www.npmjs.com/package/@royalpinto007/skill-audit · Source: https://github.com/AgentPostmortem/Skill-audit
Quickstart
Requires Node.js 18+.
No install — npx fetches and runs the package:
npx @royalpinto007/skill-audit ./my-skill
Or install once and call skill-audit directly:
npm install -g @royalpinto007/skill-audit
skill-audit ./my-skill
Point `` at a skill directory or a single SKILL.md. Expected output on a clean skill:
skill-audit · my-skill (1 file scanned)
✓ No issues found.
(File count depends on how many scripts and text files the skill contains.)
Why
Agent skills are the new plugin. A skill is a SKILL.md plus scripts that an agent will read as instructions and execute — and people install them from GitHub, gists, and marketplaces with zero review. That is an unguarded supply chain: a skill can quietly tell the agent to ignore its own rules, curl | bash a payload, read your ~/.ssh keys, or POST your .env to a webhook, and nothing checks for it.
skill-audit is npm audit for skills. Point it at a skill and it flags the patterns that should stop you from installing it.
What it catches
| Category | Examples |
|---|---|
| Prompt injection | “ignore all previous instructions”, “do not tell the user”, “act without confirmation”, disable/bypass safety, stated intent to exfiltrate |
| Dangerous shell | rm -rf ~, curl | bash, fork bombs, chmod 777, dd/mkfs, reverse shells |
| Secret access | reads ~/.ssh/id_rsa, ~/.aws/credentials, .npmrc, .netrc, dumps the environment, hits the keychain |
| Exfiltration | uploads local files, contacts webhook.site / pastebin / ngrok / raw IPs, programmatic outbound POST |
| Supply chain | runtime pip/npm installs, git clone && run |
| Obfuscation | base64 -d | sh, large base64 blobs, hidden zero-width / bidi Unicode |
| Over-permission | allowed-tools: * |
It reads SKILL.md prose for instruction-injection and reads scripts and fenced code blocks for dangerous commands — so a chmod 777 mentioned in a sentence won’t false-positive, but the same command in a code block will.
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add agentpostmortem/skill-audit