threat-model-review

threat-model-review is a command for Claude Code from RedHatProductSecurity/agentic-threat-modeling. It costs 25 tokens per session (386 once invoked), scanned A, original, Apache-2.0.

A command that reviews an existing threat model against the current code and offers to update it. It looks for outdated risks, new attack surfaces, changed assumptions, and unfinished protections.

In plain words
What is it for?
Use it to review THREAT_MODEL.md, produce recommended changes, and optionally apply those changes after you inspect the findings.
Why use it?
It helps keep security documentation aligned with the software after development changes, so teams are less likely to rely on obsolete information.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to review THREAT_MODEL.md, produce recommended changes, and optionally apply those changes after you inspect the findings.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/redhatproductsecurity/agentic-threat-modeling/threat-model-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/RedHatProductSecurity/agentic-threat-modeling

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for threat-model-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/redhatproductsecurity/agentic-threat-modeling/threat-model-review/github.svg)](https://agentmods.dev/commands/redhatproductsecurity/agentic-threat-modeling/threat-model-review)
Your own site
<a href="https://agentmods.dev/commands/redhatproductsecurity/agentic-threat-modeling/threat-model-review"><img src="https://agentmods.dev/badge/commands/redhatproductsecurity/agentic-threat-modeling/threat-model-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for threat-model-review

Your own site · 80×15
<a href="https://agentmods.dev/commands/redhatproductsecurity/agentic-threat-modeling/threat-model-review"><img src="https://agentmods.dev/badge/commands/redhatproductsecurity/agentic-threat-modeling/threat-model-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 386 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00386
Opus 5 $0.00013 $0.00193
Sonnet 5 $0.00005 $0.00077
Haiku 4.5 $0.00003 $0.00039

Measured 10d ago against content hash 207bd9994bba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

threat-model-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

module/commands/threat-model-review.md · 25 lines

What it actually says

Invoke the threat-model-review skill.

Find and review an existing threat model:

  1. Locate THREAT_MODEL.md (in the repo root, or at the path specified by the user)
  2. Parse its contents — threats, mitigations, assumptions, scope
  3. Analyze what has changed in the codebase since the threat model was written
  4. Identify:
    • Stale threats: threats that no longer apply due to code changes or mitigations implemented
    • New attack surface: new endpoints, components, data flows, or integrations not covered by the existing threat model
    • Drift: assumptions that are no longer valid
    • Open mitigations: recommended mitigations that haven't been implemented yet
  5. Produce an update report with recommended changes to the threat model
  6. After presenting the review findings, offer to apply the changes directly:

    "Would you like me to apply these changes to the threat model now? I can update the THREAT_MODEL.md to incorporate the findings — removing stale threats, adjusting risk levels, and adding coverage for new attack surface. You'll be able to review the changes before they're finalized." If the user agrees, apply changes following update mode rules: preserve existing threat and hardening-recommendation IDs (T-NNN and H-NNN alike, never renumber), move removed threats or resolved/no-longer-relevant hardening recommendations to Deprioritized Threats with removal reason and date, preserve human-written edits, and append an Update History entry to the provenance section.

Arguments from user: $ARGUMENTS

If no THREAT_MODEL.md is found, suggest running /threat-model to create one.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 25 lines · 25 tokens per session scan A 207bd9994bba

Subscribe to this mod's changes

threat-model-review is a command published in the GitHub repository RedHatProductSecurity/agentic-threat-modeling (4 stars, last pushed 29d ago), licensed Apache-2.0. It adds 25 tokens to every session and 386 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.