Agentic Vulnerabilities Scanのロゴ

Agentic Vulnerabilities Scan

組織
AI-ModCon
agentic-vulnerabilities-scan

Run an authorized, sandboxed Promptfoo red-team scan of a prompt-driven AI agent, chatbot, autonomous system, or tool-calling architecture when source access and a live target are available. Verify the target, isolate scan artifacts, obtain informed consent, then configure and execute only a bounded scan.

概要

公開者AI-ModCon
リポジトリgenesis-skills
スキル名agentic-vulnerabilities-scan
スター
37
フォーク
16
同梱ファイル
14
ライセンスBSD-2-Clause
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 14個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    AI-ModConがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAgentic Vulnerabilities ScanをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AI-ModCon/genesis-skills/tree/main/skills/basesafe-skills/agentic-vulnerabilities-scan
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AI-ModCon/genesis-skills.git /tmp/genesis-skills
mkdir -p .claude/skills
cp -r /tmp/genesis-skills/skills/basesafe-skills/agentic-vulnerabilities-scan .claude/skills/agentic-vulnerabilities-scan
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAgentic Vulnerabilities Scanを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAgentic Vulnerabilities Scanを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Agentic Vulnerabilities Scanは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Use this workflow only for a target the user is authorized to test. Run it in a secure sandbox that is already configured with the target's approved environment variables. Do not use it to test third-party systems without authorization.

All generated artifacts are kept in ${AGENTIC_SCAN_DIR:-.agentic-vulnerabilities-scan} beneath the target repository. Do not write scan artifacts to the repository root. The directory contains configuration, target findings, generated tests, provider wrappers, and results; treat it as sensitive.

Preconditions and consent

Before probing the target or generating attacks, tell the user:

  • the exact target and the proposed scan workspace;
  • that the scan sends adversarial prompts to the target and may trigger real side effects;
  • the configured Promptfoo host and that this skill always uses remote Promptfoo red-team generation;
  • that target findings and any environment variables explicitly named in AGENTIC_SCAN_PROVIDER_ENV are written to the sensitive scan workspace;
  • the selected plugins, strategies, test count, one-at-a-time concurrency, five-minute per-test timeout, and 30-minute total evaluation cap.

Ask for explicit confirmation before steps 4 and 5 unless the headless-policy procedure below succeeds. Offer a dry review of the configuration instead of execution. Remote Promptfoo red-team generation is required; abort if PROMPTFOO_DISABLE_REDTEAM_REMOTE_GENERATION=true.

Headless policy

For headless execution, first establish and review the provider and configuration interactively. Then provide a read-only JSON policy through AGENTIC_SCAN_POLICY and set AGENTIC_SCAN_HEADLESS=true. The harness supplies target and Promptfoo hosts through controlled runtime environment variables; the policy approves plugin and strategy IDs and all scan limits. Remote generation remains required. Use assets/headless-policy.example.json as the schema and starting point; policies must never contain credentials or host configuration.

Run every phase with python ${CLAUDE_SKILL_DIR}/scripts/run_scan_phase.py generate or evaluate from the target repository. When AGENTIC_SCAN_HEADLESS=true, this runner automatically invokes the policy wrapper immediately before starting Promptfoo and fails closed when the environment or promptfooconfig.yaml exceeds the policy. Do not use a non-interactive harness flag as a substitute for this validation.

Workflow

  1. Verify the target. From the target repository, run python ${CLAUDE_SKILL_DIR}/scripts/verify_target.py. It resolves providers in this order: existing root promptfooconfig.yaml, root provider.py, OpenAI-compatible API, CLI, then a custom-provider template. It imports selected root files into the managed scan workspace. Abort if the target is unreachable or a provider cannot faithfully wrap the actual target.

  2. Fingerprint the target. Inspect the source to understand the target's architecture, data, tools, and attack surface. Copy ${CLAUDE_SKILL_DIR}/assets/findings.md to ${AGENTIC_SCAN_DIR:-.agentic-vulnerabilities-scan}/findings.md, complete it, then run python ${CLAUDE_SKILL_DIR}/scripts/report_findings_to_promptfoo.py from the target repository.

  3. Bound the configuration. Edit ${AGENTIC_SCAN_DIR:-.agentic-vulnerabilities-scan}/promptfooconfig.yaml. Retain only relevant plugins and strategies. Interactive preflight defaults to two plugins, two strategies, two tests per plugin, and four total tests; override a limit only after the user explicitly approves the displayed scope by setting the corresponding INTERACTIVE_SCAN_MAX_* variable. The phase runner prints the effective bounds and blocks both generation and evaluation when any limit is exceeded.

  4. Generate attacks after consent or policy validation. Obtain confirmation unless AGENTIC_SCAN_HEADLESS=true, then run python ${CLAUDE_SKILL_DIR}/scripts/run_scan_phase.py generate from the target repository. Monitor the command process directly; do not use sentinel files. Abort on errors.

  5. Evaluate after consent or policy validation. Obtain confirmation unless AGENTIC_SCAN_HEADLESS=true, then run python ${CLAUDE_SKILL_DIR}/scripts/run_scan_phase.py evaluate from the target repository. Check initial output to confirm the target is responding and monitor the process. The runner treats failed red-team assertions as findings and returns zero after a completed evaluation; inspect results.json and report those failures. Abort on operational errors.

  6. Analyze and clean up. Analyze results.json together with findings.md, report reproducible exploit evidence and mitigations, and tell the user where sensitive artifacts remain. On request, remove only the managed workspace with python ${CLAUDE_SKILL_DIR}/scripts/cleanup_scan_workspace.py from the target repository.

Provider guidance

Custom Python and CLI providers execute the real target in the sandbox. Do not create a simulator. Only variables named in the comma-separated AGENTIC_SCAN_PROVIDER_ENV are passed to the target, together with AGENTIC_SCAN_TARGET_DIR and PATH; ensure the list contains exactly the target variables the provider needs. Review the generated provider's target-specific import, response parsing, and concurrency behavior, then rerun verification until its smoke test passes.

External resources

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Agentic Vulnerabilities Scan」では何ができますか?

Run an authorized, sandboxed Promptfoo red-team scan of a prompt-driven AI agent, chatbot, autonomous system, or tool-calling architecture when source access and a live target are available. Verify the target, isolate scan artifacts, obtain informed consent, then configure and execute only a bounded scan.

TypingMindでAgentic Vulnerabilities Scanを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Agentic Vulnerabilities Scanはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAgentic Vulnerabilities Scanをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AI-ModCon/genesis-skills/tree/main/skills/basesafe-skills/agentic-vulnerabilities-scanを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Agentic Vulnerabilities Scanを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Agentic Vulnerabilities Scanは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAgentic Vulnerabilities Scanを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Agentic Vulnerabilities Scan」は無料ですか?

はい。AI-ModConがGitHubでBSD-2-Clauseライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇