Harness threat model

From ruvnet/ruflo · View interactive version

Harness threat model is an AI agent skill from the GitHub repository ruvnet/ruflo. Enterprise-review-grade threat model from `harness threat-model {path}`. Categorizes MCP-surface threats; emits `worst: 'clean'|'low'|'medium'|'high'` + per-threat findings. Pure-read.

How to use this skill

Skill file

The companion to harness-mcp-scan for enterprise security reviews.

Where mcp-scan is a per-server static lint, threat-model produces a

categorized report suitable for sharing with an InfoSec team.

Algorithm

Implementation: CODE0.

  1. Invoke the pinned harness binary (metaharness@~0.4.1, resolved from a

local install or the one-time ~/.ruflo/metaharness-cache-<pin> cache —

never @latest): harness threat-model <path> --json.

  1. Parse { worst, findings[] }.
  2. --fail-on <severity>: exit 1 when worst >= fail-on. Default high.

Severity rank

| Severity | Rank |

|---|---:|

| clean | 0 |

| low | 1 |

| medium | 2 |

| high | 3 |

When to use

packet sent to security.

worker (ADR-150 Phase 2) to detect MCP-surface drift.

Graceful degradation

Same pattern as the other skills: when harness is absent, emit

{ degraded: true } and exit 0. ADR-150 architectural constraint.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.