跳到正文
Skillpedia
安全81k · #1657

harness-threat-model

它能做什么

这项技能为运行框架所暴露的工具创建分类威胁模型,并给出总体最坏情况的评级。适合为企业审查做准备的安全团队。

适用场景

  • ✓当你需要一份可与安全团队分享的威胁报告时。
  • ✓当一次发布需要附有书面证据的安全签署时。
  • ✓当你希望定期检查工具暴露面的变化时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-threat-model/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我的运行框架创建一份威胁模型,我可以发送给安全团队。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能运行威胁模型命令,读取总体最坏评级以及每项发现。当评级达到你选择的级别时,它可以以错误退出,默认级别为高。

技术内容(原始 SKILL.md)

作者在 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.

常见问题

它与工具扫描有什么不同?

工具扫描是针对每个服务器的检查,而威胁模型是用于审查的分类报告。

使用哪些评级等级?

干净、低、中、高。

如果工具没有安装怎么办?

它会报告降级状态,并在不失败的情况下退出。

详情

作者的原始描述

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

热度

GitHub 星标
81k
排名
#1657
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能