threat-modeling

Create a Data Flow Diagram and analyze threats with STRIDE for design-time security reviews.

345|47|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/briiirussell/cybersecurity-skills --skill threat-modeling-briiirussell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threat-modeling
Source: https://github.com/briiirussell/cybersecurity-skills/tree/main/skills/threat-modeling
Command: npx skills add https://github.com/briiirussell/cybersecurity-skills --skill threat-modeling-briiirussell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you prevent security blind spots by turning a new feature or architecture into a structured threat model that teams can review and implement with confidence.

Core Features & Use Cases

  • Design-time threat modeling: Produce a Data Flow Diagram and analyze threats for proposed systems before implementation.
  • STRIDE-based coverage: Map spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege to each element of the design.
  • Mitigations and validation: Define concrete responses (mitigate/transfer/accept/avoid) and ensure follow-through via owners, tests, and adversarial review.

Quick Start

Ask the AI to run threat modeling for your feature design using STRIDE and a DFD based on your architecture notes.

Frequently Asked Questions about threat-modeling

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

FAQPage Schema
What is threat modeling and when should I apply it to a new feature?

Threat modeling is a design-time security review that creates a Data Flow Diagram and analyzes threats using STRIDE before implementation. You should apply it to new features involving auth flows, payments, multi-tenant data, third-party integrations, or significant refactors.

How do I create a threat model using STRIDE analysis?

To create a threat model using STRIDE, map spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege threats to each element of your Data Flow Diagram, then define concrete mitigations for each identified threat.

Does threat modeling work for reviewing third-party integrations and multi-tenant data architectures?

Threat modeling works for third-party integrations and multi-tenant data architectures by generating a Data Flow Diagram that traces data movement, then applying STRIDE analysis per DFD element to identify security blind spots before code exists.

What's the best way to document threat mitigations during an architectural review?

The best way to document threat mitigations is to assign concrete responses like mitigate, transfer, accept, or avoid, then bind each mitigation to specific validation steps including assigned owners, tests, and adversarial reviews within a living document.

How do I ensure threat modeling mitigations are actually implemented after the design review?

To ensure threat modeling mitigations are implemented, produce a living, reviewable document that ties each mitigation to explicit validation steps with designated owners, tests, and adversarial review follow-through before the system is built.

When should I not use design-time threat modeling for a system architecture?

Design-time threat modeling should not be used for minor changes that do not involve auth flows, payments, multi-tenant data, third-party integrations, or significant refactors, as it requires creating a comprehensive Data Flow Diagram and STRIDE analysis per element.