/appsec:stridefrom appsec
Dispatches 6 parallel subagents for STRIDE threat modeling across all categories. Supports flags for scope, depth, severity, format, and category filtering.
Ships in appsec. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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).
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. |
Read ../../shared/frameworks/stride.md
for the full STRIDE framework specification including threat descriptions,
per-element applicability matrix, risk assessment guidance, and documentation
templates.
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.
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.
| 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 |
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:
--scope, --depth, --severity, --format, etc.).shared/schemas/findings.md) for output format.Analyze the following files for STRIDE {LETTER} ({CATEGORY_NAME}) threats:
FILES:
{FILE_LIST}
STEP 1: Read the skill definition at:
{ABSOLUTE_PATH_TO_PLUGIN}/skills/{SKILL_NAME}/SKILL.md
STEP 2: Follow the workflow defined in that skill to analyze the listed files.
Focus on threats to the {SECURITY_PROPERTY} security property.
STEP 3: Read the findings schema at:
{ABSOLUTE_PATH_TO_PLUGIN}/shared/schemas/findings.md
STEP 4: Output findings in the schema format. Set metadata.framework to "stride"
and metadata.category to "{LETTER}".
FLAGS: --scope {SCOPE} --depth {DEPTH} --severity {SEVERITY}
IMPORTANT: Return ONLY the findings list. Do NOT produce a summary or
cross-category analysis. The dispatcher handles consolidation.
Emit one Task tool call per relevant category, ALL in a single response:
subagent_type: "general-purpose"description: "STRIDE {LETTER} - {CATEGORY_NAME}"prompt: The fully self-contained prompt above, filled in for this category.Do NOT emit Task calls one at a time. Do NOT wait between dispatches.
After ALL subagents return their results:
Collect all findings from all subagent responses into a single list.
Two findings are duplicates if they share the same location.file AND
location.line (or overlapping line ranges). When duplicates exist:
T and I keeps both in
references.stride).For each finding, populate cross-framework references where known:
references.owasp: Map to OWASP Top 10 category.references.cwe: Map to CWE identifier.references.mitre_attck: Map to ATT&CK technique ID.references.sans_cwe25: Map to SANS/CWE Top 25 rank if applicable.Use the cross-framework mapping tables in stride.md for guidance.
Build a summary matrix showing which STRIDE categories produced findings for each component or trust boundary. This mirrors the STRIDE per-element analysis approach:
| Component | S | T | R | I | D | E | Findings |
|---|---|---|---|---|---|---|---|
| Auth controller | X | X | SPOOF-001, PRIV-003 | ||||
| API gateway | X | X | X | TAMP-002, DISC-001 |
Sort findings: critical > high > medium > low. Within the same severity, sort by confidence (high > medium > low).
Wrap the consolidated findings in the aggregate output format from
shared/schemas/findings.md, including categories_checked,
categories_skipped, total_findings, and by_severity.
Output the consolidated report in the requested --format. Include:
If --depth expert is set, after consolidation, launch red team subagents
to simulate exploitation of the findings. Each red team agent receives the
consolidated findings and constructs multi-step attack chains that cross
STRIDE categories (e.g., Spoofing leads to Elevation of Privilege).
Read ../../shared/frameworks/dread.md for
DREAD scoring criteria. Each finding receives a DREAD score in expert mode.
Launch red team agents as parallel Task calls (same single-response rule).
Red team output is appended to findings with prefix RT and
metadata.tool set to "red-team".
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
stride, threat-modeling, security-analysis, subagent-dispatch
npx claudepluginhub florianbuetow/claude-code --plugin appsec62 skills in this plugin
/access-controlThis skill should be used when the user asks to "check for access control issues", "analyze authorization", "find IDOR vulnerabilities", "audit CORS configuration", "check for privilege escalation", or mentions "access control", "authorization", "IDOR", "CORS", "JWT tampering", or "directory traversal" in a security context. Maps to OWASP Top 10 2021 A01: Broken Access Control.
/apiThis skill should be used when the user asks to "check API security", "audit REST API", "find BOLA vulnerabilities", "check for mass assignment", "analyze API rate limiting", "detect excessive data exposure", or mentions "API security", "BOLA", "IDOR", "mass assignment", "rate limiting", "broken function-level authorization", "excessive data exposure", or "OWASP API Top 10" in a security context.
/attack-surfaceThis skill should be used when the user asks to "map attack surface", "list entry points", "inventory API endpoints", "find all inputs", "enumerate routes", "discover exposed endpoints", or "map external interfaces". Also triggers when the user asks about exposed APIs, form handlers, file upload endpoints, WebSocket handlers, CLI argument parsers, or wants to understand where external data enters the system.
/authThis skill should be used when the user asks to "check for authentication issues", "analyze auth", "find credential vulnerabilities", "review login security", "check session management", or mentions "authentication", "passwords", "MFA", "sessions", or "brute force" in a security context. Maps to OWASP Top 10 2021 A07: Identification and Authentication Failures.
/business-logicThis skill should be used when the user asks to "check business logic security", "find logic flaws", "audit workflow security", "check for coupon abuse", "detect negative amount exploits", "analyze state machine security", or mentions "business logic", "workflow bypass", "negative amount", "coupon abuse", "self-referral", "state manipulation", or "time-based exploit" in a security context.
/configThis skill should be used when the user asks to "configure security", "appsec settings", "security preferences", or invokes /appsec:config. Manages security tool preferences and thresholds.
Other plugins' skills for the same job