Home / cowork-os / cowork-os · resources/plugin-packs/codex-security/skills/threat-model/SKILL.md · GitHub

threat-model skillA

threat-model is agent-read markdown (skill) from cowork-os/cowork-os: Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model, or the user explicitly asks to create, update, or persist a repository threat model. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Security Threat Model

## Objective

Establish the repository-scoped threat model at the path defined in `../../references/scan-artifacts.md`. If this already exists, stop here. If a threat model or clearly authoritative security scan guidance is provided or already exists, persist it unchanged to this file, then stop here.

`AGENTS.md` can be that authoritative source when it is sufficiently specific about the repository's product surfaces, trust boundaries, attacker-controlled inputs, assumptions, or security scan guidance to serve as the threat model.

If no threat model is provided, generate a repository-scoped threat model to be used in future bug discovery. The threat model should holistically cover the entire repository and should make it obvious:

- what assets or privileges matter
- what trust boundaries exist
- what inputs are attacker-controlled
- what invariants the code must preserve
- what repository-wide failure modes would matter most

## Artifact Resolution

The path references in this skill are the default locations for this phase.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add cowork-os/cowork-os/threat-model@git:20260606.a4decec
Exact content
mdr add cowork-os/cowork-os/threat-model@sha256:9a73305a379a6e77

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tjopxfvk7imrjbbh.svg)](https://markdownregistry.com/a/art_tjopxfvk7imrjbbh)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260606.a4decec latest2026-06-06 a4decec 4,132 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4132 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cowork-os/cowork-os · 459 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tjopxfvk7imrjbbh
GET https://markdownregistry.com/api/v1/resolve?ref=cowork-os/cowork-os/threat-model
GET https://markdownregistry.com/api/v1/blob/9a73305a379a6e777a2c1476174c429fdc3450c89fc1c00a66fa7eac997004fc

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from cowork-os/cowork-os

attack-path-analysis skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/attack-path-analysis/SKILL.md · Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a…
git:20260919.4f2a470 · audit A · 459 stars
deep-security-scan skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/deep-security-scan/SKILL.md · Use when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide Codex Security scan…
git:20260606.a4decec · audit A · 459 stars
finding-discovery skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/finding-discovery/SKILL.md · Use when Codex is already in the finding-discovery phase of a security scan or the user explicitly asks to discover…
git:20260919.ad0495b · audit A · 459 stars
fix-finding skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/fix-finding/SKILL.md · Use when the user explicitly asks to fix and verify a validated or plausible security finding. Do not use as the…
git:20260606.a4decec · audit A · 459 stars
security-diff-scan skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/security-diff-scan/SKILL.md · Use when the user asks for a security review of a pull request, commit, branch diff, working-tree patch, or other…
git:20260919.c03e78b · audit A · 459 stars
security-scan skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/security-scan/SKILL.md · Use when the user asks for a repository-wide or scoped-path security scan.
git:20260919.7b075ca · audit A · 459 stars
validation skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/validation/SKILL.md · Use when Codex is already in the validation phase of a security scan or the user explicitly asks to determine whether…
git:20260606.a4decec · audit A · 459 stars
1password skill
cowork-os/cowork-os · resources/skills/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
v1.0.0 · audit A · 459 stars
add-documentation skill
cowork-os/cowork-os · resources/skills/add-documentation/SKILL.md · Generate JSDoc/docstrings for functions
v1.0.0 · audit A · 459 stars
agentic-image-loop skill
cowork-os/cowork-os · resources/skills/agentic-image-loop/SKILL.md · Generate -> annotate -> refine -> repeat using generate_image + Visual Annotator (Live Canvas).
v1.0.0 · audit A · 459 stars
analyze-csv skill
cowork-os/cowork-os · resources/skills/analyze-csv/SKILL.md · Load a CSV and provide insights
v1.0.0 · audit A · 459 stars
android-development skill
cowork-os/cowork-os · resources/skills/android-development/SKILL.md · Android/Kotlin development: Jetpack Compose, Room database, Gradle builds, emulator management, and Play Store…
v1.0.0 · audit A · 459 stars

Every file in cowork-os/cowork-os

Other files named threat-model

threat-model skill
haabe/mycelium · plugins/mycelium/skills/threat-model/SKILL.md · Use to conduct STRIDE threat modeling for a system or feature design.
git:20260917.533cc63 · audit A · 46 stars
threat-model skill
byerlikaya/claude-starter-kit · plugin/skills/threat-model/SKILL.md · Scope a security audit BEFORE scanning, to cut false positives: map assets, entry points, trust boundaries and 5-8…
git:20260730.0bf7183 · audit A · 24 stars
threat-model skill
byerlikaya/claude-starter-kit · claude-starter/skills/threat-model/SKILL.md · Scope a security audit BEFORE scanning, to cut false positives: map assets, entry points, trust boundaries and 5-8…
git:20260730.0bf7183 · audit A · 24 stars
threat-model skill
perrylink/dsh-skill-pack-security · skills-en/threat-model/SKILL.md · Lightweight threat modeling for new features/systems: fix the target, scope and trust boundaries, asset inventory…
v2.2.16 · audit A · 14 stars
threat-model skill
perrylink/dsh-skill-pack-security · skills/threat-model/SKILL.md · 新功能/新系统的轻量威胁建模:固定对象→划定范围与信任边界→资产清单→STRIDE 逐资产威胁表→攻击树(可选)→缓解与优先级,产出可进设计评审的威胁模型文档。为新功能/新改动做设计阶段安全评审、梳理信任边界或画攻击树时用;与安全边界无关的…
v2.2.16 · audit A · 14 stars
threat-model skill
fmind/dot · skills/threat-model/SKILL.md · Model attack paths, trust boundaries, abuse cases, and controls for systems and integrations.
git:20260916.50d6810 · audit A · 9 stars
threat-model skill
air-gapped/skills · .claude/skills/threat-model/SKILL.md · [1/4 defending-code] Build a threat model for a target codebase. Optional first step of the find-and-fix loop…
git:20260915.5af223a · audit A · 5 stars

Browse by kind, by grade A, or by owner.