threat-model-discipline

Featured

Use when starting an engagement, before exploitation, or whenever the attack surface changes — build/validate the threat model and detect drift (new unreviewed surface) before advancing

AI & Automation 382 stars 66 forks Updated 5 days ago MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
86
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Threat-Model Discipline ## Overview **You cannot test what you have not modeled.** A threat model names the assets, entry points, trust boundaries, relevant ATT&CK techniques, and existing mitigations — so coverage is deliberate, not accidental. On a long engagement the surface drifts (a new endpoint, a new dependency); **un-reviewed drift is where bugs hide.** This skill keeps the model complete and re-checks it for drift. ## When to Activate - At engagement start (after recon-osint), before weaponize/exploit. - Whenever recon is re-run or the target changes — to catch new attack surface. - At `/engage.gate` — the gate refuses to advance on un-acknowledged drift. ## The model (JSON, materialized from recon) `threat-model.json` (see `templates/threat-model/`): five required lists — `assets`, `entry_points`, `trust_boundaries`, `attck` (technique ids), `mitigations`. ```bash # 1. Lint - every required field present, no placeholders, valid ATT&CK ids python skills/threat-model-discipline/scripts/threatmodel_lint.py lint .engage/recon/threat-model.json # 2. Drift - diff a re-run against the reviewed baseline; NEW entry points/assets/boundaries are # unreviewed surface and BLOCK the gate until re-reviewed or acknowledged python skills/threat-model-discipline/scripts/threatmodel_lint.py drift \ .engage/recon/threat-model.baseline.json .engage/recon/threat-model.json ``` Or use `/engage.threatmodel` (materialize | lint | drift). ## Red Flags — STOP - "We'll mode...

Details

Author
hypnguyen1209
Repository
hypnguyen1209/offensive-claude
Created
4 months ago
Last Updated
5 days ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category