Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agentic-security

БесплатноБез исполняемых скриптовНе проверен

Use when auditing the security of an AI-coding-agent setup in a repository: Claude Code project settings and hooks, plugin manifests and hooks.json, .mcp.json…

Fusengineот Fusengine★ 36 звёзд на GitHub

Об этом скилле

This skill audits the attack surface that an AI coding agent adds to a repository: files that run code before or around the workspace trust dialog, hooks shipped by plugins, MCP servers and their credentials, prompt-injection paths into the agent's context, permission rules and bypass modes, secrets stored in agent configuration and memory, and CI jobs that run an agent on untrusted input.

It reports; it never fixes the audited project and never changes the user's settings. Every finding carries its evidence (file:line), passes a read-only refutation pass, and cites the standard entry it maps to, as read on the source named in the references.

Agentic Security Skill

Overview

Project configuration for an agent is executable: a .claude/settings.json hook, an .mcp.json server command or an env override runs on the developer's machine. Check Point Research showed this end to end (CVE-2025-59536, CVE-2026-21852). This skill turns the vendor documentation into checklists an auditor can run read-only.

Audit Areas

Area What is checked Reference
Trust boundary Hooks, env, helpers, MCP auto-approval and base-URL overrides that act before trust trust-boundary.md
Hook supply chain Plugin hooks.json, plugin.json hooks / mcpServers / userConfig hooks-plugins.md
MCP trust Every server source, publisher, pinning, env and tokens, tool descriptions mcp-trust.md
Prompt injection Untrusted content reaching the agent, instruction files that obey observed content prompt-injection.md
Permissions Broad allow rules, deny-rule limits, bypass and auto modes, saved approvals permissions.md
Secrets Keys and tokens in settings, .mcp.json, hooks, memory and lesson files, .env secrets.md
CI agents AI review or agent actions running on untrusted pull requests ci-agents.md

Workflow

  1. Inventory the agent surface of the target path: .claude/, .mcp.json, .claude-plugin/, hooks/, skills/, agents/, CLAUDE.md, rule and memory files, .github/workflows/, and the equivalent folders of other agent tools present in the repository.
  2. Run the checklist of each area in scope (audit-checklist.md).
  3. Score each candidate: severity, confidence 1-10, CWE and standard entry from standards-map.md.
  4. Verify: run the refutation pass in verification.md on every candidate. Confidence 8 or more becomes a finding; lower goes to "needs manual review".
  5. Report with audit-report.md to docs/security/YYYY-MM-DD-<scope>.md inside the audited repository.

Critical Rules

Rule Why
Report only, never fix or change settings The audit must not alter the trust state it measures
Never print a secret value Report file:line and the secret type only
Read ~/.claude, ~/.codex and similar only when the owner asks, and read-only User-level config is outside the audited repository
Cite every fact from the reference files Vendor behavior changes by version; no claim from memory
A static read never proves exploitability See verification.md

References

Полный SKILL.md на GitHub

Установить agentic-security в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/ci-agents.mdreferences/hooks-plugins.mdreferences/mcp-trust.mdreferences/permissions.mdreferences/prompt-injection.mdreferences/secrets.mdreferences/standards-map.mdreferences/templates/audit-checklist.mdreferences/templates/audit-report.mdreferences/trust-boundary.mdreferences/verification.md

FAQ

Что делает скилл agentic-security?

Use when auditing the security of an AI-coding-agent setup in a repository: Claude Code project settings and hooks, plugin manifests and hooks.json, .mcp.json and MCP servers, skills, agents and rule files, permission rules, secrets in agent configuration, and CI workflows that run an AI agent on pull requests. Do NOT use for application code vulnerabilities (use security-scan), dependency CVEs (use dependency-audit or cve-research), auth flows (use auth-audit) or HTTP headers (use security-headers).

Как установить скилл agentic-security?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agentic-security запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить agentic-security с