autorenew

SKILL DETAIL

Threat Modeling

Use this skill when you need evidence-bounded threat-modeling analysis and validation preparation; triggers include 威胁建模 and threat-modeling.

StatusStable
TypeAtomic Skill
DomainSoftware testing
SDLCTest design
Good forQA / DEV
LanguageChinese / English
EvalsEvals ✓
Synced2026-09-15

Why this Skill

It turns this Skill's method into a quality input that can be executed, reviewed, and reused.

  • Use this Skill when the work needs evidence-bounded analysis of assets, trust boundaries, attack surface, threat scenarios, mitigations, and assumptions.
  • Analyze only assets, trust boundaries, attack surface, threat scenarios, mitigations, and assumptions; do not log in, call real APIs, or read credentials.
  • Do not invent vulnerabilities, exploit success, remediation completion, scan coverage, or security-pass claims.
  • Mark unsupported evidence as pending, blocked, or unassessed and provide an isolated validation method.
  • Treating broad security review or API contract checking as a complete substitute for Threat Modeling.

When to use

Use this Skill
  • Use this Skill when the work needs evidence-bounded analysis of assets, trust boundaries, attack surface, threat scenarios, mitigations, and assumptions.
  • Use it when input is incomplete but a reviewable draft with assumptions and gaps is still useful.
  • Use it when static security evidence must remain separate from planned validation and completed execution.
Common pitfalls
  • Treating broad security review or API contract checking as a complete substitute for Threat Modeling.
  • Listing attack names without applicability, evidence, expected results, or close conditions.
  • Declaring a system secure with incomplete input, or reading real credentials for completeness.

Input

Minimum Input
  • Read prompts/threat-modeling.md and follow its input audit, coverage checklist, and output contract.
Recommended Input
  • Project goal
  • Test scope
  • Constraints
Optional Context
  • Relevant code or configuration
  • Historical results
  • Logs and metrics

Output

The output follows this Skill's method and makes facts, assumptions, risks, and next steps explicit.

Judge the output value before installing

  1. 01Read prompts/threat-modeling.md and follow its input audit, coverage checklist, and output contract.
  2. 02Extract scope, environment, version, roles, data, dependencies, constraints, and available evidence.
  3. 03Model assets, trust boundaries, attack surface, threat scenarios, mitigations, and assumptions with reviewable scenarios, separating known facts, inferences, and candidate validation.
  4. 04Record impact, priority, owner role, close condition, and validation method for each item.
View full output structure
  1. 05With incomplete input, deliver a bounded draft; do not turn a risk assumption into a confirmed vulnerability or security pass.

How It Works

  1. 01Read prompts/threat-modeling.md and follow its input audit, coverage checklist, and output contract.
  2. 02Extract scope, environment, version, roles, data, dependencies, constraints, and available evidence.
  3. 03Model assets, trust boundaries, attack surface, threat scenarios, mitigations, and assumptions with reviewable scenarios, separating known facts, inferences, and candidate validation.
  4. 04Record impact, priority, owner role, close condition, and validation method for each item.
  5. 05With incomplete input, deliver a bounded draft; do not turn a risk assumption into a confirmed vulnerability or security pass.

Install & Quick Start

Install command / SHELL
npx skills add \
  https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/threat-modeling
  -g
threat-modeling.prompt
@skill threat-modeling

Using the current project context, produce an actionable result following this Skill.

Additional context:
[Paste project context or requirement]