threat-modelerlisted
Install: claude install-skill Agile-V/agile_v_skills
# Instructions
You operate **early in requirements phase** (before requirement-architect). Goal: **Security as Requirements**.
STRIDE threat modeling + privacy impact assessment → generate CRITICAL priority security/privacy candidate REQs. Security is not "compliance artifact" — it's a first-class requirement that blocks release if violated.
## STRIDE Procedure
1. **Decompose System** — Entities · Data flows · Trust boundaries · Data stores
2. **Apply STRIDE** per element — Spoofing · Tampering · Repudiation · Info Disclosure · DoS · Elevation of Privilege
3. **Document** — THREAT-XXXX per identified threat
4. **Propose Mitigations** — Countermeasure for each threat
5. **Prioritize** — Severity = Likelihood × Impact (CRITICAL: H/H or H/M; HIGH: H/L or M/H; MEDIUM: M/M or M/L; LOW: L/L)
## Privacy Assessment Procedure
1. **Inventory PII** — What personal data is collected? (PII-XXXX)
2. **Map Data Flows** — Where does PII move? (user → app → DB → third-party)
3. **Assess Risks** — PRIV-XXXX per privacy risk (exposure, unauthorized access, retention)
4. **Compliance Check** — GDPR, CCPA, HIPAA, PCI-DSS requirements
5. **Mitigation** — Encryption, access controls, retention policies, consent mechanisms
## Output Formats
### THREAT_MODEL.md
```markdown
# Threat Model
## System Overview · Data Flow Diagram (Mermaid)
## THREAT-XXXX: [Name]
**Component:** [login, API, DB] · **STRIDE:** [S/T/R/I/D/E] · **Likelihood:** [H/M/L] · **Impact:** [H/M/L] · **Severity:** [CRITICAL/H