threat-model

Generate a STRIDE threat catalogue from a DFD snapshot and export Threat Dragon v2 JSON.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/AAbdulghany/fms --skill threat-model-aabdulghany
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threat-model
Source: https://github.com/AAbdulghany/fms/tree/main/.claude/skills/threat-model
Command: npx skills add https://github.com/AAbdulghany/fms --skill threat-model-aabdulghany

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yaml.

What problem does it solve?

Threat modelling at project launch is hard without a structured approach to identify and mitigate security threats early.

Core Features & Use Cases

  • STRIDE-based threat catalog generation from a DFD snapshot; attaches threats to actors, processes, stores, and flows; outputs a Threat Dragon-compatible JSON for integration with security tooling.
  • Works with a DFD at projects/.../architecture/dfd.md and can generate a prioritized risk report with mitigations.
  • Use case: Run threat-model after /dfd to produce a self-contained audit artefact for PR reviews.

Quick Start

Run /dfd to generate the DFD snapshot, then run /threat-model to produce a threat catalogue and export Threat Dragon JSON.

Frequently Asked Questions about threat-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a STRIDE threat model from a DFD?

To generate a STRIDE threat model from a DFD, run the threat-model command after creating your DFD snapshot at projects/.../architecture/dfd.md. It analyzes entry points, data stores, trust boundaries, and flows to produce a structured threat catalogue with mitigations.

What is STRIDE threat modelling and when do I need it?

STRIDE threat modelling is a structured approach to identify and mitigate security threats early at project launch. You need it when you lack a structured method to analyze threats across entry points, data stores, trust boundaries, and data flows.

Does threat modelling work with Threat Dragon v2 JSON exports?

Yes, threat modelling supports Threat Dragon v2 JSON exports for integration with security tooling. It attaches identified threats to parent components like actors and processes, formatting the output specifically for Threat Dragon compatibility.

How do I prepare a DFD snapshot for a security audit?

To prepare a DFD snapshot for a security audit, generate your Data Flow Diagram at the projects/.../architecture/dfd.md path. Once this DFD snapshot exists, you can run threat-model to produce a self-contained audit artefact for PR reviews.

What's the best way to prioritize security risks from a data flow diagram?

The best way to prioritize security risks from a data flow diagram is to run threat-model after generating your DFD. It produces a prioritized risk report with mitigations by analyzing trust boundaries, data stores, and flows using the STRIDE methodology.