threat-model-visualize
できること
このスキルは、既存の脅威モデルから、リスクがどう起こりうるか、どこに対策が役立つかを示す視覚的な探索ツールを作ります。リスクを理解する必要がある、アプリケーションのチームや経営層向けです。
使う場面
- ✓脅威モデルを、対話的なアーキテクチャの図として見たいとき。
- ✓攻撃がどう起こりうるか、どこで対策によって止められるかを、経営陣に示したいとき。
- ✓プロジェクトの直近のスキャンからの脅威モデルを求めるとき。
スキルのリンク
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/threat-model-visualize/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“経営チームが攻撃経路を追えるように、請求サービスの直近のスキャンでの脅威モデルを可視化してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、既存の脅威モデルと、その最新の評価を見つけ、アーキテクチャと脅威の経路を示す独立したページを作ります。不確かな点は、確認された発見事項ではなく、仮説として印を付けておきます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Threat Model Visualize
Create a standalone explorer that shows application teams and leadership what can go wrong, how it could happen, why it matters, and where controls would stop or limit it. Use the shared workbench and role palette; do not use Mermaid or run a new scan.
A request such as “Visualize the threat model generated in the last scan of X” is sufficient. Resolve the target, latest assessment and snapshot. If the latest artifact is missing, disclose that before using an older fallback. The default input is the existing threat-model artifact, not an automatic import of a complete scan. Keep inputs immutable and do not silently combine snapshots. Do not inspect application code or invent topology, authority, controls, reachability or validation.
Capture source-supported deployment context: exposure, trust, tenant and process boundaries, identities, and conditional deployment assumptions. Do not treat repository defaults as proof of deployed configuration. Preserve uncertainty and the distinction between hypotheses, findings, declared controls and observed enforcement. For several explicitly supplied artifacts, pass one derived document to --assessment. Label verbatim excerpts with each source’s identity, snapshot and original finding status. Distinguish findings from hypotheses, identify local IDs, and preserve conflicting accounts and the original artifacts.
For a fresh candidate or regeneration, author a new view model; do not patch or copy a previous candidate model or HTML. Ordinary edits may reuse the existing model. Renderer-only polishing is a display update, not fresh generation.
1. Enumerate and validate the source
Complete this phase before planning any visualization, choosing display groupings or routes, assigning geometry, or authoring the explorer JSON. Save source-inventory.md in the workspace. Validate fidelity to the supplied assessment, not the application implementation; do not run a new assessment to fill gaps.
Record the assessment identity, exact file hash and scope. Give inventory rows semantic IDs and supporting source spans or exact quotations, without assigning visual node or edge IDs. Enumerate:
- Components and roles: actors, inputs, application components, stores, external dependencies, trust boundaries, platform-specific instances and administrative contexts. Distinguish trusted operators, assumed compromise, controlled input, owned assets and enforcing components.
- Relationships and capabilities: each supported caller → operation → receiver relationship, meaningful return, independently sufficient authority or entry condition, prerequisites and platform/deployment conditions. Enumerate alternatives per operation: an account session and an issued capability may each authorize the same operation. Preserve known logical capabilities when transport or order is unknown; do not import a prerequisite from another entry point.
- Controls and qualifications: each protective mechanism → enforcing owner → constrained component → protected operation, with conditions and evidence. Record an unmapped enforcer explicitly; configuring or being subject to a restriction does not establish enforcement ownership. Classify existing mechanisms, proposals, security objectives, configuration behavior and caveats separately. Ownership, expanded permissions, disabled protection or documentation advice alone is not an existing safeguard.
- Threat-model coverage: substantive threats, supplied findings, hypotheses and consequential configurations, linked to the relevant components, relationships and controls. Retain source confidence, potential impact and unresolved questions.
Review the inventory against the complete assessment before proceeding. Check that evidence supports the same object, caller, operation and owner; distinguish configuration delivery from protected operations and assets from their managers. Do not transfer a validation rule between different inputs or infer platform endpoints from a group label. Account for every substantive source concern; reconcile aliases and record contradictions without inventing a resolution. Correct unsupported assertions, misclassified controls and unexplained omissions now.
Finish the inventory with source-reconciliation corrections and unresolved source gaps. Keep later model-repair notes and review verdicts in correctness-review.md, not this source inventory. It is ready for composition when its claims are supported
よくある質問
新しい評価を実行しますか?
いいえ。既存の脅威モデルを使い、新たなセキュリティ評価は実行しません。
最新の脅威モデルがない場合は?
スキルは、古いバージョンを使う前にその旨を開示します。
システムの構造を作り上げますか?
いいえ。ソースが裏付けない構成、対策、到達可能性は作り出しません。
詳細
作者による元の説明
Turn an existing threat model into an interactive architecture and threat-path explorer. Resolve simple requests for a target's last scan; do not perform a new assessment.
repo: openai/codex-security
人気
- GitHubのスター
- 11k
- ランキング
- #11758
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
assess-patch-risk
11kエージェントが、マージ前にコードパッチのリスクを判断できるよう支援します。影響範囲、それをカバーするテスト、元に戻せるかを確認します。
attack-path-analysis
11kエージェントが、セキュリティ上の発見事項を入口から標的まで追跡し、実際の影響と、報告すべきかどうかを判断できるよう支援します。
cloud-findings
11kエージェントが、接続されたアカウントから既存のCodex Security Cloudの発見事項、レポート、スキャンの状態を、何も変更せずに読めるよう支援します。
deep-security-scan
11kエージェントが、独立した確認を繰り返し、検証された発見事項を統合することで、リポジトリやフォルダの徹底的な複数パスのセキュリティスキャンを実行できるよう支援します。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。