Threat Model Generator
Generate feature-grounded threat scenarios and executable security test cases with prioritized risk rationale.
Install
npx skills add 1ikeadragon/awesome-offsec-claude --skill threat-model-generatorgit clone --depth 1 https://github.com/1ikeadragon/awesome-offsec-claude.git /tmp/awesome-offsec-claude
mkdir -p ~/.claude/skills
cp -r /tmp/awesome-offsec-claude/threat-model-generator ~/.claude/skills/threat-model-generatorPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Threat Model Generator
## Purpose
Translate architecture and feature behavior into an actionable security test backlog.
## Inputs
- `system_description`
- `feature_inventory`
- `data_flows`
- `roles_permissions`
- `deployment_context` (optional)
## Modeling Workflow
### Phase 1: Asset and Boundary Mapping
1. Identify sensitive assets and trust boundaries.
2. Map data ingress, processing, and egress points.
3. Identify privileged operations and administrative paths.
### Phase 2: Threat Enumeration
1. Enumerate attacker objectives per feature.
2. Enumerate abuse primitives per parameter and state transition.
3. Enumerate systemic risks from shared components.
### Phase 3: Scenario Construction
1. Build concrete scenario with attacker preconditions.
2. Define target operation and exploit mechanism.
3. Define success signal and defensive expectation.
### Phase 4: Prioritization
1. Score by likelihood, impact, and detectability.
2. Tag fast-win vs deep-investigation cases.
3. Highlight assumptions and missing architecture details.
## Mandatory Coverage Areas
- authentication and session handling
- authorization and object access
- injection and parser abuse
- workflow/state manipulation
- file and data handling
- configuration and deployment weaknesses
## Output Contract
```json
{
"threat_scenarios": [],
"test_cases": [],
"risk_priorities": [],
"assumptions": [],
"unknowns": []
}
```
## Constraints
- Ground scenarios in provided architecture.Details
- Skill name
threat-model-generator- Repository
- 1ikeadragon/awesome-offsec-claude
- Path
threat-model-generator/SKILL.md- Repo updated
- 19 March 2026
FAQ
What does the Threat Model Generator skill do?
Generate feature-grounded threat scenarios and executable security test cases with prioritized risk rationale.
How do I install the Threat Model Generator skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add 1ikeadragon/awesome-offsec-claude --skill threat-model-generator. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Threat Model Generator popular?
It lives in 1ikeadragon/awesome-offsec-claude, which has 10 GitHub stars and 6 forks.
Related skills
Advanced Reconnaissance
101ikeadragon/awesome-offsec-claude
Elite methodology for discovering maximum attack surface with minimal detection (5-Layer Approach).
AI LLM Attacks
101ikeadragon/awesome-offsec-claude
Elite AI/LLM exploitation specialist - prompt injection, jailbreaking, agent exploitation, RAG poisoning, multi-modal attacks, model extraction, and system prompt leakage for CTF and red team engagements
API Attack Surface Mapper
101ikeadragon/awesome-offsec-claude
Build a full API inventory, trust-boundary map, and prioritized test matrix from specification and observed behavior.
Web Exploit Prover
101ikeadragon/awesome-offsec-claude
Deepen preliminary web findings into validated exploit impact using independent confirmation and confidence grading.
Finding Verifier
101ikeadragon/awesome-offsec-claude
Verify vulnerability findings using independent replay, confounder control, and strict acceptance criteria.
Agentic Vulnerabilities
9JasonTheDeveloper/owasp-skills
OWASP Top 10 for Agentic Applications (2026) vulnerability knowledge base for identifying, assessing, and remediating security risks in AI agent systems.
Browse the most popular Claude skills, all security skills, or write your own with the skills generator.