stride
This skill should be used when the user asks to "run STRIDE analysis", "check STRIDE", "threat model with STRIDE", or invokes /appsec:stride. Dispatches 6…
от florianbuetow★ 22 звезды на GitHub
Установить stride в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
STRIDE Threat Model Dispatcher
Dispatch parallel subagents covering all 6 STRIDE threat categories. Each
category runs as an independent subagent analyzing the scoped code for that
class of threat. STRIDE maps each category to a violated security property:
Spoofing (Authentication), Tampering (Integrity), Repudiation (Non-repudiation),
Information Disclosure (Confidentiality), Denial of Service (Availability),
Elevation of Privilege (Authorization).
Supported Flags
Read ../../shared/schemas/flags.md for the
full flag specification. This dispatcher supports all cross-cutting flags.
| Flag | Dispatcher-Specific Behavior |
|---|---|
--scope |
Propagated to all subagents. Default changed. |
--depth |
Propagated to all subagents. Default standard. |
--severity |
Applied during consolidation to filter the merged output. |
--format |
Applied to final consolidated output. |
--only S,T,E |
Run only the listed categories. Accepts comma-separated STRIDE letters (e.g., S, T, R, I, D, E). Unlisted categories are skipped. |
--fix |
Propagated to subagents; each produces fix suggestions inline. |
--quiet |
Propagated to subagents; suppress explanations. |
--explain |
Propagated to subagents; add learning material per finding. |
Framework Reference
Read ../../shared/frameworks/stride.md
for the full STRIDE framework specification including threat descriptions,
per-element applicability matrix, risk assessment guidance, and documentation
templates.
Pre-flight Relevance Check
All 6 STRIDE categories are typically relevant to any codebase with
user-facing functionality. However, perform a lightweight scan to confirm
the codebase has code to analyze, and to build a targeted file list for
each subagent.
| Category | Skill | Relevant File Patterns | Notes |
|---|---|---|---|
| S - Spoofing | spoofing |
Auth controllers, session middleware, token validation, login/register routes | Almost always relevant if the app has users |
| T - Tampering | tampering |
Input handlers, database queries, API endpoints, file operations, config files | Almost always relevant |
| R - Repudiation | repudiation |
Logging config, audit trail, transaction records, security event handlers | Relevant if there are security-sensitive actions |
| I - Information Disclosure | info-disclosure |
Error handlers, API responses, log statements, config files, environment variables | Almost always relevant |
| D - Denial of Service | dos |
Input parsers, regex patterns, resource allocation, file uploads, API rate limiting | Almost always relevant |
| E - Elevation of Privilege | privilege-escalation |
Authorization middleware, role checks, admin routes, permission models, RBAC config | Almost always relevant if the app has roles |
For each category, use Glob and Grep to build a focused file list of the most
relevant files. Pass this scoped list to the subagent rather than the full
scope, so each subagent focuses on its area of expertise.
If --only is specified, dispatch only the listed categories.
Dispatch Category Subagents
CRITICAL: All Task tool calls MUST appear in the SAME response message.
This is what triggers parallel execution. If you emit them across separate
messages, they run sequentially and waste time.
Dispatch Table
| Letter | Subagent Skill | Finding Prefix | Security Property | Focus |
|---|---|---|---|---|
| S | skills/spoofing/SKILL.md |
SPOOF |
Authentication | Credential theft, session hijacking, token manipulation, identity impersonation |
| T | skills/tampering/SKILL.md |
TAMP |
Integrity | SQL injection, parameter tampering, MITM, file modification, config tampering |
| R | skills/repudiation/SKILL.md |
REPUD |
Non-repudiation | Missing audit logs, log tampering, insufficient forensic evidence |
| I | skills/info-disclosure/SKILL.md |
DISC |
Confidentiality | Data breaches, error message leaks, timing attacks, cleartext transmission |
| D | skills/dos/SKILL.md |
DOS |
Availability | Resource exhaustion, algorithmic complexity, DDoS, decompression bombs |
| E | skills/privilege-escalation/SKILL.md |
PRIV |
Authorization | Broken access control, IDOR, JWT manipulation, role confusion |
Subagent Prompt Template
Each subagent Task call must include a FULLY self-contained prompt. Subagents
get their own isolated context window and cannot see the main conversation.
Each subagent prompt must contain:
- The concrete file list to analyze (resolved from scope, filtered for relevance).
- The absolute path to the category SKILL.md to read and follow.
- The flags to apply (
--scope,--depth,--severity,--format, etc.). - The findings schema path (
shared/schemas/findings.md) for output format. - An instruction
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл stride?
This skill should be used when the user asks to "run STRIDE analysis", "check STRIDE", "threat model with STRIDE", or invokes /appsec:stride. Dispatches 6 category subagents (S-T-R-I-D-E) in parallel for comprehensive STRIDE threat modeling coverage.
Как установить скилл stride?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл stride запускает скрипты?
Нет, скилл состоит только из инструкций (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…