Skip to content
Skills Library
Security · Planning

threat-modeling

/threat-modeling

Threat modeling workflow for software systems: scope, data flow diagrams, STRIDE analysis, risk scoring, and turning mitigations into backlog and tests. Use when designing new features, reviewing architecture changes, handling sensitive data, or hardening auth/payment/multi-tenant flows.

Licence
MIT
Last repository change
18.07.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 18.07.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Threat modeling workflow for software systems: scope, data flow diagrams, STRIDE analysis, risk scoring, and turning mitigations into backlog and tests. Use when designing new features, reviewing architecture changes, handling sensitive data, or hardening auth/payment/multi-tenant flows.

Original author description

Threat modeling workflow for software systems: scope, data flow diagrams, STRIDE analysis, risk scoring, and turning mitigations into backlog and tests. Use when designing new features, reviewing architecture changes, handling sensitive data, or hardening auth/payment/multi-tenant flows.

How it works

  1. Workflow
  2. Example: Threat Register Row
  3. Validation Checkpoint
  4. Outputs (Definition of Done)
  5. Load Next (References)
Original SKILL.md headings · 40 lines, 352 words
SKILL.md preview
---
name: threat-modeling
description: "Threat modeling workflow for software systems: scope, data flow diagrams, STRIDE analysis, risk scoring, and turning mitigations into backlog and tests. Use when designing new features, reviewing architecture changes, handling sensitive data, or hardening auth/payment/multi-tenant flows."
user-invocable: false
disable-model-invocation: true
version: 1.0.0
category: universal
author: Claude MPM Team
license: MIT
progressive_disclosure:
  entry_point:
    summary: "Run a lightweight threat modeling workshop (STRIDE) and turn risks into concrete mitigations, tests, and PR checks"
    when_to_use: "When designing new features, reviewing architecture changes, handling sensitive data, or hardening auth/payment/multi-tenant flows"
    quick_start: "1. Define scope/assets 2. Draw data flows + trust boundaries 3. STRIDE per element 4. Score + prioritize 5. Track mitigations + tests"
  token_estimate:
    entry: 150
    full: 8000
context_limit: 900
tags:
  - security
  - threat-modeling
  - stride
  - architecture
  - risk
requires_tools: []
---

# Threat Modeling (STRIDE)

## Workflow

1. **Scope** — Identify the system boundary, assets (PII, credentials, payments), and availability requirements (SLO/SLA).
2. **Data Flow Diagram** — Map actors, entry points, data stores, and external dependencies. Mark trust boundaries (public internet → edge → internal → database → third-party).
3. **STRIDE per element** — For each element in the diagram, walk through all six STRIDE categories (Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege) and record threats.
4. **Risk score** — Rate each threat by Impact (Low/Med/High) and Likelihood (Low/Med/High). Prioritize High-impact + Med/High-likelihood items first.
5. **Mitigate** — Convert each prioritized threat into engineering tasks, verification tasks (tests, alerts), and operational controls (runbooks, access reviews).
6. **Tickets and tests** — Create backlog items for mitigations and add abuse-case tests for critical flows. Add PR checklist items for ongoing verification.

## Example: Threat Register Row

| Element | STRIDE | Threat | Impact | Likelihood | Mitigation | Owner | Status |
|---------|--------|--------|--------|------------|------------|-------|--------|
| API Gateway | Spoofing | Stolen JWT reuse after session revocation | High | Med | Short-lived tokens (15 min TTL), refresh rotation, revocation list check on each request | Security | Open |

This single row drives three artifacts: an engineering ticket (implement revocation-list middleware), a test (verify revoked token returns 401 within TTL window), and a PR checklist item (authz checks for new endpoints).

## Validation Checkpoint

Before finalizing, verify completeness:

- [ ] Every element in the data flow diagram has at least one STRIDE entry
- [ ] All High-impact threats have an assigned owner and mitigation
- [ ] Each mitigation maps to a backlog ticket or test case
- [ ] Threat model doc includes assumptions and scope boundaries
- [ ] PR checklist updated with new security requirements

## Outputs (Definition of Done)

Produce a data flow diagram, a threat register, and a mitigation plan that becomes tickets and tests.

## Load Next (References)

- `references/stride-workshop.md` — step-by-step workshop agenda + DFD guidance
- `references/common-threats-and-mitigations.md` — threat catalog with mitigations
- `references/templates.md` — copy/paste templates for docs and tickets
Files in this package (5)
  • SKILL.md 3 KB
  • metadata.json 1 KB
  • references/common-threats-and-mitigations.md 2 KB
  • references/stride-workshop.md 2 KB
  • references/templates.md 1 KB

Versions

RepositoryScoreLicence
This page · bobmatnyc/claude-mpm-skills100MIT
rjmurillo/ai-agents100MIT
FrancoStino/opencode-skills-collection100MIT
event4u-app/agent-config100MIT
sickn33/agentic-awesome-skills100MIT
nimadorostkar/Claude-Skills-collection100MIT
arozumenko/sdlc-skills100MIT
thisiskurubaran/DevSecOps100MIT
reddygopalkrishna/developer-agent-skills100MIT

Database snapshot: 13.11.2026 · package version 5db9f540042e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 96threat-model
    Use to conduct STRIDE threat modeling for a system or feature design.
  • 90threat-model
    Build a STRIDE threat model for a system, feature or architecture change, with data-flow diagram, ranked threats and concrete mitigations. Use when designing or reviewing anything that handles untrusted input, credentials, personal data or crosses a trust boundary.
  • 100threat-model
    Structured threat model for security-relevant features (auth, payments, file upload, multi-tenant, LLM/AI). Enumerate assets, STRIDE threats, mitigations. Do NOT use to write code (use security-and-hardening).
  • 100threat-modeling-stride
    Use when a system needs a threat model — before development from its planning documents (architecture, data model, API, roles, security design) or on an existing codebase — producing a STRIDE-per-element analysis, data-flow diagrams with trust boundaries, a rated and owned…
  • 90stride
    Run a STRIDE threat model over a system: build/ingest a DFD, then enumerate Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, and Elevation of privilege threats per element and trust-boundary crossing, with mitigations. Use when threat modeling an…
  • 90security-threat-modeling
    Runs a STRIDE-style threat model on a component — assets, entry points, trust boundaries, threats, mitigations — with each threat anchored to an owner and a ticket. Output: `threat-model.md` with the full asset / boundary / threat table. Pulled by the `security` specialist.…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.