Capec

From 0dayInc/pwn · View interactive version

Capec is an AI agent skill from the GitHub repository 0dayInc/pwn. Exhaustively execute every applicable CAPEC attack pattern.

How to use this skill

Skill file

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

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

  1. Identify the target class (web, API, native, firmware, human, network).
  2. Pick a CAPEC view (CAPEC-1000 Mechanisms of Attack, etc.).
  3. For every applicable member, run references/CAPEC-<id>.md.
  4. Record N/A with a reason when prerequisites cannot be met.
  5. Findings cite the member CAPEC and related CWE IDs.
  6. Re-read saved evidence before calling the pattern tested.

Tooling

Pitfalls

Verification

A CAPEC is done when its reference checklist is ticked, related CWE

files were run, and evidence paths were re-read.

Catalog size (CAPEC 3.9)

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.