Install any skill in seconds. Free to start, no credit card required.
Get Started Free →MCP threat-model artifact for a scaffolded harness. Reports allowed/denied tools, dangerous permissions count, secrets reachability, network/shell/file-write grants, default-deny posture. Verdict: clean (exit 0) / medium (exit 1) / high (exit 2). The 'enterprise gold' artifact for PR + compliance review.
.claude/skills/ruvnet-threat-model/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 0% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -44% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -9% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -13% | 0% |
> Codex skill: MCP threat-model artifact for PR / compliance review > (iter 112 → iter 114). User-labelled "enterprise gold."
Renders the existing mcp-scan findings as a clean threat-model artifact in the shape a security / compliance reviewer wants to see attached to a PR:
MCP Threat Model
Allowed tools: 3
Denied tools: 14
Dangerous permissions: 0
Secrets reachable: no
Network access: no
Shell access: no
File write: no
Default-deny policy: yes
Audit log: yes
Verdict: clean (exit 0)Same underlying scan as mcp-scan, presented as a single-screen artifact.
| Verdict | Exit | Triggers | |---|---|---| | clean | 0 | no dangerous perms, no secret exposure | | medium | 1 | network OR file-write granted, OR no audit log | | high | 2 | shell granted OR default-deny OFF OR secrets reachable |
The "secrets reachable" heuristic is conservative: true when MCP is in use AND deny rules don't guard .env* AND allow rules include any Read(...) grant.
/threat-model path=./my-harness
/threat-model path=./my-harness bundle=truebashharness threat-model ./my-harness # text artifact harness threat-model ./my-harness --json # full envelope harness threat-model ./my-harness --bundle # ADR-031 schema-1 harness threat-model ./my-harness --out tm.json # write to file
.harness/mcp-policy.json or .claude/settings.jsonpermissions
The artifact is small enough to paste verbatim into the PR description.
validate-harness (iter 22) — release-readiness umbrella (includesmcp-scan)
score-harness (iter 114) — broader 0-100 scorecard; MCP safety isone of its 5 dimensions
repo-genome (iter 114) — pre-scaffold readiness; MCP risk is one ofits 7 sections
Other measured skills in the registry, with their headline benchmark lift.