Skip to content
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
Category
Security
License
Apache-2.0
Last commit
Dec 1, 2026

skills/ripwire-security-scan/SKILL.md

View on 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.

Similar Skills

agent-security-hardening

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

Featured

ponytail-audit

Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.

DIDietrichGebert/ponytail202k4,226 new stars in the last 7 days

gstack

GAgarrytan/gstack143k524 new stars in the last 7 days

Featured

security-and-hardening

Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.

ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days

doubt-driven-development

ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days

ruview-rvagent

RUruvnet/RuView106k596 new stars in the last 7 days