Threat Model

Build a threat model for a target codebase. 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".

anthropics e04681e 5 files · 49.1 KB Updated

File contents

anthropics/defending-code-reference-harness/tree/main/.claude/skills/threat-model commit e04681ecc9

Frequently asked questions

npx skillmds@latest add anthropics/threat-model