threat-model

Solid

Scope a security audit BEFORE scanning, to cut false positives: map assets, entry points, trust boundaries and 5-8 domain-specific attack classes into a parseable THREAT_MODEL.md. A threat survives a patch; a vulnerability is only evidence for one. Feeds security-scan.

AI & Automation 22 stars 4 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Threat Model <!-- routing-eval reads this line; it lives in the BODY so the always-on skill LISTING stays inside Claude Code's budget (1% of the context window) — an overflowing listing gets descriptions truncated or dropped, which strips the very keywords a match depends on. --> Trigger phrases: "threat model", "attack surface", "scope the audit", "trust boundary" Scope first, scan second. A security scan with no map produces noise; a threat model tells the scanner (and `security-scan`) **where to look and what matters** — the single biggest lever on false positives. The one idea to keep — the litmus test: **if patching one line of code makes an entry disappear, it was a vulnerability, not a threat.** Threats survive patching (they name *what an attacker wants and the surface they arrive through*); a vulnerability is only **evidence** that raises a threat's likelihood. > **Kit adaptation (local, .claude/):** `security-expert-csk` runs this to scope before `security-scan`. Output > `docs/THREAT_MODEL.md` is internal (§4.3). Stack-agnostic. §4 Prohibitions apply. ## When - Before a first `security-scan` of a system, or when scan output is noisy / unscoped. - After a significant new surface — a new API, a new integration, a new trust boundary. ## Two modes - **interview** — the owner is available: ask the four questions below, one at a time. - **bootstrap** — no owner: derive the model from code + past advisories, then flag what only the owner can confirm. ##...

Details

Author
byerlikaya
Repository
byerlikaya/claude-starter-kit
Created
1 months ago
Last Updated
yesterday
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category