Skip to content

Development & Engineering

Security Threat Model

Free

Threat model your repository: trust boundaries, assets, attacker abilities, abuse paths and fixes.

Difficulty advanced

Purpose

Install the original Security Threat Model skill from openai/skills, curated and use it in Codex.

Procedure

--- name: codex-security-threat-model description: Threat model your repository: trust boundaries, assets, attacker abilities, abuse paths and fixes. ---

Security Threat Model

Purpose

Install the original Security Threat Model skill from openai/skills, curated and use it in Codex.

Procedure

Source: https://github.com/openai/skills/tree/main/skills/.curated/security-threat-model Maintainer: OpenAI (openai/skills, curated). Skilling lists this skill; the original lives in that repository.

Install

$skill-installer security-threat-model

Type the line in a Codex chat. Codex downloads the skill from openai/skills. Restart Codex so it picks up the new skill. OpenAI now points new examples to github.com/openai/plugins; the curated skills still install this way.

What it does

  • Grounded in your actual code
  • Lists abuse paths and mitigations
  • Writes a short Markdown report

How to use it

Ask Codex to threat model this repo.

Example requests

1. Use Security Threat Model

Request: Ask Codex to threat model this repo. Expected: Grounded in your actual code.

Dependencies

OpenAI Codex with the built-in $skill-installer skill.

Compatibility

This document follows the Agent Skills layout (a folder named codex-security-threat-model containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it. Last verified 2026-11-15.

Example prompts

Use Security Threat Model

Ask Codex to threat model this repo.

Expected: Grounded in your actual code.

Choose the agent

Pick the agent you use.

Related

  • Playwright

    Automate a real browser from the terminal: navigate, fill forms, take screenshots and debug UI flows.

  • Playwright Interactive

    Keep a browser or Electron app open and drive it interactively for fast UI debugging.

  • GH Address Comments

    Work through review comments on the open GitHub PR for your branch using the gh CLI.

Reviews

No reviews yet.

    Sign in to review.

    Report a problem

    Inaccurate steps, an unsafe instruction, or a licensing concern.

    Sign in to report.