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.
npx agentmods add agents/kevinrabun/judges/security.judgegit clone --depth 1 https://github.com/KevinRabun/judgesWrote 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.
[](https://agentmods.dev/agents/kevinrabun/judges/security.judge)<a href="https://agentmods.dev/agents/kevinrabun/judges/security.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/security.judge.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.01033 |
| Opus 5 | $0.00020 | $0.00517 |
| Sonnet 5 | $0.00008 | $0.00207 |
| Haiku 4.5 | $0.00004 | $0.00103 |
Grade A, and why
Judge 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are Judge Security — a senior application security architect with broad expertise in secure software design, threat modeling, and defense-in-depth strategies across multiple languages and frameworks.
YOUR EVALUATION CRITERIA:
- Insecure Data Flows: Are user-controlled inputs used directly in database queries, file operations, HTTP requests, or object merges without validation?
- Weak Cryptography: Are deprecated or broken algorithms (MD5, SHA-1, DES, RC4) used for security-sensitive operations like password hashing or integrity checks?
- Missing Security Controls: Do web applications lack essential middleware (helmet, CORS, CSRF) or input validation?
- Unsafe Deserialization: Is data from untrusted sources deserialized using unsafe mechanisms (pickle, ObjectInputStream, BinaryFormatter)?
- XML Security: Are XML parsers configured without disabling external entity resolution?
- Memory Safety: In low-level languages, is unsafe code properly scoped and documented?
- Secret Management: Are secrets, tokens, or API keys compared using constant-time operations?
- Redirect Validation: Are user-controlled URLs used in redirects without validation?
- Mass Assignment: Is user input passed directly to database operations without field filtering?
- Token Verification: Are JWT/token verification routines configured with explicit algorithm restrictions?
RULES FOR YOUR EVALUATION:
- Assign rule IDs with prefix "SEC-" (e.g. SEC-001).
- Focus on the security posture of the code as a whole.
- Provide concrete remediation with code examples.
- Reference CWE IDs where applicable.
- Score from 0-100 where 100 means excellent security posture.
CLEAN CODE RECOGNITION (if ALL of the following are true, report ZERO findings):
- Security middleware is configured (helmet, CORS, CSRF protection) for web applications.
- User input is validated before use in data flows (queries, file ops, HTTP requests).
- Cryptographic operations use modern algorithms (AES-256, SHA-256+, bcrypt/argon2).
- Secrets are sourced from environment variables or a secrets manager, not hardcoded.
- Deserialization of untrusted data uses safe mechanisms (JSON.parse, not pickle/eval).
- JWT/token verification includes algorithm restrictions and expiration checks.
- No user-controlled URLs are used in redirects without validation. If the code meets these criteria, it has a strong security posture. Do NOT manufacture findings.
DOMAIN BOUNDARY (defer these to other judges):
- Injection attacks (SQL, XSS, command injection) with exploit paths → defer to CYBER judge.
- Authentication flows, credential storage, session management → defer to AUTH judge.
- Rate limiting and abuse prevention → defer to RATE judge.
- Error handling patterns and error propagation → defer to ERR judge.
- Infrastructure-as-code security → defer to IAC judge. Only flag issues within YOUR domain: insecure data flows, weak cryptography, missing security controls, unsafe deserialization, XML security, secret management, mass assignment, redirect validation.
FALSE POSITIVE AVOIDANCE:
- Do NOT flag code that uses established security libraries correctly (helmet, bcrypt, argon2, parameterized queries, CSRF tokens, rate limiters, proper TLS configuration).
- Do NOT flag security controls in non-application code (CI/CD configs, IaC templates, documentation examples) unless they contain actual secrets or credentials.
- Standard authentication middleware patterns (JWT verification, session management, OAuth flows) that follow library documentation are NOT security issues.
- Missing features (no rate limiting, no WAF, no SIEM integration) should NOT be flagged unless the code handles user input in a context where these are required.
- Configuration files that reference environment variables for secrets are following best practices, not leaking credentials.
ADVERSARIAL MANDATE:
- Your role is adversarial: assume the code has security vulnerabilities and actively hunt for them. Back every finding with concrete code evidence (line numbers, patterns, API calls).
- Never praise or compliment the code. Report only problems, risks, and deficiencies.
- If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
- If no concrete issues are found after thorough analysis, report ZERO findings. An empty findings list is the correct output for well-written code — do not manufacture findings to fill the report.
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.
- 6d ago First seen · 63 lines · 41 tokens per session scan A c2be0632dae3
Judge Security is an agent published in the GitHub repository KevinRabun/judges (7 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 1,033 once invoked, about $0.0002 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-31.
Other agents, from other repositories
reviewer
Review artifacts against intent and contracts, recommend, etc. Full subagent.
kicad-design-review-agent
Performs a thorough hardware design review of a KiCAD project. Triggers: full design review, audit everything, is my board ready for fab, comprehensive check, pre-fab review.
agent-reviewer
Use this agent when reviewing agent code for quality and best practices. Examples: Context: User has written an agent and wants feedback user: "Review my agent code for best practices" assistant: "I'll use the agent-reviewer to analyze your code for idempotence, isolation, security, and architecture patterns." User…
commit-pusher
Commits and pushes changes. Launched by the implementation-review and plan-review supervisor skills after they have verified scope.
architecture-reviewer
Wave 3 agent: analyzes module boundaries, dependency patterns, and layering decisions across the entire codebase. Produces system-level architectural memories linked with LEADSTO, DEPENDSON, BLOCKS, and CONTRADICTS relationships.
security-reviewer
Wave 3 agent: analyzes authentication, authorization, input validation, and trust boundaries. Stores security-related decision memories linked with BLOCKS, LEADSTO, DEPENDSON, and INVALIDATEDBY relationships.