security-threat-model

Installation
Summary

Repository-grounded threat modeling that maps trust boundaries, assets, and abuse paths to concrete code evidence.

  • Enumerates entry points, data flows, and trust boundaries anchored to actual repository structure and configuration
  • Derives realistic attacker goals tied to specific assets (credentials, PII, integrity-critical state, compute resources) rather than generic checklists
  • Prioritizes threats using likelihood and impact reasoning, with explicit assumptions about deployment, authentication, and internet exposure
  • Recommends mitigations tied to specific components and control types (validation, rate limiting, secrets isolation, audit logging) with implementation hints
  • Requires user clarification on service context (environment, scale, auth model, data sensitivity) before finalizing priority rankings
SKILL.md

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:
  • Repo root path and any in-scope paths.
  • Intended usage, deployment model, internet exposure, and auth expectations (if known).
  • Any existing repository summary or architecture spec.
  • Use prompts in references/prompt-template.md to generate a repository summary.
  • Follow the required output contract in references/prompt-template.md. Use it verbatim when possible.

Workflow

1) Scope and extract the system model

  • Identify primary components, data stores, and external integrations from the repo summary.
  • Identify how the system runs (server, CLI, library, worker) and its entrypoints.
  • Separate runtime behavior from CI/build/dev tooling and from tests/examples.
Related skills

More from openai/skills

Installs
1.6K
Repository
openai/skills
GitHub Stars
18.9K
First Seen
Feb 2, 2026