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"…
Full publisher description
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".
Source details
Read SKILL.md ↗ · Browse skill folder ↗
anthropics/defending-code-reference-harness
.claude/skills/threat-model/SKILL.mdPinned revision d3bea6b5793b5f3d59a75ebe69a58efa88383145
Source checked
Reviewed licence: LicenseRef-Publisher-Modified-Apache-2.0-84b83dc8f7
Repository default at the reviewed revision: Publisher-modified Apache-2.0 text with an explicit use/copy grant. The linked complete publisher terms control; do not substitute an unmodified standard licence. Copyright/patent grant, notice preservation, modified-file notices, trademark exclusions and liability terms apply as written.
Reviewed publisher revision ↗ · 2026-11-22
This skill page is available in English. Publisher instructions stay in their original language.