Threat Model

[1/4 defending-code] Build a threat model for a target codebase. Optional first step of the find-and-fix loop (/threat-model -> /vuln-scan -> /triage -> /patch); its THREAT_MODEL.md scopes and severity-calibrates every later step, but /vuln-scan runs without it. Three modes: "interview" walks an application owner through the four-question framework and produces a threat model from their answers; "bootstrap" derives a threat model from the code plus past vulnerabilities (CVEs, git history, pentest reports) when no owner is available; "bootstrap-then-interview" chains the two when both owner and codebase are present. All write THREAT_MODEL.md in a shared schema. Use when asked to "threat model", "build a threat model", "map the attack surface", or "what should we be worried about in this codebase".

air-gapped f65f2e3 9 files · 76.4 KB Updated

File contents

air-gapped/skills/tree/main/.claude/skills/threat-model commit f65f2e3dc2

Frequently asked questions

npx skillmds@latest add air-gapped/threat-model