security-audit
БесплатноЗапускает вложенные скриптыНе проверенMulti-agent source security audit with a coverage ledger, independently verified findings, and machine-checked records. Use when asked to audit a codebase…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Security Audit
A single pass over a codebase finds the bugs that pass happened to look at and reports them with whatever confidence the reader had that day. This skill replaces that with a process: a lead agent maps the target, writes down exactly what will be examined, sends isolated hunters at each piece, has a different agent try to disprove every claim, and only then writes a report — from records that two validators have checked.
The output is a set of findings in three honest states: confirmed (traced through source and reproduced locally), needs validation (a specific hypothesis blocked on one named fact), and rejected (disproved, kept so it is not raised again).
Scope boundary. This is a defensive, source-first audit of a repository. It
does not send traffic to deployed systems — that needs an engagement plan
from red-team. It does not produce a STRIDE threat model or scan for
secrets as its main job — that is senior-security. It does not query live
cloud accounts — that is cloud-security. It does not list dependency CVEs
— that is dependency-auditor. What lives here is finding, verifying, and
documenting boundary failures in the code itself.
When to use this skill
- A request for a security audit, a vulnerability hunt, or a source-level pen test of a repository or one of its directories
- A release, acquisition, or customer review needs findings that stand up to scrutiny
- A previous audit produced a long list nobody trusts, and the real ones must be separated out
- A security-relevant change needs a scoped review of one subsystem or one diff
- A repeat audit should target what the last one deferred, blocked, or left out
Two modes
- Guidance mode — a security question, a focused review of one file or finding, or triage. Use the relevant reference, answer in the conversation, create no files and no run directory.
- Full audit mode — the user explicitly wants the repository audited or pen-tested, or wants report files. Run all six phases.
If the request could be either, ask which before creating anything.
Clarify First
Before a full audit, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
Breadth tier: decides which attack-class files are in play, and therefore cost and coverage. Offer all three:
Tier Covers Fits coreThe 9 core classes only A first look, a small service, a tight budget focusedCore + web/auth, AI/LLM, supply chain, cloud Most web and API products; the default fullCore + all 10 companions High-stakes targets, native code, multi-tenant platforms, device apps Target and scope: the repository root, and whether to audit all of it, named paths, or a diff between two refs.
Output location: a directory outside the target (default
~/security-audits/<repo>/run-<N>).Profile and budget:
quick,standard, ordeep, and any cap on agent invocations.
Always ask the tier; ask the others only if the request leaves them
open. If the user says "just run it", use focused, standard, whole
repository, default output, no budget cap — and state those choices at the top
of the report.
A tier limits which companions are eligible. A boundary whose companion is
outside the tier is recorded as an out_of_scope unit and named in the report.
It is never silently skipped, and never counted as covered.
Execution safety
These rules hold in both modes and are not negotiable by profile or budget.
- Reading source is always allowed. Running target code — builds, tests,
fixtures, fuzzers, browsers, emulators — is allowed only inside an
OS-enforced sandbox with no external network, an environment built from an
explicit allowlist, a read-only target, writes confined to the agent's
scratch/, and CPU, memory, process, file-size, disk, and time limits. - If any of those controls is unavailable, nothing is executed. The lead is
recorded as
needs_validationwith the missing control as its blocker. - No deployed endpoints, external services, real accounts, real credentials, production data, shared queues, registries, or paid APIs. No dependency installation. No stress or volume testing.
- A local check stops at the first result that settles the question.
- The audit never edits the target repository. It describes fixes.
- Sandbox output is target-controlled. Only
promote_evidence.pymoves a file fromscratch/toevidence/.
The six phases
| # | Phase | Who | Output | Reference |
|---|---|---|---|---|
| 1 | Reconnaissance | 4 read-only scouts, then the lead | architecture.md, seeded coverage-ledger.json |
references/reconnaissance.md |
| 2 | Coverage-led hunting | Hunters per unit, a critic per wave | Updated ledger, candidates | references/hunting.md, attack-class files |
| 3 | Candidate val |
Установить security-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл security-audit?
Multi-agent source security audit with a coverage ledger, independently verified findings, and machine-checked records. Use when asked to audit a codebase, find vulnerabilities, or run a source-level pen test.
Как установить скилл security-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic