Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By josemlopezv1.0.0MITIn 1 marketplace
Builds a threat model from architecture docs, then maps STRIDE or PASTA threats to controls and writes risk reports. Generates Jest, pytest or Playwright security tests from the findings.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
threat-modeling, stride, pasta, risk-analysis, security-assessment, compliance, owasp, security-tests
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Threat modeling inside your developer tools. No new UI. No external platform.
In Claude Code, run these two commands:
/plugin marketplace add josemlopez/threat-modeling-toolkit
/plugin install threat-modeling-toolkit@josemlopez
That's it. All 9 skills are now available.
Verify it worked:
/tm-status
Try the toolkit on an included test project.
git clone https://github.com/josemlopez/threat-modeling-toolkit.git
cd threat-modeling-toolkit/TEST/simple-app
In Claude Code:
/tm-full --docs ./docs --compliance owasp,soc2
.threatmodel/
├── state/
│ ├── assets.json # 5 assets discovered
│ ├── threats.json # 15 threats identified
│ ├── controls.json # 5 implemented, 7 missing
│ └── gaps.json # 10 security gaps
├── diagrams/
│ └── architecture.mmd # Mermaid diagram
└── reports/
├── risk-report.md # Full findings
└── compliance-report.md # OWASP 52%, SOC2 48%
Let's walk through each skill using the TEST/simple-app project (a React + Express + PostgreSQL task manager with intentional security gaps).
/tm-init --docs ./docs
What it does: Reads your architecture documentation and extracts assets, data flows, trust boundaries, and attack surface.
Output:
Threat Model Initialized
========================
Project: TaskFlow
Framework: STRIDE
Discovered:
- 5 assets (1 client, 1 service, 1 data-store, 1 identity, 1 integration)
- 8 data flows (8 cross trust boundaries)
- 4 trust boundaries
- 8 attack surface entries
Created:
.threatmodel/config.yaml
.threatmodel/state/assets.json
.threatmodel/state/dataflows.json
.threatmodel/diagrams/architecture.mmd
Next Steps:
Run /tm-threats to analyze threats
Files created:
assets.json — React Frontend, Express API, PostgreSQL, JWT Auth, SendGridattack-surface.json — All API endpoints with auth requirementsarchitecture.mmd — Mermaid diagram ready to render/tm-threats
What it does: Applies STRIDE analysis to every asset and data flow. Generates attack trees for critical threats.
Output:
Threat Analysis Complete
========================
Framework: STRIDE
Assets Analyzed: 5
Threats Identified:
Critical: 4
High: 7
Medium: 4
Total: 15
Top Critical Threats:
1. [THREAT-001] Credential Stuffing Attack (Risk: 16)
2. [THREAT-003] BOLA - Task Update (Risk: 16)
3. [THREAT-004] BOLA - Task Delete (Risk: 16)
4. [THREAT-013] Missing MFA (Risk: 16)
Files Updated:
.threatmodel/state/threats.json
.threatmodel/state/attack-trees.json
.threatmodel/state/risk-register.json
Next Steps:
Run /tm-verify to check control implementations
What you'll find in threats.json:
Each threat includes category, target, risk score, MITRE ATT&CK mapping, CWE references, and recommended countermeasures.
/tm-verify
What it does: Searches your codebase to verify security controls actually exist. Provides file:line evidence.
Output:
Control Verification Complete
=============================
Controls Analyzed: 15
Verification Results:
✓ Implemented: 5 (33%)
⚠ Partial: 3 (20%)
✗ Missing: 7 (47%)
Gaps Identified:
Critical: 3
High: 5
Medium: 2
Files Updated:
.threatmodel/state/controls.json
.threatmodel/state/gaps.json
Next Steps:
Run /tm-compliance to map to frameworks
Evidence found:
| Control | Status | Evidence |
|---|---|---|
| Password Hashing | ✓ | src/routes/auth.js:20 - bcrypt cost 10 |
| JWT Authentication | ✓ | src/middleware/auth.js:16 |
| Rate Limiting (login) | ✓ | src/middleware/rateLimiter.js:4-10 |
| BOLA Protection | ✗ | Missing in src/routes/tasks.js:44 |
| MFA | ✗ | Not found |
/tm-compliance --framework owasp,soc2
What it does: Maps your threats and controls to OWASP Top 10, SOC2, PCI-DSS.
Output:
Compliance Mapping Complete
===========================
7-day copy clicks
npx claudepluginhub josemlopez/threat-modeling-toolkit --plugin threat-modeling-toolkitPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.