Threat model
Produce a threat model for a feature or system using STRIDE and a data-flow view. Use at design time before building something security-sensitive, or as the framing step of a security audit — to decide what's worth protecting before hunting for bugs.From its SKILL.md
npx -y skills add K95M65/AI_ONBOARD --skill threat-modelAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, 327 tokens by cl100k_base, as published. Nobody here has run it
Threat model
The design-time companion to security-audit: the audit finds bugs; this decides what you're
protecting and from whom, so the audit knows where to look.
When to use
Before building a security-sensitive feature (auth, payments, file handling, multi-tenant data), or as the first step of an audit on an unfamiliar system.
Steps
- Draw the data flow. List external entities (users, third parties), processes (services, handlers), data stores, and the trust boundaries the data crosses. A rough text DFD is enough.
- Identify assets. What's worth stealing or breaking? PII, credentials, money, integrity of records, availability.
- Apply STRIDE to each element and each boundary crossing — see
reference.mdfor the per-category prompts. - Rate & prioritize. For each threat: likelihood × impact using the packaged rubric in
reference.md. Focus on boundary crossings. - Assign mitigations. For each meaningful threat, name the control (authz check, validation, rate limit, encryption) and where it lives. Gaps become audit targets or backlog items.
Output
A short doc: the DFD, the asset list, a threat table (element → STRIDE category → threat → likelihood/impact →
mitigation/owner), and the top risks to address first. See the template in reference.md.
What ships with it: 1 file
2.5 KB alongside SKILL.md
- reference.md2.5 KB