
Security threat model
Guides the agent through a bounded STRIDE threat model of a system before design or review
Security threat model is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 227
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Security threat model
This skill walks the agent through building a threat model that is scoped to a stated asset and adversary rather than growing without limit. The agent first names what is worth protecting and what losing it would cost, then describes the adversary's capability, position and motivation, and draws the system as trust zones with the flows that cross between them.
The core work happens at each trust-zone crossing, where the agent enumerates spoofing, tampering, repudiation, disclosure, denial and elevation threats and keeps only those the stated adversary can reach. For each retained threat it records the existing control and whether that control was observed working or only assumed, treating assumed controls as gaps. Residual risks are ranked by asset loss and adversary reach, with each one given an explicit decision: mitigate, bound, remove or accept with a rationale and revisit condition.
The skill is written for specialists and expects the agent to reference a separate review-severity-ladder skill for ranking. Assumptions are kept as their own section of the output, and the model is meant to stop at a reporting floor agreed in advance. No scripts or extra files are included.
When your agent uses it
Use before designing or reviewing a system whose assets, adversary, trust zones, and residual risks are not yet explicit: enumerate reachable STRIDE threats at each boundary, distinguish observed controls from assumptions, and terminate at a declared reporting floor.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (2 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/security-threat-model to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/security-threat-model &&
cp -R "$tmp/.agents/skills/security-threat-model" ~/.claude/skills/security-threat-model &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/security-threat-model inside it instead.
Copy the skill folder to ~/.agents/skills/security-threat-model to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/security-threat-model &&
cp -R "$tmp/.agents/skills/security-threat-model" ~/.agents/skills/security-threat-model &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/security-threat-model inside it instead.
Copy the skill folder to ~/.cursor/skills/security-threat-model to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/security-threat-model &&
cp -R "$tmp/.agents/skills/security-threat-model" ~/.cursor/skills/security-threat-model &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/security-threat-model inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/security-threat-modelOr copy the folder to ~/.gemini/skills/security-threat-model yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/security-threat-model:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/security-threat-model &&
cp -R "$tmp/.agents/skills/security-threat-model" ~/.copilot/skills/security-threat-model &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/security-threat-model inside it instead.
Get the folder:
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.gitThen copy claude-vibe-squad/.agents/skills/security-threat-model into your agent's skills folder as security-threat-model. Agents that support SKILL.md read one folder per skill.
What it does
- Asset and adversary framing
- Requires naming the protected asset, its loss cost, and a bounded adversary before any threats are listed.
- STRIDE threat enumeration
- Walks each trust-zone crossing through the six STRIDE categories and filters to reachable threats.
- Observed versus assumed controls
- Marks every existing control as observed working or assumed, and treats assumed controls as gaps.
- Residual risk decisions
- Requires each residual to be mitigated, bounded, removed or accepted with rationale and a revisit condition.
- Explicit assumptions section
- Records assumptions as first-class output so reviewers know what to challenge.
- Bounded termination
- Stops enumeration at a declared reporting floor so the model does not expand indefinitely.
Good for
- Threat model a new service before it is designed
- Review an existing system's trust boundaries for STRIDE threats
- Identify which security controls are assumed rather than verified
- Decide whether to mitigate, bound, remove or accept each residual risk
- Document assumptions for a security design review
Security threat model FAQ
What does the skill need to run?
It has no scripts and no extra files. It refers to a review-severity-ladder skill for ranking residual risk, so that skill is needed for the ranking step.
When does Security threat model trigger?
It is meant for use before designing or reviewing a system whose assets, adversary, trust zones and residual risks are not yet explicit.
What does Security threat model produce?
A threat model covering assets, adversary, trust-zone crossings, threats per crossing, control status, ranked residual risks with decisions, and a list of assumptions.
Does Security threat model stop once every threat is covered?
No. It is designed to terminate at a stated reporting floor, and it advises against chasing airtight controls on a mechanism that keeps producing unmitigable criticals.
How do I install Security threat model in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/security-threat-model to use it in all your projects, or to .claude/skills/security-threat-model in one project.
Does Security threat model run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Security threat model?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Security threat model?
The closest alternatives to Security threat model are Security reasoning, Threat model analyst, Security model, Security threat model and Agent security hardening.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mtarcure/claude-vibe-squad

Writes alt text, timed captions and transcripts for images, footage and audio
- Open source
- 227 GitHub stars
- Design and media

Guides building product agent system prompts with eval-backed boundaries and output
- Open source
- 227 GitHub stars
- AI models and LLM tooling

Guides authorized adversarial testing of autonomous LLM agents for injection and approval
- Open source
- 227 GitHub stars
- Security

Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines
- Open source
- 227 GitHub stars
- Developer tools

Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery
- Open source
- 227 GitHub stars
- Developer tools

Builds and proves multi-step exploit chains from weak bug-bounty findings
- Open source
- 227 GitHub stars
- Security







