跳到正文
FunCoding

ripwire-security-scan

Security review: (1) vet an untrusted SKILL.md or .mcp.json BEFORE installing it — injection/exfiltration scanner, CRITICAL blocks the install; (2) audit code on an untrusted-input path (deserializer, parser, exec of user data, network endpoint): taint reach, untested seams. One scan pass is the verdict.

Star
2,585
分类
安全
许可证
Apache-2.0
最近提交
2026年12月1日

skills/ripwire-security-scan/SKILL.md

在 GitHub 上查看

Security scan with ripwire

Routing: wiring ripwire ITSELF into an agent → ripwire-mcp · diff risk, not specifically security → ripwire-change-check.

What is untrusted?

You haveRunVerdict
a SKILL.md someone sent youripwire --scan-skill=PATH/TO/SKILL.mdexit 0 clean · 1 WARN (review first) · 2 CRITICAL — do not install
a skills folderripwire --scan-skills=DIR (bare: also the repo-local, Claude and Codex skill homes)worst severity found; CRITICAL is a hard block
an .mcp.json / MCP configripwire <dir> --grep-in=any --grep='"command"' --grep-context=6 --legend=compact, then read each server stanzamanual checklist: command origin, shell metacharacters in args, paths to secrets (~/.ssh, ~/.aws/credentials), env
code on an untrusted-input path (parser, deserializer, exec of user data, endpoint)ripwire <dir> --lint --legend=compact (unsafe constructs), then reach: ripwire <dir> --graph-query='callees(name("SYM"),6)'ranked concerns: sink sites, the entry reaching them, untested seams (ripwire <dir> --seams --legend=compact)

A scanner finding prints severity, file:line, the rule id (INJECTION:ignore-prev, exfiltration, path traversal) and the offending text verbatim. ripwire wrap <agent> runs the skills scan itself and refuses on CRITICAL unless --force.

For config and for a sink census, always pass --grep-in=any: JSON/TOML/YAML parse to string-tier nodes, so on a mixed repo one code-tier hit hides every config file. ripwire retrieves the raw stanza; the semantic security decision stays manual.

Stop rule and trust

One scan pass is the verdict for a skill file. For code, the pass is taint REACH, not taint analysis: a reached sink is a place to read, not a proven vulnerability, and name-based edges can miss dynamic dispatch. If a --grep in your report ran WITHOUT --grep-in=any, say so — a tiered answer is a filtered one.

Reference files

skill-mcp-scan.md the scanner's rules and output, the full MCP checklist with the measured --grep-in=any difference · code-pass.md the structural code pass step by step (unsafe constructs, taint reach, seams, sinks), the Output shape.

相似的 Skill

agent-security-hardening

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

精选

ponytail-audit

审计整个代码库,找出 bug、安全漏洞和性能瓶颈,获得按重要性排序的通俗报告。

DIDietrichGebert/ponytail202k近 7 天新增 4,226 个 star

gstack

GAgarrytan/gstack143k近 7 天新增 524 个 star

精选

security-and-hardening

按 OWASP Top 10 检查输入处理、登录和依赖,加固代码。

ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star

doubt-driven-development

ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star

ruview-rvagent

RUruvnet/RuView106k近 7 天新增 596 个 star