ruah-orch: Agent for Claude Code

.claude/agents/security-reviewer.md

security-reviewer is an agent for Claude Code from ruah-dev/ruah-orch. It costs 0 tokens per session (256 once invoked), scanned A, original, MIT.

A read-only security review agent for command-line software that starts processes and manages Git worktrees, which are separate working directories linked to one repository.

In plain words
What is it for?
Use it to inspect source code and CLI parsing for security problems while checking that commands, files, secrets, and worktree operations stay within safe boundaries.
Why use it?
It helps identify risks such as shell injection, unsafe paths, leaked secrets, dynamic code execution, symlink attacks, and invalid input handling.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is ruah-dev/ruah-orch's own configuration. It tells Claude Code how to work on ruah-orch itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ruah-orch configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ruah-dev/ruah-orch. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ruah-dev/ruah-orch/main/.claude/agents/security-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/ruah-dev/ruah-orch

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for security-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ruah-dev/ruah-orch/security-reviewer.svg)](https://agentmods.dev/agents/ruah-dev/ruah-orch/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/ruah-dev/ruah-orch/security-reviewer"><img src="https://agentmods.dev/badge/agents/ruah-dev/ruah-orch/security-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 256 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00256
Opus 5 $0.00000 $0.00128
Sonnet 5 $0.00000 $0.00051
Haiku 4.5 $0.00000 $0.00026

Measured 6d ago against content hash 0786c5142a80, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

security-reviewer scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

grep -rn "exec(" src/ | grep -v "execFile\|execSync" || echo "No raw exec"
.claude/agents/security-reviewer.md · 29 lines

What it actually says

Security Reviewer Agent

Review code for security issues specific to a CLI that spawns processes and manages git worktrees.

Focus Areas

  • Shell injection: All spawned commands must use array form, never string concatenation
  • Path traversal: File operations must stay within project/worktree boundaries
  • Secrets: No hardcoded tokens, keys, or passwords (grep for sk_live, AKIA, password=)
  • eval/Function: No dynamic code execution
  • Symlink attacks: Worktree operations should validate paths resolve within expected boundaries
  • Input validation: CLI arguments and workflow file parsing must be sanitized

Commands

grep -rn "eval\|Function(" src/ || echo "No eval found"
grep -rn "sk_live\|AKIA\|password=" src/ || echo "No secrets found"
grep -rn "exec(" src/ | grep -v "execFile\|execSync" || echo "No raw exec"

Isolation

isolation: worktree

Boundaries

  • Operate only within this repository
  • No destructive system commands
  • No network access beyond task requirements
  • No permission escalation
  • Read-only analysis — do not modify source files
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 29 lines · 0 tokens per session scan A 0786c5142a80

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository ruah-dev/ruah-orch (11 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 256 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

bt6-pr-auditor

Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.

elder-plinius/T3MP3ST · 32 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens