Sec threat model

From aturzone/Skull · View interactive version

Sec threat model is an AI agent skill from the GitHub repository aturzone/Skull. Build a STRIDE threat model for a feature, service, or system — identify assets, entry points, trust boundaries and data flows, enumerate threats (Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege), and propose mitigations with residual risk. Use whe

How to use this skill

Skill file

Security: threat modeling (STRIDE)

Find the risks in a design before they're code. Answer the four questions: *What are we building? What can

go wrong? What do we do about it? Did we do a good job?*

Method

  1. Model the system. Identify assets (data, credentials, money, availability), entry points /

actors, trust boundaries (where privilege changes), and the data flows between components. Read

the code/design to ground this — don't invent components.

  1. Enumerate threats with STRIDE, per element / flow:
  1. Rate each (likelihood × impact) and propose a mitigation (and which sec-* skill confirms it in code).
  2. Residual risk — what remains after mitigation, and what's accepted.

Output

A threat table: element/flow · STRIDE category · threat · likelihood/impact · mitigation · owner skill,

then the top risks and a short "did we cover it" note. Drives the focused sec-* reviews and wf-security-audit.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.