security-threat-model

Generate repository-grounded AppSec threat models with prioritized threats and Mermaid diagrams.

2|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/alanharrryy-wq/hitech-os --skill security-threat-model-alanharrryy-wq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-threat-model
Source: https://github.com/alanharrryy-wq/hitech-os/tree/main/.agents/skills/C_worker/security-threat-model
Command: npx skills add https://github.com/alanharrryy-wq/hitech-os --skill security-threat-model-alanharrryy-wq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Threat modeling tailored to a specific repository, anchored to evidence, guiding security engineers to focus on real risks.

Core Features & Use Cases

  • Anchor every architectural claim to repo evidence and avoid speculative findings.
  • Enumerate assets, trust boundaries, attacker capabilities, and abuse paths.
  • Generate a prioritized threat model with mitigations and a compact Mermaid diagram.

Quick Start

Trigger a repository-grounded threat model for a codebase by providing repo context and scope, then follow the output template to produce the final report.

Frequently Asked Questions about security-threat-model

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

FAQPage Schema
How do I create a threat model anchored to repository evidence?

To create a repo-grounded threat model, provide repository context and scope to trigger automated identification of assets, entry points, and trust boundaries. The process anchors every architectural claim to repo evidence, avoiding speculative findings.

How do I generate a threat model with trust boundaries and attack paths from a codebase?

Generate a repository-grounded threat model by providing repo context and scope, which triggers enumeration of assets, trust boundaries, attacker capabilities, and concrete abuse paths. It outputs a prioritized threat model with mitigations, manual review paths, and a compact Mermaid diagram.

Can I use this threat modeling approach to avoid speculative AppSec findings?

Yes, this approach anchors every architectural claim to repo evidence to explicitly avoid speculative AppSec findings. It produces a final report with mitigations and recommended manual review paths, ensuring identified threats are grounded in actual repository code.

What is the best way to prioritize threats in an AppSec threat model?

The best way to prioritize threats in an AppSec threat model is to enumerate concrete abuse paths and justify prioritization based on identified assets and trust boundaries. This method generates a final report with mitigations and a compact Mermaid diagram.

Does repo-driven threat modeling produce visual diagrams for security reports?

Yes, repo-driven threat modeling produces a compact Mermaid diagram within its final report. This diagram visually represents the identified assets, trust boundaries, and attack paths to help security engineers review the prioritized threats.

When do I need a repository-grounded threat model instead of a generic AppSec review?

You need a repository-grounded threat model when you want to anchor every architectural claim to repo evidence and avoid speculative findings. It is ideal when you need to enumerate specific abuse paths and prioritize threats with justification for a specific codebase.