threat-model

Generate structured STRIDE-based threat models from design specifications.

4|Updated Jul 20, 2026
One-click install
npx skills add https://github.com/highflame-ai/ai-factory --skill threat-model-highflame-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threat-model
Source: https://github.com/highflame-ai/ai-factory/tree/main/skills/threat-model
Command: npx skills add https://github.com/highflame-ai/ai-factory --skill threat-model-highflame-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the critical gap between design and implementation by identifying security vulnerabilities before a single line of code is written, preventing costly architectural rework.

Core Features & Use Cases

  • STRIDE Analysis: Systematically evaluates assets, actors, and trust boundaries against Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege.
  • Artifact Generation: Produces a structured, reviewable threat model document including data flow diagrams and a prioritized mitigation punch list.
  • Use Case: Before implementing a new authentication flow or external API integration, use this skill to generate a security design review that ensures all data crossings are hardened against common attack vectors.

Quick Start

Invoke the threat-model skill by providing the path to your design specification file to generate a comprehensive security analysis and mitigation plan.

Frequently Asked Questions about threat-model

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

FAQPage Schema
What is STRIDE threat modeling and when should I apply it?

STRIDE threat modeling systematically evaluates assets, actors, and trust boundaries against spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege. Apply it during security-sensitive design phases before implementing authentication flows or external API integrations.

How do I generate a threat model from an RFC or design specification?

To generate a threat model from a design specification, provide the file path to the skill. It maps assets, actors, and trust boundaries to produce a structured security analysis document with data flow diagrams and a prioritized mitigation punch list.

Can I use threat modeling for compliance and risk assessment of external surface area designs?

Threat modeling applies directly to compliance and risk assessment by evaluating external surface area designs against common attack vectors. It ensures all data crossings are hardened before architectural review and implementation.

Does threat modeling work without existing code or implementation dependencies?

Threat modeling requires no code or implementation dependencies. It identifies security vulnerabilities from design specifications, RFCs, or feature descriptions before development begins, preventing costly architectural rework.

What is the best way to prepare an architectural security review for a new authentication flow?

The best way to prepare an architectural security review is to map assets, actors, and trust boundaries in your design specification. Running a STRIDE analysis generates a reviewable document with a prioritized mitigation punch list for hardening data crossings.

What limitations exist when applying STRIDE analysis to feature descriptions?

STRIDE analysis from feature descriptions requires clear mapping of assets, actors, and trust boundaries to be effective. Without detailed design specifications or RFCs, the generated mitigation punch list may lack actionable architectural review steps.