AIスキル導入前のリスク点検
AI Skill Safety Audit
Python製の読み取り専用スキャナーで、Python・Node.js・ShellScript・cmd・PowerShellとスキルの指示文に潜む要確認事項を点検します。
できること
AIスキルのフォルダーまたはZIPを読み取り、削除操作、外部コマンド、動的実行、ダウンロードした内容の実行、難読化、認証情報へのアクセス、送信先候補、常駐設定、権限変更などの手掛かりを探します。Python・Node.js・ShellScript・cmd・PowerShellのコードに加え、SKILL.mdやREADMEの指示の上書き、行動の隠蔽、秘密情報の送信を求める文も点検します。ファイルと行番号、重大度、確信度、理由、手動確認の指針をJSONまたはMarkdownで出力します。
使い方
導入前のスキルを実行せず、同梱の手順に沿ってスキャナーへローカルのフォルダーまたはZIPを指定します。出力先は標準出力で、保存する場合は入力の外側を選びます。結果と手動確認チェックリストを照らし合わせて、必要な権限と未解決事項を確認してください。
必要な環境
Python 3.10以上と標準ライブラリのみを使います。スキャナーはPythonで動作し、Python・Node.js・ShellScript・cmd・PowerShellの5種類の対象を読み取ります。Node.js、シェル、cmd、PowerShellの実行環境や外部パッケージの追加は不要です。
注意点
対象コードの実行や読み込みによる起動、依存関係のインストール、通信、ZIPの展開はしません。秘密情報を出さないためソース行の抜粋は全体を伏せます。暗号化ZIP、リンク、危険なパス、容量超過、入れ子の書庫などは自動点検を拒否して手動確認を促します。文字列パターンによる点検なので誤検出と見逃しがあります。通信先の記載だけで情報流出とは断定せず、指摘なしでも安全を保証しません。無料・MITライセンスです。
English description
Review Python, Node.js, ShellScript, cmd, PowerShell, and skill instructions with an offline Python scanner. Get masked evidence and manual-review guidance, not a safety certificate.
What it does
Inspect a local skill folder or ZIP for potential destructive operations, process execution, dynamic code, download-to-execution pipelines, encoded content, credential access, network endpoints, persistence, privilege changes, and package lifecycle hooks. A Python scanner covers Python, Node.js, ShellScript, cmd, and PowerShell source plus hostile SKILL.md and README instructions. Findings include masked path:line evidence, severity, confidence, explanations, and manual-review guidance in JSON or Markdown.
How to use
Keep the candidate disabled. Run the included scanner against a stable local folder or ZIP, then use the rule reference and manual checklist to review findings. Reports print to stdout; save them outside the input if needed. Included offline tests use inert strings and sentinel checks rather than running candidate payloads.
Requirements
Python 3.10 or later and its standard library only. The Python scanner reads all five target types: Python, Node.js, ShellScript, cmd, and PowerShell. No Node.js, shell, cmd, or PowerShell runtime or dependency installation is required.
Caveats
The scanner never executes or imports candidate code, installs packages, makes network requests, or extracts archives. Source-line snippets are entirely withheld to avoid credential disclosure. Links, unsafe paths, encrypted ZIPs, nested archives, suspicious compression, and budget violations trigger manual review or refusal. Lexical patterns have false positives and false negatives; no dataflow or malicious-intent inference is made. A network endpoint is not proof of exfiltration, and no matched indicators is not a safety certification. Free under the MIT license.
インストール方法
- ダウンロードしたZIPを展開します(中に
ai-skill-safety-audit/フォルダとSKILL.mdがあります)。 - フォルダごと、使うエージェントのスキル置き場にコピーします。
- Claude:
~/.claude/skills/(プロジェクト単位なら.claude/skills/) - Hermes Agent:
~/.hermes/skills/ - Codex:
~/.agents/skills//Cursor:~/.cursor/skills/ - Claude アプリ(claude.ai):「カスタマイズ → スキル」からZIPをアップロード
- Claude:
- エージェントを再起動し、スキル一覧に表示されることを確認します。
出品者
出品スキル 44 件