security-threat-model

Generate repository-grounded threat models with trust boundaries, assets, and mitigations.

8|4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/jscraik/Agent-Skills --skill security-threat-model-jscraik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-threat-model
Source: https://github.com/jscraik/Agent-Skills/tree/main/product/security/security-threat-model
Command: npx skills add https://github.com/jscraik/Agent-Skills --skill security-threat-model-jscraik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of detailed, repository-grounded threat models, identifying trust boundaries, assets, attacker capabilities, abuse paths, and mitigations to proactively secure your codebase.

Core Features & Use Cases

  • Repository-Grounded Analysis: Generates threat models directly from your codebase, ensuring relevance and accuracy.
  • Abuse Path Enumeration: Identifies concrete sequences of attacker actions and their potential impact.
  • Mitigation Recommendations: Provides actionable advice on existing and recommended security controls.
  • Use Case: Before deploying a new microservice, use this Skill to perform a thorough threat assessment, ensuring all potential vulnerabilities are identified and addressed early in the development lifecycle.

Quick Start

Use the security-threat-model skill to generate a threat model for the current repository.

Frequently Asked Questions about security-threat-model

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

FAQPage Schema
How do I generate a threat model from my codebase?

To generate a threat model from your codebase, trigger the Skill with a request for AppSec design work or abuse path enumeration. It analyzes your repository to enumerate trust boundaries, assets, attacker capabilities, and mitigations.

What is abuse path enumeration in application security?

Abuse path enumeration is the process of identifying concrete sequences of attacker actions and their potential impact within a system. This Skill generates repository-grounded abuse paths to proactively assess application security risks.

When do I need to perform a repository-grounded threat assessment?

You need a repository-grounded threat assessment before deploying new microservices or features to identify potential vulnerabilities early in the development lifecycle and ensure all security controls are properly addressed.

Does this threat modeling approach provide actionable security mitigations?

Yes, this threat modeling approach provides actionable advice on both existing and recommended security controls. It identifies concrete mitigation strategies directly related to the abuse paths and vulnerabilities found in your codebase.

Can I use this for general architecture summaries and non-security tasks?

No, you cannot use this for general architecture summaries or non-security tasks. It is specifically triggered by explicit requests for threat modeling, abuse path enumeration, and AppSec design work.

What is the best way to identify trust boundaries and assets in my application?

The best way to identify trust boundaries and assets is to use a repository-grounded threat model. This approach directly analyzes your codebase to map out attacker capabilities and enumerate system assets accurately.