threat-modeling
Use this skill when the user says 'threat model', 'STRIDE', 'security by design', 'data flow diagram', 'trust boundary', 'attack surface analysis'. Identifies…
от j4flmao★ 47 звёзд на GitHub
Установить threat-modeling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Threat Modeling (STRIDE)
Purpose
Identify and mitigate architectural security flaws during the design phase, before any code is written. Decompose the system, enumerate threats with STRIDE across each trust boundary, assign mitigations, and validate — producing a threat model that drives secure design decisions.
Agent Protocol
Trigger
User phrases: "threat model this", "STRIDE analysis", "security by design", "data flow diagram", "trust boundaries".
Input Context
- System/feature architecture and its external interfaces.
- Data sensitivity and compliance constraints.
Output Artifact
A STRIDE threat table per trust boundary with mitigations and residual risk.
Response Format
Component: {element}
STRIDE threat: {S/T/R/I/D/E}
Mitigation: {control}
Status: {open | mitigated | accepted}
Methodology: STRIDE
- Spoofing: Impersonating something or someone else. (Mitigation: Strong Authentication)
- Tampering: Modifying data or code. (Mitigation: Integrity checks, TLS)
- Repudiation: Claiming to have not performed an action. (Mitigation: Secure Logging, Auditing)
- Information Disclosure: Exposing information to unauthorized users. (Mitigation: Encryption at rest/transit)
- Denial of Service: Denying or degrading service to users. (Mitigation: Rate limiting, WAF)
- Elevation of Privilege: Gaining capabilities without proper authorization. (Mitigation: RBAC, Least Privilege)
Threat Modeling Process
%%{init: {"theme": "default", "flowchart": {"useMaxWidth": true}}}%%
graph TD
A[Decompose Application] --> B[Identify Threats]
B --> C[Determine Mitigations]
C --> D[Validate]
B -.-> E((STRIDE))
Security-by-Design Checklist
- Data flow diagrams (DFDs) created for all trust boundaries.
- Authentication and Authorization defined at every entry point.
- Secrets management strategy established (no hardcoded credentials).
- Input validation and output encoding strictly enforced.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл threat-modeling?
Use this skill when the user says 'threat model', 'STRIDE', 'security by design', 'data flow diagram', 'trust boundary', 'attack surface analysis'. Identifies and mitigates architectural security flaws during design using STRIDE and DFDs, before code is written. Do NOT use for: code-level vulnerability scanning (use security/sast-dast), attack-technique deep dives (use security/attack-patterns), or runtime detection (use security/detection-engineering).
Как установить скилл threat-modeling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл threat-modeling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…