threat-model-stride

Perform STRIDE-based threat model analysis on system architectures with Mermaid data-flow diagrams.

9|3|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/Sir-chawakorn/sanook-cli --skill threat-model-stride
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threat-model-stride
Source: https://github.com/Sir-chawakorn/sanook-cli/tree/main/skills/threat-model-stride
Command: npx skills add https://github.com/Sir-chawakorn/sanook-cli --skill threat-model-stride

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the critical need to identify and mitigate security vulnerabilities at the design phase, before a single line of code is written, preventing costly architectural flaws.

Core Features & Use Cases

  • STRIDE Analysis: Systematically decomposes system architecture into data-flow diagrams and trust boundaries to identify threats.
  • Risk Assessment: Provides a structured 3x3 matrix to rate threats by likelihood and impact, ensuring focus on high-risk areas.
  • Use Case: Use this when designing a new multi-tenant service or public API to map out trust boundaries and ensure that potential attack vectors like IDOR or privilege escalation are addressed before implementation.

Quick Start

Use the threat-model-stride skill to generate a STRIDE threat model for the proposed payment gateway architecture.

Frequently Asked Questions about threat-model-stride

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

FAQPage Schema
How do I perform STRIDE threat modeling on a new system architecture?

STRIDE threat modeling systematically decomposes system architecture into Mermaid data-flow diagrams and trust boundaries to identify spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege risks before implementation.

When should I conduct design-level security threat modeling for a new API?

Security threat modeling applies to the design phase of new services, APIs, and multi-tenant boundaries to map trust boundaries and address attack vectors like IDOR or privilege escalation before writing any code.

Can I use STRIDE analysis to assess multi-tenant trust boundaries and prevent IDOR?

Yes, STRIDE analysis systematically evaluates multi-tenant trust boundaries to identify and mitigate potential attack vectors like IDOR and privilege escalation, ensuring a robust security posture during service design.

How do I rate security risks identified during STRIDE threat modeling?

Security risks identified during STRIDE threat modeling are rated using a structured 3x3 matrix that evaluates threats by likelihood and impact, ensuring mitigation efforts focus on high-risk areas.

Does STRIDE threat modeling require creating data-flow diagrams for the proposed architecture?

Yes, STRIDE threat modeling requires the creation of Mermaid-based data-flow diagrams to visually decompose the system architecture and systematically evaluate trust boundaries against potential security threats.

What is the best way to identify elevation of privilege threats in a payment gateway architecture?

Applying STRIDE threat modeling to a payment gateway architecture systematically identifies elevation of privilege threats by mapping data flows and evaluating trust boundaries against the six STRIDE categories.