ralph-security

A security-focused teammate for Agent Teams that reviews software for threats, weaknesses, exposed secrets, risky dependencies, and altered hooks. Threat modeling means thinking through how an attacker could misuse a system before it is built or released.

In plain words
What is it for?
Use it for threat modeling, code security audits, secret scanning, dependency checks for known vulnerabilities, pre-release security reviews, and hook-integrity checks.
Why use it?
It brings several security checks into development so problems are easier to find before deployment. It can also review a plan and check whether agent hooks have been tampered with.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/alfredolopez80/multi-agent-ralph-loop/ralph-security
Clone the repo
git clone --depth 1 https://github.com/alfredolopez80/multi-agent-ralph-loop

Made for: Claude Code.

Per session 204 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,259 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00204 $0.01259
Opus 5 $0.00102 $0.00629
Sonnet 5 $0.00041 $0.00252
Haiku 4.5 $0.00020 $0.00126

Measured 3d ago against content hash 41427b262b3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ralph-security scanned grade A with 0 findings 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/ralph-security.md · 114 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 114 lines · 204 tokens per session scan A 41427b262b3b

Subscribe to this mod's changes

ralph-security is an agent published in the GitHub repository alfredolopez80/multi-agent-ralph-loop (146 stars, last pushed 5d ago), with no licence file. It adds 204 tokens to every session and 1,259 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. 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

conclusion

Agent "conclusion" from DemonDamon/AgenticX, covering agents目录完整结构分析, 目录路径, 统计信息, 完整目录结构 and 详细文件内容分析.

DemonDamon/AgenticX · 0 tokens

query_optimizer_agent_plan

Query Optimizer Agent 是一个专门用于在 RAG (Retrieval-Augmented Generation) 流程中优化用户查询的智能体。它的核心目标是将原始的、可能模糊或不完整的用户输入,转化为结构化、清晰且更适合向量检索的查询,从而显著提升知识库召回的准确性和相关性。.

DemonDamon/AgenticX · 0 tokens

scientist

AI/ML researcher — paper analysis, hypothesis generation, experiment design. ONLY for named research paper/hypothesis/experiment. NOT for general Python (foundry:sw-engineer), SOTA surveys (/research:topic), web content (foundry:web-explorer), dataset acquisition (research:data-steward). TRIGGER: implementing from…

Borda/AI-Rig · 77 tokens

changes-review

Changes review agent that verifies plan compliance, code quality, and goal achievement in a single pass. Returns structured JSON findings.

maxritter/pilot-shell · 27 tokens

architecture-strategist

Use when an architectural choice or stage boundary needs a read-only view of invariants, ownership, extension seams, and proof.

tdwhere123/do-it · 30 tokens

security

설계층 보안 자문 — 위협 모델, 데이터 보호 등급, 인증·인가 경계 검토, 규정의 기술적 구현 요건. 코드 취약점 스캔은 범위 밖(기존 경로가 담당). report-only; 코드·문서 수정 X.

kohj1018/agentic-dev-harness · 65 tokens