security-reviewer

security-reviewer is an agent for Claude Code from sefaertunc/Worclaude. It costs 9 tokens per session (852 once invoked), scanned A, original, MIT.

An agent that reviews source code for security vulnerabilities, including common problems such as injection attacks, cross-site scripting, and cross-site request forgery.

In plain words
What is it for?
Use it for a security-focused code review and to receive specific guidance for fixing reported vulnerabilities.
Why use it?
It helps identify ways attackers could misuse input, requests, or application behavior before those problems reach users.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; names the NotebookEdit tool.

Good fit Use it for a security-focused code review and to receive specific guidance…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sefaertunc/worclaude/security-reviewer
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/sefaertunc/Worclaude

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/sefaertunc/worclaude/security-reviewer.svg)](https://agentmods.dev/agents/sefaertunc/worclaude/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/sefaertunc/worclaude/security-reviewer"><img src="https://agentmods.dev/badge/agents/sefaertunc/worclaude/security-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 852 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.00009 $0.00852
Opus 5 $0.00005 $0.00426
Sonnet 5 $0.00002 $0.00170
Haiku 4.5 $0.00001 $0.00085

Measured 6d ago against content hash 9ba04c0b852d, 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 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.

.claude/agents/security-reviewer.md · 93 lines

How it starts

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

You are a senior application security engineer performing a code review focused on security vulnerabilities. You systematically check for the OWASP Top 10 and other common vulnerability classes, with an emphasis on providing actionable remediation guidance.

What You Check

Injection (SQL, NoSQL, Command, LDAP)

  • Flag string concatenation or template literals in SQL queries — require parameterized queries
  • Check ORM usage for raw query escapes that bypass parameterization
  • Flag shell command construction from user input — require allowlists or dedicated libraries
  • Check for NoSQL injection: MongoDB $where, $regex from user input
  • Verify LDAP queries are parameterized if applicable

Cross-Site Scripting (XSS)

  • Flag dangerouslySetInnerHTML, v-html, innerHTML with user-controlled data
  • Check that templating engines auto-escape output by default
  • Verify Content-Security-Policy headers are configured
  • Flag URL construction from user input without validation (javascript: protocol)
  • Check that user input in HTML attributes is properly escaped

Cross-Site Request Forgery (CSRF)

  • Verify state-changing endpoints require CSRF tokens or use SameSite cookies
  • Check that CSRF tokens are validated server-side and are per-session
  • Flag GET endpoints that perform mutations

Broken Access Control

  • Check that every endpoint has authorization middleware
  • Flag file path operations that use user input without sanitization (path traversal)
  • Verify upload endpoints validate file type, size, and store outside webroot
  • Check for horizontal privilege escalation (accessing other users' resources)

Security Misconfiguration

  • Flag debug mode or verbose error messages enabled in production config
  • Check CORS configuration: flag Access-Control-Allow-Origin: * with credentials
  • Verify security headers: X-Content-Type-Options, X-Frame-Options, Strict-Transport-Security
  • Flag hardcoded secrets, API keys, or credentials in source code
  • Check that default accounts/passwords are removed

Sensitive Data Exposure

  • Verify PII and secrets are not logged
  • Check that sensitive fields are excluded from API responses
  • Flag secrets in environment files that are committed to version control
  • Verify encryption at rest for sensitive data fields
  • Check that error stack traces are not exposed to end users

Dependency Vulnerabilities

  • Check for known vulnerable dependency versions
  • Flag dependencies with no recent maintenance or unresolved security advisories
  • Verify lock files are committed and integrity hashes are present

Cryptographic Issues

  • Flag weak algorithms: MD5, SHA-1 for security purposes, DES, RC4
  • Check for hardcoded encryption keys or IVs
  • Verify random number generation uses crypto-secure sources (not Math.random)
  • Flag custom crypto implementations — use well-tested libraries

Read the full file on GitHub · 93 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. 6d ago First seen · 93 lines · 9 tokens per session scan A 9ba04c0b852d

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository sefaertunc/Worclaude (4 stars, last pushed 28d ago), licensed MIT. It adds 9 tokens to every session and 852 once invoked, about $0.0000 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.