Agent Skillsmtarcure/claude-vibe-squad › security-threat-model

security-threat-model

GitHub

用于在系统设计或审查前构建精简威胁模型。明确资产、对手及信任边界,按STRIDE枚举威胁,区分控制措施的有效性,评估剩余风险并做出处置决策,终止于预设阈值。

.agents/skills/security-threat-model/SKILL.md mtarcure/claude-vibe-squad

Trigger Scenarios

设计系统架构 审查安全策略 分析信任边界

Install

npx skills add mtarcure/claude-vibe-squad --skill security-threat-model -g -y
More Options

Non-standard path

npx skills add https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/security-threat-model -g -y

Use without installing

npx skills use mtarcure/claude-vibe-squad@security-threat-model

指定 Agent (Claude Code)

npx skills add mtarcure/claude-vibe-squad --skill security-threat-model -a claude-code -g -y

安装 repo 全部 skill

npx skills add mtarcure/claude-vibe-squad --all -g -y

预览 repo 内 skill

npx skills add mtarcure/claude-vibe-squad --list

SKILL.md

Frontmatter
{
    "name": "security-threat-model",
    "audience": "specialist",
    "description": "Use before designing or reviewing a system whose assets, adversary, trust zones, and residual risks are not yet explicit: enumerate reachable STRIDE threats at each boundary, distinguish observed controls from assumptions, and terminate at a declared reporting floor."
}

Security Threat Model

Build a threat model that is right-sized to the system and that terminates, rather than one that expands until every mechanism looks unsafe.

Steps

  1. State the asset: what is actually worth protecting here — data, funds, availability, integrity of a decision — and what its loss would cost.
  2. State the adversary: capability, position, and motivation. An unbounded adversary produces an unbounded model and no decisions.
  3. Draw the system as trust zones and the flows that cross them. Every trust-zone crossing is where the model does its work; flows inside a zone rarely are.
  4. For each crossing, enumerate threats systematically — spoofing, tampering, repudiation, disclosure, denial, elevation — and keep only those the stated adversary can reach.
  5. Record the existing control for each retained threat and whether it was observed working or merely assumed to exist. Assumed controls are gaps.
  6. Rank residual risk by asset loss × adversary reach, using review-severity-ladder, and stop enumerating below the agreed floor.
  7. Decide per residual: mitigate, bound the mechanism, remove the mechanism, or accept with a documented rationale and a revisit condition.
  8. When the model keeps producing unmitigable criticals on one mechanism, remove or bound that mechanism — chasing an airtight control is the wrong response.
  9. Write the assumptions down as first-class output; the assumptions are what will be wrong later, and they are what a reviewer should attack.

Acceptance

  • Asset, adversary capability, and trust zones are stated before any threat is listed.
  • Threats are enumerated per trust-zone crossing and filtered to the stated adversary.
  • Every control is marked observed or assumed; assumed controls are treated as gaps.
  • Residuals carry an explicit decision — mitigate, bound, remove, or accept with rationale and revisit condition.
  • Assumptions are recorded as their own section, and the model terminates at a stated floor.

Version History

  • d5262e2 Current 2026-09-11 11:26

Same Skill Collection

.agents/skills/accessible-media-authoring/SKILL.md
.agents/skills/agent-prompt-engineering/SKILL.md
.agents/skills/agentic-safety-audit/SKILL.md
.agents/skills/audio-event-map-authoring/SKILL.md
.agents/skills/auto-scaffold/SKILL.md
.agents/skills/claim-verification/SKILL.md
.agents/skills/code-reachability-audit/SKILL.md
.agents/skills/code-review-loop/SKILL.md
.agents/skills/color-theory/SKILL.md
.agents/skills/conversation-design/SKILL.md
.agents/skills/copy-refinement/SKILL.md
.agents/skills/cross-file-relationship-synthesis/SKILL.md
.agents/skills/dependency-cycle-audit/SKILL.md
.agents/skills/dependency-health-triage/SKILL.md
.agents/skills/detection-as-code/SKILL.md
.agents/skills/diff-aware-semgrep-scan/SKILL.md
.agents/skills/differential-review/SKILL.md
.agents/skills/dimensional-analysis-check/SKILL.md
.agents/skills/dual-level-retrieval/SKILL.md
.agents/skills/figma-implement-design/SKILL.md
.agents/skills/forensic-timeline-authoring/SKILL.md
.agents/skills/game-design-fundamentals/SKILL.md
.agents/skills/game-mechanics-balancing/SKILL.md
.agents/skills/head-tail/SKILL.md
.agents/skills/incident-response-runbook/SKILL.md
.agents/skills/interactive-audio-design/SKILL.md
.agents/skills/interface-ambiguity-check/SKILL.md
.agents/skills/keyword-clustering/SKILL.md
.agents/skills/knowledge-base-integration/SKILL.md
.agents/skills/layered-analysis-loop/SKILL.md
.agents/skills/level-design-patterns/SKILL.md
.agents/skills/locale-adaptation/SKILL.md
.agents/skills/narrative-structure/SKILL.md
.agents/skills/platform-compliance/SKILL.md
.agents/skills/player-engagement-psychology/SKILL.md
.agents/skills/requirements-elicitation/SKILL.md
.agents/skills/rule6-rights-gate/SKILL.md
.agents/skills/rule8-truth-gate/SKILL.md
.agents/skills/sandbox-provision-discipline/SKILL.md
.agents/skills/scope-decomposition/SKILL.md
.agents/skills/scope-estimation/SKILL.md
.agents/skills/security-ownership-map/SKILL.md
.agents/skills/semgrep-rule-author/SKILL.md
.agents/skills/skill-description-trigger-authoring/SKILL.md
.agents/skills/sound-design-principles/SKILL.md
.agents/skills/structured-data-authoring/SKILL.md
.agents/skills/supply-chain-audit/SKILL.md
.agents/skills/take-over-resume/SKILL.md
.agents/skills/technical-seo-audit/SKILL.md

Metadata

Files
0
Version
d5262e2
Hash
c196440b
Indexed
2026-09-11 11:26

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-13 05:14
浙ICP备14020137号-1 $Map of visitor$