Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add thevibeworks/claude-code-docs/plugin install claude-securityWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/thevibeworks/claude-code-docs/attack-surface-analysis)<a href="https://agentmods.dev/skills/thevibeworks/claude-code-docs/attack-surface-analysis"><img src="https://agentmods.dev/badge/skills/thevibeworks/claude-code-docs/attack-surface-analysis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/thevibeworks/claude-code-docs/attack-surface-analysis"><img src="https://agentmods.dev/badge/skills/thevibeworks/claude-code-docs/attack-surface-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00159 | $0.05180 |
| Opus 5.5 | $0.00064 | $0.02072 |
| Sonnet 5.5 | $0.00032 | $0.01036 |
| Haiku 4.5 | $0.00016 | $0.00518 |
Grade A, and why
attack-surface-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to attack-surface-analysis — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Attack Surface Analysis
This skill runs three analyses as one pipeline over a single pinned target:
- Default attack surface reduction (
default-attack-surface-reduction.md): what the default configuration reaches but default functionality does not use — proven with traces, gated with zero change to default behavior, with a regression suite that tests the gates. - Early reachability audit (
early-reachability-audit.md): the sensitive and complex code paths reachable pre-authentication, 0-click, or before the protocol state transition that should gate them, regardless of the configuration required — a ranked audit inventory separating intended early reachability from unintended. - Configuration interaction audit (
config-interaction-audit.md): combinations of two or more runtime options that together implicitly disable or bypass a security-relevant feature, or that the program accepts although the code requires them excluded.
Who does what
The session that loaded this skill runs the pipeline: it asks one question, runs the results script, starts each stage, and is the only one that talks to the user. It does none of a stage's analysis itself. The session reads PIPELINE now, whole, with the Read tool, and follows it from its first line. It starts nothing and applies no patch before that: PIPELINE says how. No agent reads it.
- A stage agent is a
claude-security:attack-surface-stagesubagent that the session starts. A clean agent is aclaude-security:attack-surface-verifiersubagent that a stage agent starts. No other agent type stands in for either. - A subagent cannot reach the user. Where a file says to pause and ask the user, a stage agent records the question as an open item and carries on with the branch that claims less. A gate or fix that hangs on the answer is counted as no gate or fix ("A patch's name" gives its prefix). An item that hangs on it is classified unknown. A candidate that hangs on it is kept out of the findings: its outcome is unproven. Where the stage agent would ask what to cover first, it covers the most exposed first, and names in its report what it left uncovered. Where a file says to tell or hand the user something, it goes in the stage's report.
- Claude Code's Write tool refuses a subagent a Markdown file whose name starts with report, summary, findings or analysis, and tells it to return the text instead. So a stage agent never writes report.md, with any tool: it gives the report, whole, as its final message. The session saves that message, if it is a report, with the Write tool, as report.md in the stage's directory, before it does anything else: word for word, nothing shortened, nothing added. If that save is refused or fails, it shows the user the whole report, unchanged, and says that it is not on disk. It passes nothing of a report on to the next stage.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 154 lines · 159 tokens per session scan A bda08bdfedd6
attack-surface-analysis is a skill published in the GitHub repository thevibeworks/claude-code-docs (183 stars, last pushed today), licensed MIT. It adds 159 tokens to every session and 5,180 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to attack-surface-analysis, differing in 0 lines, and is treated as a copy.
attack-surface-analysis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| attack-surface-analysisthevibeworks/claude-code-docs | Skill | 183 | today | MIT | A | 159 | Claude Code |
| vibing-orchestrateshabaraba/vibing.nvim | Skill | 13 | 4d ago | MIT | A | 76 | Claude Code |
| vibing-chat-searchshabaraba/vibing.nvim | Skill | 13 | 4d ago | MIT | A | 116 | Claude Code |
| token-budget-checkEveryone-Needs-A-Copilot/claude-copilot | Skill | 14 | 22d ago | MIT | A | 55 | Claude Code |
| claude-docs-validatecostiash/claude-code-docs | Skill | 59 | today | none | A | 85 | Claude Code |
| db-migration-safetyluqiang-code/claude-code-skills | Skill | 7 | 6mo ago | MIT | A | 39 | Claude Code |
| react-component-scaffoldluqiang-code/claude-code-skills | Skill | 7 | 6mo ago | MIT | A | 41 | Claude Code |