with one click
defending-code-threat-model
Build a static security threat model.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Build a static security threat model.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Plan safe harness customization only.
Orient static defending-code review work.
Draft inert patches for verified findings.
Run static repo-read vulnerability review.
Triages static security findings.
Manage Apple Notes via memo CLI: create, search, edit.
Based on SOC occupation classification
| name | defending-code-threat-model |
| description | Build a static security threat model. |
| version | 1.0.0 |
| author | Anthropic, ported by Hermes Agent |
| license | Apache-2.0 |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"category":"security","tags":["security","threat-modeling","static-analysis"]}} |
Use this skill when the user asks to threat model a codebase, map attack surface, identify assets and trust boundaries, or prepare scope for a later static vulnerability scan.
delegate_task available for code-grounded review with toolsets=["repo-read"].THREAT_MODEL.md.Supported modes:
interview: gather owner input and produce THREAT_MODEL.md.bootstrap: derive a draft from static code review and any supplied local reports.bootstrap-then-interview: generate a code-grounded draft, then refine it with the owner.If the mode is omitted, ask whether an owner is available. Prefer bootstrap-then-interview when both an owner and a local checkout are available.
THREAT_MODEL.mddelegate_task(..., toolsets=["repo-read"], role="leaf")defending-code-vuln-scan and triage reviewersbootstrap, spawn bounded read-only child reviews. Use one child per major subsystem or trust boundary:delegate_task(
tasks=[
{
"goal": "Identify entry points, trust boundaries, assets, and threat classes for this subsystem.",
"context": "Target: <target>. Static review only. Produce concise threat rows with file references.",
"toolsets": ["repo-read"],
"role": "leaf",
}
]
)
interview, use clarify for missing owner context instead of guessing.THREAT_MODEL.md with these sections:
THREAT_MODEL.md exists and includes scope, assets, trust boundaries, threat rows, open questions, and mitigations.repo-read child.