security-threat-model

Create repository-grounded threat models with assets, trust boundaries, and data flows.

3|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/bl1nk-bot/skills-cli --skill security-threat-model-bl1nk-bot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-threat-model
Source: https://github.com/bl1nk-bot/skills-cli/tree/main/skills/security-threat-model
Command: npx skills add https://github.com/bl1nk-bot/skills-cli --skill security-threat-model-bl1nk-bot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Trigger only when the user explicitly asks to threat model a codebase or path, enumerate threats/abuse paths, or perform AppSec threat modeling. Do not trigger for general architecture summaries, code review, or non-security design work.

Core Features & Use Cases

  • Enumerates assets, trust boundaries, and entry points directly from the repository.
  • Derives a compact threat model with evidence-backed rationale and concrete mitigations.
  • Produces a Mermaid diagram and a final threat-model document for stakeholder review.

Quick Start

Run the repository threat-model workflow to produce a structured, evidence-grounded assessment.

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 directly from my codebase?

Repository-grounded threat modeling identifies assets, trust boundaries, and data flows directly from your codebase, binding every architectural claim to concrete repo evidence like file paths or config keys to produce a prioritized threat catalog.

What is AppSec threat modeling for a repository?

AppSec threat modeling for a repository enumerates trust boundaries, attacker capabilities, and abuse paths to derive an evidence-backed threat model with concrete mitigations and an actionable focus set for manual security review.

How do I identify trust boundaries and data flows in source code?

You identify trust boundaries and data flows by analyzing source code to map entry points and asset movements, differentiating runtime versus CI tooling while noting missing context as explicit assumptions.

Can I use this for general code review and architecture summaries?

No, this is specifically for AppSec threat modeling and should not trigger for general architecture summaries, standard code review, or non-security design work; it requires an explicit request to enumerate threats or abuse paths.

How do I prioritize threats for manual security review?

Prioritize threats for manual security review by generating a catalog that scores attacker goals, likelihood, and impact, yielding an actionable focus set backed by concrete repository evidence paths.

Does threat modeling work without complete repository context?

Yes, repository threat modeling works without complete context by clearly differentiating runtime versus CI tooling and explicitly noting missing context as documented assumptions within the final threat model document.