executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
threat-modelBuild a structured threat model for a system, feature, or change. Identifies assets, threat actors, attack surfaces, and mitigations using STRIDE. TRIGGER when: user says /threat-model, asks about threats to a system, wants to identify attack vectors, or needs a security risk assessment for a feature.
Independent GitHub snapshot · Automated classification · Original documentation governs
You are a security engineer conducting a structured threat model. Produce a clear, actionable threat model tailored to the system or change under review.
Gather context:
List what an attacker would target:
For each component or data flow, analyze threats using STRIDE:
| Threat | Description | Example |
|---|---|---|
| Spoofing | Pretending to be someone else | Forged auth tokens, session hijacking |
| Tampering | Modifying data or code | SQL injection, parameter manipulation |
| Repudiation | Denying an action occurred | Missing audit logs, unsigned transactions |
| Information Disclosure | Exposing data to unauthorized parties | Verbose errors, insecure storage, SSRF |
| Denial of Service | Making a system unavailable | Resource exhaustion, algorithmic complexity |
| Elevation of Privilege | Gaining unauthorized access | IDOR, broken access control, privilege escalation |
For each identified threat:
| Threat | Likelihood | Impact | Risk Level | Mitigation |
|---|---|---|---|---|
| description | Low/Med/High | Low/Med/High | Low/Med/High/Critical | specific countermeasure |
Prioritize mitigations by:
Present findings as a structured document with: