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/cwenpx skills add 0dayInc/pwn --skill cwegit 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/cwe)<a href="https://agentmods.dev/skills/0dayinc/pwn/cwe"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/cwe.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 | $0.00014 | $0.00761 |
| Opus 5 | $0.00007 | $0.00380 |
| Sonnet 5 | $0.00003 | $0.00152 |
| Haiku 4.5 | $0.00001 | $0.00076 |
Grade A, and why
cwe 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 5d 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 — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CWE exhaustive testing
Use when the ask names a CWE, OWASP/WSTG mapping to CWE, a CVE that
maps to CWE, SAST output with CWE IDs, or "test this app/binary/firmware
against CWE". Pair with sast-code-scans when source exists and
web-application-penetration-testing when the surface is HTTP.
When to use
- "CWE-79", "test for SQLi", "map findings to CWE"
- CVE analysis that must name the underlying weakness
- Coverage pass: every CWE that applies to this stack
Methodologies
| Catalog | Role |
|---|---|
| CWE List 4.20 | weakness IDs, views, categories — source of each reference |
| OWASP WSTG / ASVS | web mapping onto CWE IDs |
| NIST SP 800-115 | technical assessment techniques wrapping these tests |
| ATT&CK / CAPEC | attacker technique; still report the CWE |
How to look up a CWE
Each CWE number is a file in this skill:
references/CWE-<id>.md
Examples: references/CWE-79.md, references/CWE-89.md,
references/CWE-787.md. Open that file and follow its procedure
end-to-end. Do not improvise a one-line "XSS test" when the reference
exists. references/INDEX.md lists every ID.
Exhaustive catalog procedure
- Identify the target class (web, API, native, firmware, cloud, human).
- Pick a CWE view (CWE-1000 Research Concepts, CWE-699 Software Development,
CWE-1194 Hardware Design, CWE-1326 CWE Top 25, etc.) from
references/. - For every applicable member, run
references/CWE-<id>.md. - Record N/A with a reason when the platform does not exist.
- Findings cite the member CWE, not only the view/category.
- Re-read saved evidence before calling the CWE tested.
Tooling
- Always:
skills_recallthis skill, then read the CWE reference file. - HTTP:
PWN::Plugins::BurpSuiteorTransparentBrowser. - Source:
PWN::SAST::Factory.start/pwn_sast. - Authz:
PWN::Bounty::LifecycleAuthzReplay. - Native:
PWN::Plugins::Assembly, gdb via shell. - Hardware:
PWN::Plugins::Serial, BusPirate.
Pitfalls
- Scanner output is inventory, not a test.
- Categories and views are groupings; they are not vulnerabilities.
- One payload on one parameter is not exhaustive for a Base CWE.
- 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/CWE-1.md 1.2 KB
- references/CWE-10.md 1.1 KB
- references/CWE-100.md 1.2 KB
- references/CWE-1000.md 1.6 KB
- references/CWE-1001.md 1.4 KB
- references/CWE-1002.md 1.4 KB
- references/CWE-1003.md 1.8 KB
- references/CWE-1004.md 4.2 KB
- references/CWE-1005.md 1.5 KB
- references/CWE-1006.md 1.7 KB
- references/CWE-1007.md 5.6 KB
- references/CWE-1008.md 1.5 KB
- references/CWE-1009.md 1.5 KB
- references/CWE-101.md 1.2 KB
- references/CWE-1010.md 1.6 KB
- references/CWE-1011.md 1.7 KB
- references/CWE-1012.md 1.6 KB
- references/CWE-1013.md 1.6 KB
- references/CWE-1014.md 1.6 KB
- references/CWE-1015.md 1.6 KB
- references/CWE-1016.md 1.5 KB
- references/CWE-1017.md 1.4 KB
- references/CWE-1018.md 1.5 KB
- references/CWE-1019.md 1.7 KB
- references/CWE-102.md 3.7 KB
- references/CWE-1020.md 1.6 KB
- references/CWE-1021.md 4.2 KB
- references/CWE-1022.md 5.4 KB
- references/CWE-1023.md 4.2 KB
- references/CWE-1024.md 4.2 KB
- references/CWE-1025.md 3.8 KB
- references/CWE-1026.md 1.3 KB
- references/CWE-1027.md 1.3 KB
- references/CWE-1028.md 1.3 KB
- references/CWE-1029.md 1.4 KB
- references/CWE-103.md 4.7 KB
- references/CWE-1030.md 1.1 KB
- references/CWE-1031.md 1.2 KB
- references/CWE-1032.md 1.2 KB
- references/CWE-1033.md 1.1 KB
- references/CWE-1034.md 1.1 KB
- references/CWE-1035.md 1.1 KB
- references/CWE-1036.md 1.2 KB
- references/CWE-1037.md 4.0 KB
- references/CWE-1038.md 3.8 KB
- references/CWE-1039.md 6.4 KB
- references/CWE-104.md 4.5 KB
- references/CWE-1040.md 1.2 KB
- references/CWE-1041.md 4.2 KB
- references/CWE-1042.md 3.6 KB
- references/CWE-1043.md 3.7 KB
- references/CWE-1044.md 3.7 KB
- references/CWE-1045.md 3.6 KB
- references/CWE-1046.md 3.7 KB
- references/CWE-1047.md 3.7 KB
- references/CWE-1048.md 3.9 KB
- references/CWE-1049.md 3.7 KB
- references/CWE-105.md 4.6 KB
- references/CWE-1050.md 3.6 KB
- references/CWE-1051.md 3.4 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.
- 5d ago First seen · 88 lines · 14 tokens per session scan A 4f6c94c95049
cwe is a skill published in the GitHub repository 0dayInc/pwn (78 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 761 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).
ssti
Server-Side Template Injection — fingerprint the engine first (Jinja2 / Twig / Velocity / Freemarker / ERB / Smarty / Mako / Handlebars / Pug), then escalate the engine-specific primitive to RCE or sandbox escape. Use when user input is reflected through a template engine…