Skip to main content
skill CX Codex

security-threat-model · lyndonkl — Claude Code skill: setup and usage

security-threat-model guides threat modeling across system components using STRIDE methodology, trust boundary maps, and defense-in-depth principles before audits or releases.

no license 109 installs ★ 203 updated 2026-09-01

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add lyndonkl/claude --skill security-threat-model -a claude-code
Open on GitHub

What security-threat-model does

This skill guides security analysis for services processing personal, medical, or payment records. It walks through a structured five-step path: mapping system diagrams, tracing cross-zone data movement, identifying compliance mandates, and cataloging potential exploits.

The workflow evaluates six standard threat classes, including identity spoofing, payload tampering, repudiation, information disclosure, service degradation, and unauthorized privilege escalation. It provides architectural blueprints for database-backed web apps, OAuth handshakes, and microservice meshes.

Evaluation relies on a rubric with a minimum average threshold of 3.5. Without clear definitions of data paths and boundary crossings, the resulting assessment will miss critical entry points.

What it helps with

  • Map data flows and trust boundaries across system components
  • Identify attack vectors using the STRIDE framework
  • Categorize data sensitivity for GDPR, HIPAA, or PCI DSS audits
  • Plan mitigations against privilege escalation and token hijacking

Example prompts for the agent

  • Run a STRIDE threat model on our user authentication and OAuth flow.
  • Map the trust boundaries and data leaks for this file upload handler.
  • Evaluate our microservices network policies against lateral movement.

How to install security-threat-model

1Skills CLI (Vercel)

npx skills add lyndonkl/claude --skill security-threat-model -a claude-code

2Manually: put the files in place

~/.claude/skills/security-threat-model/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/security-threat-model/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about security-threat-model

How to install security-threat-model in Claude Code?

Run npx skills add lyndonkl/claude --skill security-threat-model -a claude-code in your terminal.

What does security-threat-model do?

It evaluates software architecture against security threats, cataloging attack surfaces and recommending defense mechanisms.

Which threat classes does the skill evaluate?

It applies the STRIDE framework to detect spoofing, tampering, repudiation, data leaks, denial of service, and privilege escalation.

Similar skills

All skills for Security →

security-threat-model by other authors comes first.

security-threat-model github.com/openai/skills security-threat-model reads your repository and writes a threat model: trust boundaries, assets, realistic abuse paths and mitigations, saved as a Markdown file. CX Codex +1 ★ 7,191repo stars security-threat-model dotslashsimran The security-threat-model Claude Code skill maps threats from an app’s code and tests the highest risks locally. It activates for requests about STRIDE, app security reviews, or vulnerabilities before launch. CX Codex +1 ★ 541repo stars threat-model-analyst official github threat-model-analyst runs STRIDE-A threat modeling for a repository or system. It can also update an earlier report against the current code or a chosen commit. CX Codex +1 1,500installs threat-model official anthropics Builds a threat model for a target codebase and writes the result to THREAT_MODEL.md. Three modes cover code-only analysis, owner interviews, and both chained together. CX Codex +1 1,300installs threat-model-generator patricio0312rev threat-model-generator builds a STRIDE threat model: lists assets, enumerates threats with risk scores, picks mitigations and works out what risk is left. CX Codex +1 270installs tm7-threat-model official github tm7-threat-model — a GitHub Copilot skill that generates .tm7 files for Microsoft Threat Modeling Tool v7.3+. Triggers when you need to create or modify a STRIDE threat model. CX Codex +1 29installs create_stride_threat_model danielmiessler create_stride_threat_model analyzes system design documents and builds a STRIDE-per-element threat model with trust boundaries, data flows, and prioritized mitigations. GP ChatGPT ★ 44,690repo stars threat-modeling-with-aws-security-agent aws threat-modeling-with-aws-security-agent runs a STRIDE threat model review on spec files and codebases using AWS Security Agent to detect architectural security risks. CX Codex +1 1,700installs

From the same set49

The whole set →
meta-prompt-engineering The meta-prompt-engineering skill turns unclear prompts into structured instructions with a defined role, task steps, constraints, and quality checks. Use it when an agent’s responses vary between runs. CX Codex +1 114installs systems-thinking-leverage systems-thinking-leverage turns a tangled problem into a mapped system with ranked intervention points, built on feedback loops and Meadows' leverage ladder. CX Codex +1 114installs reviews-retros-reflection reviews-retros-reflection structures retrospectives, incident post-mortems, and periodic check-ins. Helps teams identify root causes and turn feedback into SMART action items without blame. CX Codex +1 113installs causal-inference-root-cause causal-inference-root-cause — a skill that pushes an agent through a five-step causal investigation, so the answer to why something happened comes with a mechanism and a tested alternative. CX Codex +1 110installs discovery-interviews-surveys discovery-interviews-surveys is a Claude Code skill for planning user interviews and surveys to test product assumptions and uncover customer problems, before building or when exploring why people switch products. CX Codex +1 109installs project-risk-register project-risk-register — a skill for identifying, assessing, and prioritizing project risks using probability-impact scoring. Assigns owners and mitigation plans, then tracks risk evolution throughout the project lifecycle. CX Codex +1 108installs forecast-premortem forecast-premortem is a Claude Code skill that stress-tests probabilistic forecasts by assuming failure before launch. It reveals overlooked risks and recalibrates overconfident estimates. CX Codex +1 108installs mapping-visualization-scaffolds The mapping-visualization-scaffolds skill turns dependencies, hierarchies, and workflows into structured visual maps. Use it for architecture notes, concept mapping, and relationship analysis. CX Codex +1 108installs

Project sponsors

Companies that keep this analytics open