Skip to content
Code Generation
Skill

/ripwire-security-scan

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

From plugin
ripwire
2.6k19 skills5 hooks1 MCP

Claude Code

$ npx -y skills add redhat-et/ripwire --skill ripwire-security-scan --agent claude-code

SKILL.md

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

Security scan with ripwire

> Routing: wiring ripwire ITSELF into an agent as an MCP server (not auditing someone else's) → **ripwire-mcp** · > general diff risk, not specifically security → **ripwire-change-check** · unsure → **ripwire-router**.

The decision: what is untrusted?

| You have | Run | Verdict | |---|---|---| | a `SKILL.md` someone sent you | `ripwire --scan-skill=PATH/TO/SKILL.md` | exit `0` clean · `1` WARN (review before installing) · `2` CRITICAL — do not install | | a whole skills folder | `ripwire --scan-skills=DIR` (bare form also scans the repo-local, Claude and Codex skill homes) | worst severity found; CRITICAL is a hard block | | an `.mcp.json` / MCP config | `ripwire <dir> --grep-in=any --grep='"command"' --grep-context=6 --legend=compact`, then read each server stanza | the manual 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, network endpoint) | `ripwire <dir> --lint --legend=compact` (unsafe constructs), then the entry's reach: `ripwire <dir> --graph-query='callees(name("SYM"),6)' --legend=compact` | a ranked list of concerns: sink sites, the entry that reaches them, untested seams (`ripwire <dir> --seams --legend=compact`) |

Each 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 before it prints a recipe and refuses on a CRITICAL unless `--force`.

**For config and for a sink census, always pass `--grep-in=any`.** A JSON/TOML/YAML file parses entirely to string-tier nodes, so on a mixed repo one code-tier hit suppresses every config file and serves prose instead. ripwire indexes JSON config keys and retrieves their raw context, but it does not understand the security semantics of an MCP stanza: retrieval is automated, the semantic decision remains manual.

Stop rule and trust

One scan pass is the verdict for a skill file. For code, the structural pass is taint REACH, not real taint analysis: a reached sink is a place to read, not a proven vulnerability, and name-based edges can miss dynamic dispatch. If any `--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 chain) and the Output shape.

Read more
@redhat-et
Ships withripwire

The ripgrep of AI context. A map before your agent reads the repo — and a check on what it writes. Ranked, deterministic call graph: what to touch, what it breaks, which tests to run.

2.6k19 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.6k
Star history of redhat-et/ripwire on GitHub, a chart by star-history.com

Other skills on ripwire.

emitting-output

emitting-output

Writing or converting formatted output in ripwire's C++ source — std::print/std::format via rw::emitTo, emitRaw and formatTo,…

@redhat-et@redhat-etInstall Skill
ripwire-before-you-build

ripwire-before-you-bui…

Starting a FEATURE (multi-symbol work): the plan, the API boundary, the scope — how big does this change get — from the…

@redhat-et@redhat-etInstall Skill
ripwire-change-check

ripwire-change-check

Merge-SAFETY of an existing diff — yours before you push, or a PR you review: blast radius, tests to run, a broken contract…

@redhat-et@redhat-etInstall Skill
ripwire-find-bug

ripwire-find-bug

You have a SYMPTOM — crash, exception, wrong output, failing test, error string — and don't know which code is responsible. Ranks…

@redhat-et@redhat-etInstall Skill
ripwire-fresh-eyes

ripwire-fresh-eyes

Maintenance risk in code you did NOT write — inheriting a module, planning a refactor, a suspected god object, 'what's gnarly /…

@redhat-et@redhat-etInstall Skill

More skills from other plugins.

orval

orval

Generate type-safe API clients, TanStack Query/SWR hooks, Zod schemas, MSW mocks, Hono server handlers, MCP servers, and…

orval1d6.6k
@orval-labs@orval-labsInstall Skill
claude-api

claude-api

Use this skill when the user is building against Anthropic APIs or SDKs, including `@anthropic-ai/sdk`, `anthropic`, or Agent SDK…

@oboard@oboardInstall Skill
paper2code

paper2code

Converts an arxiv paper into a minimal, citation-anchored Python implementation. Trigger when user runs /paper2code with an arxiv…

paper2code13d1.5k

Questions about ripwire-security-scan.

Which coding agents can use ripwire-security-scan?
ripwire-security-scan installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.