Cwe

From 0dayInc/pwn · View interactive version

Cwe is an AI agent skill from the GitHub repository 0dayInc/pwn. Exhaustively test a target against every applicable CWE.

How to use this skill

Skill file

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

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

  1. Identify the target class (web, API, native, firmware, cloud, human).
  2. Pick a CWE view (CWE-1000 Research Concepts, CWE-699 Software Development,

CWE-1194 Hardware Design, CWE-1326 CWE Top 25, etc.) from references/.

  1. For every applicable member, run references/CWE-<id>.md.
  2. Record N/A with a reason when the platform does not exist.
  3. Findings cite the member CWE, not only the view/category.
  4. Re-read saved evidence before calling the CWE tested.

Tooling

Pitfalls

Verification

A CWE is done when its reference checklist is ticked and evidence

paths were re-read. The engagement is CWE-complete when every

applicable ID in the chosen view is tested or N/A.

Catalog size (CWE 4.20)

Full table: references/INDEX.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.