threat-modeling
БесплатноБез исполняемых скриптовНе проверенIdentify and analyze security threats. Use when designing a feature with security implications, before implementing auth/input-handling code, or when an audit…
Об этом скилле
Threat Modeling
Procedure
- Map Attack Surface: Use Grep and Glob to find entry points and trust boundaries; sketch the data flow.
- Enumerate Threats: Work through STRIDE per component — Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege. Use Sequential Thinking to cover each category systematically.
- Trace Data Flow: Use Grep to trace user input → processing → storage, authentication token flow, and sensitive data paths, watching for injection and leakage points.
- Rate Severity: Classify each threat as Critical / High / Medium / Low per the definitions in
.claude/rules/security.md— Critical and High findings MUST be fixed before merge. - Record Findings: Document each threat with its STRIDE category, severity, and remediation.
Agent-Specific Threats
Beyond STRIDE, include this class whenever the design under review has a tool/model boundary:
- Indirect prompt injection: a directive embedded in tool output (fetched web page, file contents, API response) that the model executes as if the user had typed it
- Tool poisoning: a compromised or malicious MCP server/tool that returns crafted output designed to manipulate the calling agent
- Instruction-hierarchy violation: content from a lower-trust source (tool output, retrieved document) overriding system- or developer-level instructions
- Over-scoped tokens: credentials or API keys granted broader access than the task requires, widening the blast radius of a successful injection
- Config-as-code execution paths: hooks, settings, and MCP definitions that execute automatically on checkout — see
.claude/rules/security.md's "Untrusted Content & Prompt Injection" section
Threat Model Document
## Asset: User Database
### Threats
| Threat | Type | Severity | Remediation |
|--------|------|----------|--------------|
| SQL Injection | Tampering | High | Parameterized queries |
| Data Breach | Info Disclosure | Critical | Encryption at rest, access logging |
Установить threat-modeling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл threat-modeling?
Identify and analyze security threats. Use when designing a feature with security implications, before implementing auth/input-handling code, or when an audit calls for a threat model. Covers STRIDE methodology.
Как установить скилл threat-modeling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл threat-modeling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic