threat-modeler

Solid

STRIDE threat modeling and privacy impact assessment to generate security/privacy requirements. Use before requirement-architect to shift security left.

AI & Automation 51 stars 9 forks Updated today CC-BY-SA-4.0

Install

View on GitHub

Quality Score: 84/100

Stars 20%
57
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
Agile-V
Repository
Agile-V/agile_v_skills
Created
6 months ago
Last Updated
today
Language
Python
License
CC-BY-SA-4.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category