Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/0dayinc/pwn/capecnpx skills add 0dayInc/pwn --skill capecgit clone --depth 1 https://github.com/0dayInc/pwnWrote 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/0dayinc/pwn/capec)<a href="https://agentmods.dev/skills/0dayinc/pwn/capec"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/capec.svg" alt="Measured on agentmods" 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.00014 | $0.00687 |
| Opus 5 | $0.00007 | $0.00344 |
| Sonnet 5 | $0.00003 | $0.00137 |
| Haiku 4.5 | $0.00001 | $0.00069 |
Grade A, and why
capec 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.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CAPEC exhaustive testing
Use when the ask names a CAPEC ID, an ATT&CK technique that maps to
CAPEC, or "execute this attack pattern". Pair with the cwe skill:
CAPEC is how the attack is performed; CWE is the weakness you prove.
When to use
- "CAPEC-66", "attack pattern", "how would an attacker XSS this"
- Purple-team / red-team playbooks that need a numbered flow
- Coverage pass: every CAPEC that applies to this stack
Methodologies
| Catalog | Role |
|---|---|
| CAPEC List 3.9 | attack pattern IDs, views, categories |
CWE (bundled cwe skill) |
weakness IDs related to each pattern |
| ATT&CK | adversary technique mapping when present |
| OWASP WSTG | web execution of HTTP-related patterns |
How to look up a CAPEC
Each CAPEC number is a file in this skill:
references/CAPEC-<id>.md
Examples: references/CAPEC-66.md, references/CAPEC-1.md.
Open that file and follow its procedure end-to-end, including every
related CWE via ../cwe/references/CWE-<id>.md. references/INDEX.md
lists every ID.
Exhaustive catalog procedure
- Identify the target class (web, API, native, firmware, human, network).
- Pick a CAPEC view (CAPEC-1000 Mechanisms of Attack, etc.).
- For every applicable member, run
references/CAPEC-<id>.md. - Record N/A with a reason when prerequisites cannot be met.
- Findings cite the member CAPEC and related CWE IDs.
- Re-read saved evidence before calling the pattern tested.
Tooling
- Always:
skills_recallthis skill, then read the CAPEC reference. - Then:
skills_recallcwefor related weakness procedures. - HTTP:
PWN::Plugins::BurpSuiteorTransparentBrowser. - Source:
PWN::SAST::Factory.start/pwn_sast. - Authz:
PWN::Bounty::LifecycleAuthzReplay.
Pitfalls
- Categories and views are groupings; they are not attacks.
- Skipping the related CWE procedure leaves the weakness unproven.
- One blocked payload is not an exhaustive CAPEC test.
- Do not skip deprecated IDs without following the replacement.
What ships with it
60 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.
- references/CAPEC-1.md 7.4 KB
- references/CAPEC-10.md 6.5 KB
- references/CAPEC-100.md 7.0 KB
- references/CAPEC-1000.md 1.7 KB
- references/CAPEC-101.md 6.3 KB
- references/CAPEC-102.md 6.2 KB
- references/CAPEC-103.md 5.8 KB
- references/CAPEC-104.md 6.1 KB
- references/CAPEC-105.md 7.6 KB
- references/CAPEC-106.md 3.2 KB
- references/CAPEC-107.md 5.7 KB
- references/CAPEC-108.md 6.0 KB
- references/CAPEC-109.md 6.1 KB
- references/CAPEC-11.md 5.7 KB
- references/CAPEC-110.md 6.0 KB
- references/CAPEC-111.md 6.7 KB
- references/CAPEC-112.md 6.4 KB
- references/CAPEC-113.md 4.7 KB
- references/CAPEC-114.md 3.6 KB
- references/CAPEC-115.md 3.4 KB
- references/CAPEC-116.md 3.6 KB
- references/CAPEC-117.md 4.2 KB
- references/CAPEC-118.md 2.0 KB
- references/CAPEC-119.md 1.0 KB
- references/CAPEC-12.md 6.0 KB
- references/CAPEC-120.md 7.2 KB
- references/CAPEC-121.md 6.2 KB
- references/CAPEC-122.md 4.4 KB
- references/CAPEC-123.md 4.4 KB
- references/CAPEC-124.md 4.3 KB
- references/CAPEC-125.md 4.4 KB
- references/CAPEC-126.md 8.2 KB
- references/CAPEC-127.md 6.6 KB
- references/CAPEC-128.md 3.9 KB
- references/CAPEC-129.md 3.8 KB
- references/CAPEC-13.md 7.1 KB
- references/CAPEC-130.md 5.1 KB
- references/CAPEC-131.md 3.9 KB
- references/CAPEC-132.md 5.6 KB
- references/CAPEC-133.md 5.4 KB
- references/CAPEC-134.md 3.5 KB
- references/CAPEC-135.md 6.0 KB
- references/CAPEC-136.md 6.0 KB
- references/CAPEC-137.md 4.7 KB
- references/CAPEC-138.md 4.2 KB
- references/CAPEC-139.md 6.5 KB
- references/CAPEC-14.md 6.9 KB
- references/CAPEC-140.md 4.0 KB
- references/CAPEC-141.md 5.6 KB
- references/CAPEC-142.md 6.1 KB
- references/CAPEC-143.md 4.5 KB
- references/CAPEC-144.md 4.4 KB
- references/CAPEC-145.md 4.4 KB
- references/CAPEC-146.md 6.0 KB
- references/CAPEC-147.md 5.3 KB
- references/CAPEC-148.md 4.6 KB
- references/CAPEC-149.md 3.7 KB
- references/CAPEC-15.md 6.9 KB
- references/CAPEC-150.md 5.1 KB
- references/CAPEC-151.md 3.6 KB
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 · 84 lines · 14 tokens per session scan A cc98bf3437bf
capec is a skill published in the GitHub repository 0dayInc/pwn (78 stars, last pushed 2d ago), licensed MIT. It adds 14 tokens to every session and 687 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
analyzing-linux-elf-malware
Analyze malicious Linux ELF binaries — botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure — through static analysis, dynamic tracing, and reverse engineering of x8664 and ARM samples. Use when investigating Linux malware, triaging a suspicious ELF binary…
osmedeus-expert
Expert guide for the Osmedeus security automation workflow engine. Use when: (1) writing or editing YAML workflows (modules and flows), (2) running osmedeus CLI commands (scan, workflow management, installation, server), (3) configuring steps, runners, triggers, or template variables, (4) debugging workflow execution…
supabase
Supabase / PostgREST Row-Level-Security playbook — pull the anon (or leaked servicerole) key out of the frontend JS, map tables from the auto-generated OpenAPI spec, test anonymous RLS READ disclosures (PII/secret leaks), and anonymous RLS WRITE abuse (insert/update/delete — e.g. forging…
graphql
GraphQL pentest playbook — find the endpoint, dump the schema (introspection or field-suggestion fallback), then test for authorization gaps, query batching, alias overload, depth-based DoS, and SQLi/NoSQLi in resolver arguments. Use when the target exposes a /graphql endpoint, GraphiQL, Apollo, or accepts GraphQL…
jwt
JWT attack playbook — algorithm confusion (alg=none, HS/RS confusion), kid path traversal/SQLi, jku/x5u SSRF, weak HS256 cracking, and embedded JWK trickery. Use when the target uses JWTs for auth (header.payload.signature).
recon
External recon playbook for a web target — subdomain enumeration, live-host probing, tech fingerprinting, and a first pass at content discovery. Use when the user gives you a root domain or apex and wants attack surface mapping.