Skills Development Harness Threat Model Analysis

Harness Threat Model Analysis

v20261108
harness-threat-model
This skill generates enterprise-grade threat models for MCP surfaces by invoking the harness binary. It categorizes security threats and outputs severity levels such as clean, low, medium, or high with detailed findings. Ideal for pre-launch security reviews and periodic audits to detect drift. Supports JSON or table formats and gracefully degrades if harness is unavailable.
Get Skill
208 downloads
Overview

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: scripts/threat-model.mjs.

  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

SeverityRank
clean0
low1
medium2
high3

When to use

  • Pre-launch review: include the JSON output in the release-readiness

packet sent to security.

  • Periodic audit: schedule via the planned oia-audit background

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.

Info
Category Development
Name harness-threat-model
Version v20261108
Size 1.42KB
Updated At 2026-11-11
Language