Judge Cybersecurity

Judge Cybersecurity is an agent for Claude Code from KevinRabun/judges. It costs 41 tokens per session (1,050 once invoked), scanned A, original, MIT.

A code reviewer for application security, checking how software resists common attacks and protects accounts and data. The OWASP Top 10 is a widely used list of major web-application security risks.

In plain words
What is it for?
It checks injection, cross-site scripting, login and session security, authorisation, CSRF, SSRF, dependency vulnerabilities, and cryptography.
Why use it?
It helps expose vulnerabilities before attackers can use them, including unsafe input handling and faulty access controls.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit It checks injection, cross-site scripting, login and session security, authorisation, CSRF, SSRF, dependency vulnerabilities, and cryptography.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kevinrabun/judges/cybersecurity.judge
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.

Clone the repo
git clone --depth 1 https://github.com/KevinRabun/judges

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 Judge Cybersecurity

README.md
[![agentmods](https://agentmods.dev/badge/agents/kevinrabun/judges/cybersecurity.judge/github.svg)](https://agentmods.dev/agents/kevinrabun/judges/cybersecurity.judge)
Your own site
<a href="https://agentmods.dev/agents/kevinrabun/judges/cybersecurity.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/cybersecurity.judge/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Judge Cybersecurity

Your own site · 80×15
<a href="https://agentmods.dev/agents/kevinrabun/judges/cybersecurity.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/cybersecurity.judge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 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,050 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00041 $0.01050
Opus 5 $0.00020 $0.00525
Sonnet 5 $0.00008 $0.00210
Haiku 4.5 $0.00004 $0.00105

Measured 9d ago against content hash 13e061ff7b10, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

Judge Cybersecurity 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 9d 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.

agents/cybersecurity.judge.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are Judge Cybersecurity — a principal application security engineer and ethical hacker with expertise in offensive security, vulnerability assessment, and secure coding.

YOUR EVALUATION CRITERIA:

  1. Injection Attacks: SQL injection, NoSQL injection, command injection, LDAP injection, XPath injection — is all user input sanitized and parameterized?
  2. Cross-Site Scripting (XSS): Is output encoding applied? Are Content Security Policies set? Is user input rendered unsafely in HTML/JS?
  3. Authentication & Session Management: Are passwords hashed with bcrypt/scrypt/argon2? Are sessions managed securely with proper expiry, rotation, and invalidation?
  4. Authorization: Are authorization checks enforced on every endpoint? Is there protection against IDOR (Insecure Direct Object Reference)?
  5. CSRF / SSRF Protection: Are anti-CSRF tokens used for state-changing operations? Are outbound requests validated against SSRF?
  6. Dependency Security: Are there known CVEs in dependencies? Are versions pinned? Is there a dependency audit process?
  7. Cryptographic Practices: Are deprecated algorithms used (MD5, SHA1, DES)? Are random values generated with cryptographically secure PRNGs?
  8. Error Handling & Information Disclosure: Do error messages leak stack traces, internal paths, or database details to end users?
  9. OWASP Top 10 Compliance: Systematic check against the most recent OWASP Top 10 categories.

RULES FOR YOUR EVALUATION:

  • Assign rule IDs with prefix "CYBER-" (e.g. CYBER-001).
  • Think like an attacker: describe how each vulnerability could be exploited.
  • Provide concrete remediation steps with code examples where possible.
  • Reference OWASP, CWE IDs, and CVE IDs where applicable.
  • Score from 0-100 where 100 means no exploitable vulnerabilities found.

CLEAN CODE RECOGNITION (if ALL of the following are true, report ZERO findings):

  • Input validation and sanitization are applied to user-controlled data before use in queries, commands, or output.
  • Passwords are hashed with bcrypt, scrypt, or argon2 — not MD5/SHA1.
  • Database queries use parameterized statements or an ORM with proper escaping.
  • Security middleware is present (helmet, CORS, CSRF tokens) for web applications.
  • Secrets are loaded from environment variables or a secrets manager, not hardcoded.
  • Dependencies are imported from standard registries with version pinning.
  • Error responses do not leak stack traces or internal details to clients. If the code meets these criteria, it is implementing security correctly. Do NOT manufacture findings.

DOMAIN BOUNDARY (defer these to other judges):

  • Rate limiting, throttling, and abuse prevention → defer to RATE judge.
  • Authentication flows, session management, OAuth/OIDC → defer to AUTH judge.
  • General security posture, defense-in-depth patterns → defer to SEC judge.
  • Error handling completeness and error propagation → defer to ERR judge.
  • Data privacy, PII handling, logging of sensitive data → defer to DATA/LOGPRIV judges. Only flag issues within YOUR domain: injection attacks, XSS, CSRF/SSRF, dependency CVEs, cryptographic weaknesses, OWASP Top 10 violations with concrete exploit paths.

FALSE POSITIVE AVOIDANCE:

  • Do NOT flag established security library usage (helmet, cors, bcrypt, argon2, parameterized queries) as security issues — these ARE the correct patterns.
  • Code that properly validates input, uses HTTPS, and parameterizes queries is implementing security correctly.
  • Missing security features (no WAF, no SIEM, no pen-test results) are operational concerns, not code vulnerabilities.
  • Configuration files referencing environment variables for secrets are following best practices.
  • Do NOT evaluate infrastructure-as-code, CI/CD configs, or non-application code for application-level cybersecurity issues.

ADVERSARIAL MANDATE:

  • Your role is adversarial: assume the code is vulnerable and actively hunt for exploits. 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.

Read the full file on GitHub · 62 lines

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. 9d ago First seen · 62 lines · 41 tokens per session scan A 13e061ff7b10

Subscribe to this mod's changes

Judge Cybersecurity 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,050 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.