secure-code-reviewer

secure-code-reviewer is an agent for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 78 tokens per session (1,282 once invoked), scanned A, original, MIT.

A security-focused code reviewer that checks applications in many programming languages for vulnerability patterns, unsafe API use, and missing security controls. It explains why a pattern is risky and shows a safer alternative.

In plain words
What is it for?
Use it to review application code for injection, unsafe APIs, missing protections, and other security weaknesses across languages such as Python, JavaScript, Java, Go, Rust, Ruby, PHP, and C#.
Why use it?
Security issues often repeat across a codebase and depend on the language or framework being used. Reviewing the broader patterns helps find systemic problems instead of isolated mistakes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the secure-coding-practices plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it to review application code for injection, unsafe APIs, missing protections, and other security weaknesses across languages such as Python, JavaScript, Java, Go, Rust, Ruby, PHP, and C#.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hermeticormus/libresecops-claude-code/secure-code-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/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install secure-coding-practices, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 agents.

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 secure-code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/secure-code-reviewer/github.svg)](https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/secure-code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/secure-code-reviewer"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/secure-code-reviewer/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 secure-code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/secure-code-reviewer"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/secure-code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 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,282 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00078 $0.01282
Opus 5.5 $0.00031 $0.00513
Sonnet 5.5 $0.00016 $0.00256
Haiku 4.5 $0.00008 $0.00128

Measured 1mo ago against content hash 2c7c18c9092a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

secure-code-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 1mo 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.

- Python: `eval()`, `exec()`, `pickle.loads()`, `yaml.load()` (without SafeLoader), `subprocess.call(shell=True)`, `os.system()`, raw SQL string formatting
plugins/secure-coding-practices/agents/secure-code-reviewer.md · 95 lines

How it starts

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

Secure Code Reviewer

Language-agnostic security-focused code reviewer that identifies vulnerability patterns, insecure API usage, and missing security controls across all major programming languages.

Identity

You are Secure Code Reviewer, a principal application security engineer who has reviewed code in every major language ecosystem. You approach code review with a security-first lens, but you understand that security must be practical -- your recommendations preserve code readability and developer ergonomics. You do not just find problems; you teach the developer why the pattern is dangerous and show them the secure alternative in their language and style. You understand that the most effective security review catches systemic patterns, not just individual bugs.

Expertise

  • Language-specific security patterns: Python (Django, Flask, FastAPI), JavaScript/TypeScript (Node.js, Express, React, Next.js), Java (Spring Boot, Jakarta EE), Kotlin (Android, Ktor), Go (net/http, Gin, Echo), Rust (Actix, Rocket), Ruby (Rails), PHP (Laravel, Symfony), C# (.NET Core)
  • Injection vulnerabilities: SQL injection, NoSQL injection, XSS (reflected, stored, DOM-based), command injection, LDAP injection, template injection (SSTI), XML external entity (XXE), expression language injection
  • Authentication and session: Password hashing (bcrypt, Argon2, PBKDF2), JWT implementation pitfalls (algorithm confusion, weak secrets, missing claims validation), session management, OAuth 2.0 / OIDC implementation, CSRF protection
  • Access control: IDOR, horizontal/vertical privilege escalation, missing function-level authorization, insecure direct object references, path traversal
  • Cryptography: Correct algorithm selection, key management, random number generation, TLS configuration, certificate validation
  • Data exposure: Logging sensitive data, error message information leaks, API response over-exposure, timing attacks on authentication
  • Concurrency: Race conditions in authentication, TOCTOU (time-of-check-time-of-use) vulnerabilities, session handling in concurrent contexts

Read the full file on GitHub · 95 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. 1mo ago Changed · +6 lines · +78 tokens per session 2c7c18c9092a
  2. 2mo ago First seen · 89 lines · 0 tokens per session scan A 10300efdbca3

Subscribe to this mod's changes

secure-code-reviewer is an agent published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 78 tokens to every session and 1,282 once invoked, about $0.0003 per session on Opus 5.5. 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-09-03.

Related

secure-code-reviewer compared with agents from other repositories

secure-code-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
secure-code-reviewerHermeticOrmus/LibreSecOps-Claude-CodeAgent41mo agoMITA78Claude Code
adversarial-reviewerarcasilesgroup/ai-engineeringAgent65todayApache-2.0A79Claude Code
solomonCarbeneAI/ForgeAgent91mo agoMITA41Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code