mcpField
S
stride-threat-modeling

stride-threat-modeling

github.com/securityskillsSecurity03.1k installsUpdated 9w ago
Repository

About stride-threat-modeling

stride-threat-modeling is a workshop-style skill for structuring system threat modeling. It guides security teams from diagramming trust boundaries through STRIDE enumeration, risk ranking, mitigation tracking, and validation.

Key features

  1. 01System diagram with trust boundaries
  2. 02Element-by-category STRIDE review
  3. 03Impact and likelihood risk ranking
  4. 04Mitigations linked to backlog tickets
  5. 05Architecture-change and incident review

Use cases

  1. 01Modeling a system during a security workshop
  2. 02Prioritizing threats across system components
  3. 03Turning accepted risks into tracked work
  4. 04Updating models after architecture changes

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/securityskills/skills --skill stride-threat-modeling

After installing, type/stride-threat-modelingin Claude Code to confirm it loaded.

Details

From the project README

STRIDE Threat Modeling

Threat model a system in a structured workshop format.

1. Model the System

Draw the diagram: processes, data stores, data flows, external actors, and trust boundaries (dashed lines where privilege/context changes).

  • Every element numbered; technologies noted on processes/stores
  • Include the boring parts: auth flows, async jobs, admin tooling, backups

2. Enumerate with STRIDE

For each element, apply the applicable categories:

CategoryApplies ToQuestion
SpoofingProcesses, actorsCan someone pretend to be this? (auth)
TamperingFlows, storesCan data be modified in transit/at rest? (integrity)
RepudiationProcessesCan actions be denied? (logging/audit)
Information disclosureFlows, storesCan data leak to unauthorized parties? (confidentiality)
Denial of serviceProcesses, flowsCan this be exhausted or crashed? (availability)
Elevation of privilegeProcessesCan rights be gained? (authz)

Work systematically: element × category grid so nothing is skipped.

3. Rank

Score each threat by impact (worst realistic outcome) × likelihood (attack complexity, exposure). Prioritize: unauthenticated remote > authenticated remote > local > physical.

4. Mitigate

For each accepted threat, pick a strategy: reduce (control), transfer, accept (documented, with owner), or avoid (design change). Map mitigations to concrete backlog tickets with acceptance criteria.

5. Validate

  • Review the model when the architecture changes (trigger: new external dependency, new trust boundary, new data class)
  • Retro: incidents found in prod vs threats previously modeled — feed misses back into the method

Output

System diagram with trust boundaries, element × STRIDE threat grid, ranked risk register, and mitigations as tracked tickets.

Comments

Markdown supported