Install any skill in seconds. Free to start, no credit card required.
Get Started Free →tobihagemann/create-threat-model
Analyze a codebase and produce a structured threat model at .turbo/threat-model.md covering assets, trust boundaries, attack surfaces with existing mitigations, attacker stories, and calibrated severity.
Passed 4 of 10 test cases with the skill, and 5 of 10 without it.
2 fixed6 passed either way9 still failing5 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Where should system assumptions (such as OS process isolation and entropy availability) be documented in the threat model?
| Checked | Without skill | With skill |
|---|---|---|
| System assumptions are listed within Section 2 alongside assets and trust boundaries. | Missed | Passed |
The instructions your model reads when the skill loads.
Analyze the current codebase and produce a structured threat model at .turbo/threat-model.md.
The threat model describes the current state of the codebase: what it protects, where trust boundaries are, how it can be attacked, what defenses exist, and how severe each risk is. It is descriptive, not prescriptive. Do not include remediation recommendations.
Optional: $ARGUMENTS may specify scope (directories, modules, or focus areas). When scope is provided, limit reconnaissance and code discovery to the specified directories or modules. Still produce all four sections, but title the overview to reflect the narrowed scope and note what is excluded.
Build a mental model of the system before analyzing threats.
SECURITY.md, audit reports, threat models, or changelog entries mentioning CVEs.Search the codebase for code that handles security-sensitive operations. Do not read every file. Use targeted searches.
Categories to search for:
For each flow found, note the relevant files and trace data from input to processing to output.
Read references/analysis-guide.md for detailed guidance by application type and platform.
test cases passed, vs 5 / 10 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.