Логотип 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

    Навички ШІ — це звичайний 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. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/AI-ModCon/genesis-skills/tree/main/skills/basesafe-skills/agentic-vulnerabilities-scan
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
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, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇