Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

threat-model-visualize

Skill by openai

Turns an existing threat model into a standalone, interactive architecture and threat-path explorer. Built for application teams and leadership, it does not run a new assessment.

  • Score 90
  • 15k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install threat-model-visualize

Built from the published package, never by AI.

git clone --depth 1 https://github.com/openai/codex-security /tmp/codex-security && mkdir -p ~/.claude/skills && cp -r /tmp/codex-security/plugins/codex-security/skills/threat-model-visualize ~/.claude/skills/threat-model-visualize

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install threat-model-visualize in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Threat Model Visualize takes an existing threat-model artifact and builds a standalone explorer. The explorer shows what can go wrong, how it could happen, why it matters, and where controls would stop or limit it. A request such as visualizing the threat model from the last scan of a target is enough for the skill to resolve the target, latest assessment and snapshot.

The skill validates a source inventory against the supplied assessment before composing the view model. It keeps inputs immutable, separates findings from hypotheses, and labels proposed controls as proposals. It does not inspect application code, invent topology or controls, or run a new scan. It is aimed at application teams and leadership.

Written from the project's SKILL.md and checked against it.

What it can do

  • Resolve a target's last scanResolves the target, latest assessment and snapshot from a simple request.
  • Build an architecture viewShows actors, trust boundaries, components, identities, stores and external dependencies from the source.
  • Explore threat pathsHighlights the source-supported route for a selected threat, with its relationships and controls.
  • Validate the source inventoryChecks components, relationships, controls and threats against the supplied assessment before composing.
  • Separate control statusKeeps existing mechanisms, proposed controls and observed enforcement distinct.
  • Run a correctness reviewUses an adversarial review step to try to disprove the saved model's claims before export.

Try asking

  • Visualize the threat model generated in the last scan of my payments API
  • Make an interactive threat-path explorer from our existing threat model
  • Show leadership where controls would limit the threats in the last scan

Good to know

  • Does not perform a new threat assessment or run a new scan.
  • Does not inspect application code.
  • The default input is the existing threat-model artifact, not an automatic import of a complete scan.
  • Does not treat repository defaults as proof of deployed configuration.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/codex-security/skills/threat-model-visualize/SKILL.md, plugins/codex-security/skills/threat-model-visualize/assets/control-effects.js, plugins/codex-security/skills/threat-model-visualize/assets/explorer.js, plugins/codex-security/skills/threat-model-visualize/assets/route-paths.js, plugins/codex-security/skills/threat-model-visualize/assets/source-roles.js, plugins/codex-security/skills/threat-model-visualize/assets/svg-layout.js, plugins/codex-security/skills/threat-model-visualize/scripts/build_explorer.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md18 KB
  • agents/openai.yaml259 B
  • assets/context-reference-overview.svg36 KB
  • assets/context-reference-path.svg59 KB
  • assets/control-effects.js4 KB
Show all 14 files
  • assets/explorer.css12 KB
  • assets/explorer.html3 KB
  • assets/explorer.js41 KB
  • assets/route-paths.js4 KB
  • assets/source-roles.js3 KB
  • assets/svg-layout.js11 KB
  • references/context-explorer.md6 KB
  • references/view-model.md12 KB
  • scripts/build_explorer.py27 KB

Alternatives to threat-model-visualize

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

threat-model-visualize: common questions

Does this skill run a new threat assessment?

No. The source says it resolves requests for a target's last scan and does not perform a new assessment.

What happens if the latest threat model is missing?

The skill discloses that before using an older fallback artifact.

Does it use Mermaid diagrams?

No. The source says it uses the shared workbench and role palette and does not use Mermaid.

How do I install threat-model-visualize?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is threat-model-visualize free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is threat-model-visualize safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to threat-model-visualize?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

threat-model-visualize Install

Add to stack

Loading.