Логотип 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, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 14

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: AI-ModCon. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Agentic Vulnerabilities Scan в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/AI-ModCon/genesis-skills/tree/main/skills/basesafe-skills/agentic-vulnerabilities-scan
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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

Включите навык Agentic Vulnerabilities Scan в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Agentic Vulnerabilities Scan, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Agentic Vulnerabilities Scan не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл 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

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Agentic Vulnerabilities Scan в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Agentic Vulnerabilities Scan — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Agentic Vulnerabilities Scan в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/AI-ModCon/genesis-skills/tree/main/skills/basesafe-skills/agentic-vulnerabilities-scan. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Agentic Vulnerabilities Scan?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Agentic Vulnerabilities Scan?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Agentic Vulnerabilities Scan: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Agentic Vulnerabilities Scan?

Да. Навык опубликован на GitHub автором AI-ModCon по лицензии BSD-2-Clause. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇