threat-modeler
Skill0 starsChanged 4 months agoMITView on GitHub
Builds asset- and STRIDE-based threat models before deep security audits. Use for new features touching auth, data, trust boundaries, or HighRisk specs. Emits THREAT_MODEL. Never invents exploits or replaces security-auditor findings.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- jaskirat1616/grok-skillstheir own version, first seen Nov 1, 2026
- alphasafal/production-agent-skillstheir own version, first seen Oct 25, 2026
- JayRHa/agent-skillstheir own version, first seen Oct 15, 2026
- ak-ship/fullstack-agent-skillstheir own version, first seen Oct 8, 2026
- domehahn/skiltheir own version, first seen Jul 28, 2026
- srikanth-manivannan/claude-agent-factorytheir own version, first seen Jun 26, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- Agile-V/agile_v_skills★ 54same name
- jaskirat1616/grok-skills★ 22same name
- JayRHa/agent-skills★ 12same name
- JayRHa/AgentSkills★ 12same name
- alphasafal/production-agent-skills★ 1same name
- domehahn/skil★ 1same name
- srikanth-manivannan/claude-agent-factory★ 1same name
- ak-ship/fullstack-agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- adr-enforcerSkill
- ai-eval-harnessSkill
- api-contract-guardianSkill
- change-impact-analyzerSkill
- code-reviewerSkill
- context-loaderSkill
- defect-analystSkill
- delivery-plannerSkill
- engineering-mentorSkill
- engineering-osSkill
- feature-implementerSkill
- guardrails-configuratorSkill
- incident-commanderSkill
- loop-engineerSkill
- migration-surgeonSkill
- model-routerSkill
- observability-designerSkill
- performance-auditorSkill
- postmortem-writerSkill
- pr-generatorSkill
- quality-gateSkill
- refactoring-advisorSkill
- requirements-grillSkill
- security-auditorSkill
- spec-validatorSkill
- tdd-executorSkill
- test-strategy-designerSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 95
Never invent vulnerabilities in code you did not reason about.
- Distinctive: line 97
Never replace security-auditor with a shallow STRIDE table alone for ship decisions.
- Distinctive: line 98
Never skip assets/boundaries and jump to OWASP laundry lists.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
Produce a structured threat model (assets, trust boundaries, STRIDE abuse cases, prioritized threats) that security-auditor and delivery-planner can consume.
When to Use / When NOT to Use
Use when: new HighRisk features; auth/PII/payments/integrations; before security-auditor on greenfield surfaces; architecture changes that move trust boundaries.
Do not use when: style-only PRs; trivial chores; full vuln hunting (security-auditor); active exploit response without modeling first is OK to skip lite.
Preconditions
Scope (feature/system) and enough CONTEXT_PACK to identify actors, data, and boundaries. If missing, ask before inventing assets.
Inputs / Outputs
Inputs: feature/system scope, CONTEXT_PACK, SPEC_STATUS (preferred), data classification if known.
Outputs: THREAT_MODEL
Upstream / Downstream
Upstream: context-loader, spec-validator, delivery-planner, engineering-os.
Downstream: security-auditor, delivery-planner, adr-enforcer, test-strategy-designer.
Core Principles
- Assets and trust boundaries before checklists.
- STRIDE-light: Spoofing, Tampering, Repudiation, Info disclosure, DoS, Elevation.
- Threats need actor + asset + abuse path.
- Prioritize by Likelihood × Impact; mark assumptions.
- Feed security-auditor — do not duplicate deep code audit.
- Redact secrets; never invent CVEs.
- Unknown boundaries → ProceedWithConditions, not fake completeness.
Process
Lite
Single feature / small API: list assets, 2–4 trust boundaries, top STRIDE threats, hand off.
Full
- Actors — users, admins, services, attackers, insiders.
- Assets — data, secrets, sessions, money, admin actions, reputation.
- Diagram (textual) — components and trust boundaries.
- STRIDE pass per boundary/asset.
- Threat list — ID, description, likelihood, impact, severity, mitigations (existing vs needed).
- Out of scope — explicitly list.
- Decision: Proceed to security-auditor / Revise design / Block if Critical unmitigated design flaw.
Evidence Requirements
Cite real modules/APIs from CONTEXT_PACK. Label assumptions. No invented endpoints.
Stop Conditions / Failure Modes
| Condition | Action |
| Cannot identify assets/boundaries | Ask; Block if HighRisk |
| Design has Critical unmitigated threat | Block until design change or accepted risk |
| Scope is pure UI copy | Refuse; not applicable |
Severity + Confidence
Threat severity uses portfolio standard. Critical = auth bypass / mass data exposure / RCE-class design flaws.
Output Contract
## THREAT_MODEL
Scope: ...
Actors: ...
Assets: ...
Trust boundaries: ...
Threats:
- ID, STRIDE, severity, likelihood, impact, mitigations
Assumptions: ...
Decision: Proceed | ProceedWithConditions | Revise | BlockHandoffs
security-auditor (primary), adr-enforcer (security architecture), test-strategy-designer (negative cases), delivery-planner (mitigation tasks).
Never
- Never invent vulnerabilities in code you did not reason about.
- Never print secrets.
- Never replace security-auditor with a shallow STRIDE table alone for ship decisions.
- Never skip assets/boundaries and jump to OWASP laundry lists.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

