Skip to content
Skillpedia
Security81k · #1657

harness-threat-model

What it does

This skill creates a categorised threat model for the tools a harness exposes, with an overall worst-case rating. It is for security teams preparing for an enterprise review.

When to use it

  • ✓When you need a threat report to share with a security team.
  • ✓When a release needs security sign-off with written evidence.
  • ✓When you want a regular check of the tool surface for changes.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-threat-model/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-threat-model/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Create a threat model for my harness that I can send to our security team.”

5 new skills a week. 1 minute to read.

How it works

The skill runs the threat model command and reads the overall worst rating along with each finding. It can exit with an error when the rating reaches a level you choose, with high as the default.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.
  2. Parse { worst, findings[] }.
  3. --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

  • 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.

FAQ

How is it different from the tool scan?

The tool scan is a per-server check, while the threat model is a categorised report for review.

What rating levels are used?

Clean, low, medium and high.

What if the tool is not installed?

It reports degraded status and exits without failing.

Details

Original description by the author

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.

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1657
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills