SKILL

security-scan

AgentShield を使用して、Claude Code の設定(.claude/ ディレクトリ)のセキュリティ脆弱性、設定ミス、インジェクションリスクをスキャンします。CLAUDE.md、settings.json、MCP サーバー、フック、エージェント定義をチェックします。

Original · translation did not pass checks

Target: Cloud, operations & security. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original Japanese text

Topics in the source

  • Security Scan Skill
  • 起動タイミング
  • スキャン対象
  • 前提条件
  • 使用方法
  • 基本スキャン
  • 出力フォーマット
  • 自動修正

AgentShield を使用して、Claude Code の設定のセキュリティ問題を監査します。 新しい Claude Code プロジェクトのセットアップ時 .claude/settings.json、CLAUDE.md、または MCP 設定の変更後 設定変更をコミットする前 既存の Claude Code 設定を持つ新しいリポジトリにオンボーディングする際 定期的なセキュリティ衛生チェック | ファイル | チェック内容 | |------|--------| | CLAUDE.md | ハードコードされたシークレット、自動実行命令、プロンプトインジェクションパターン | | settings.json | 過度に寛容な許可リスト、欠落した拒否リスト、危険なバイパスフラグ | | mcp.json | リスクのある MCP サーバー、ハードコードされた環境シークレット、npx サプライチェーンリスク | | hooks/ | 補間によるコマンドインジェクション、データ流出、サイレントエラー抑制 | | agents/.md | 無制限のツールアクセス、プロンプトインジェクション表面、欠落したモデル仕様 | AgentShield がインストールされている必要があります。確認し、必要に応じてインストールします: 現在のプロジェクトの .claude/ ディレクトリに対して実行します: 安全な修正を自動的に適用します(自動修正可能とマークされた修正のみ): これにより以下が実行されます: ハードコードされたシークレットを環境変数参照に置き換え ワイルドカード権限をスコープ付き代替に厳格化 手動のみの提案は変更しない より深い分析のために敵対的な3エージェントパイプラインを実行します: これにより以下が実行されます: 1. 攻撃者(レッドチーム) — 攻撃ベクトルを発見 2. 防御者(ブルーチーム) — 強化を推奨 3. 監査人(最終判定) — 両方の観点を統合 新しい安全な .claude/ 設定をゼロから構築します: 作成されるもの: スコープ付き権限と拒否リストを持つ settings.json セキュリティベストプラクティスを含む CLAUDE.md mcp.json プレースホルダー CI パイプラインに追加します: | グレード | スコア | 意味 | |-------|-------|---------| | A | 90-100 | 安全な設定 | | B | 75-89 | 軽微な問題 | | C | 60-74 | 注意が必要 | | D | 40-59 | 重大なリスク | | F | 0-39 | クリティカルな脆弱性 | 設定ファイル内のハードコードされた API キーまたはトークン 許可リスト内の Bash()(無制限のシェルア

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
affaan-m/ECC
Source file
docs/ja-JP/skills/security-scan/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:49.690Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.