Agent Skill · OpenAI

security-threat-model

Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Trigger only when the user explicitly asks to threat model a codebase or path, enumerate threats/abuse paths, or perform AppSec threat modeling. Do not trigger for general architecture summaries, code review, or non-security design work.

Provider: OpenAI Path in repo: skills/.curated/security-threat-model/SKILL.md

Skill body

Threat Model Source Code Repo

Deliver an actionable AppSec-grade threat model that is specific to the repository or a project path, not a generic checklist. Anchor every architectural claim to evidence in the repo and keep assumptions explicit. Prioritizing realistic attacker goals and concrete impacts over generic checklists.

Quick start

1) Collect (or infer) inputs:

Workflow

1) Scope and extract the system model

2) Derive boundaries, assets, and entry points

3) Calibrate assets and attacker capabilities

4) Enumerate threats as abuse paths

5) Prioritize with explicit likelihood and impact reasoning

6) Validate service context and assumptions with the user

7) Recommend mitigations and focus paths

8) Run a quality check before finalizing

Risk prioritization guidance (illustrative, not exhaustive)

References

Only load the reference files you need. Keep the final result concise, grounded, and reviewable.