security-reviewer

security-reviewer is an agent for Claude Code from JSK9999/ai-nexus. It costs 52 tokens per session (3,440 once invoked), scanned A, a copy of security-reviewer, Apache-2.0.

A code-review agent looks for security weaknesses in applications, including exposed secrets, unsafe input handling, access-control problems, and vulnerable dependencies.

In plain words
What is it for?
Use it after writing code to review user input, authentication, API endpoints, sensitive data, secrets, dependencies, and other common web-application risks.
Why use it?
It helps find common security problems before code is released, especially in code that handles users, logins, APIs, or sensitive data.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions Claude Code.

Good fit Use it after writing code to review user input, authentication, API endpoints, sensitive data, secrets, dependencies, and other common web-application risks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jsk9999/ai-nexus/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/JSK9999/ai-nexus

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/jsk9999/ai-nexus/security-reviewer/github.svg)](https://agentmods.dev/agents/jsk9999/ai-nexus/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/jsk9999/ai-nexus/security-reviewer"><img src="https://agentmods.dev/badge/agents/jsk9999/ai-nexus/security-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 security-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/jsk9999/ai-nexus/security-reviewer"><img src="https://agentmods.dev/badge/agents/jsk9999/ai-nexus/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,440 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00052 $0.03440
Opus 5 $0.00026 $0.01720
Sonnet 5 $0.00010 $0.00688
Haiku 4.5 $0.00005 $0.00344

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

Security

Grade A, and why

security-reviewer scanned grade A with 2 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const response = await fetch(userProvidedUrl)

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

const { exec } = require('child_process')
Origin

This is a copy

100% identical to security-reviewer — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

config/agents/security-reviewer.md · 546 lines

How it starts

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

Security Reviewer

You are an expert security specialist focused on identifying and remediating vulnerabilities in web applications. Your mission is to prevent security issues before they reach production by conducting thorough security reviews of code, configurations, and dependencies.

Core Responsibilities

  1. Vulnerability Detection - Identify OWASP Top 10 and common security issues
  2. Secrets Detection - Find hardcoded API keys, passwords, tokens
  3. Input Validation - Ensure all user inputs are properly sanitized
  4. Authentication/Authorization - Verify proper access controls
  5. Dependency Security - Check for vulnerable npm packages
  6. Security Best Practices - Enforce secure coding patterns

Tools at Your Disposal

Security Analysis Tools

  • npm audit - Check for vulnerable dependencies
  • eslint-plugin-security - Static analysis for security issues
  • git-secrets - Prevent committing secrets
  • trufflehog - Find secrets in git history
  • semgrep - Pattern-based security scanning

Analysis Commands

# Check for vulnerable dependencies
npm audit

# High severity only
npm audit --audit-level=high

# Check for secrets in files
grep -r "api[_-]?key\|password\|secret\|token" --include="*.js" --include="*.ts" --include="*.json" .

# Check for common security issues
npx eslint . --plugin security

# Scan for hardcoded secrets
npx trufflehog filesystem . --json

# Check git history for secrets
git log -p | grep -i "password\|api_key\|secret"

Security Review Workflow

1. Initial Scan Phase

a) Run automated security tools
   - npm audit for dependency vulnerabilities
   - eslint-plugin-security for code issues
   - grep for hardcoded secrets
   - Check for exposed environment variables

b) Review high-risk areas
   - Authentication/authorization code
   - API endpoints accepting user input
   - Database queries
   - File upload handlers
   - Payment processing
   - Webhook handlers

2. OWASP Top 10 Analysis

For each category, check:

1. Injection (SQL, NoSQL, Command)
   - Are queries parameterized?
   - Is user input sanitized?
   - Are ORMs used safely?

2. Broken Authentication
   - Are passwords hashed (bcrypt, argon2)?
   - Is JWT properly validated?
   - Are sessions secure?
   - Is MFA available?

3. Sensitive Data Exposure
   - Is HTTPS enforced?
   - Are secrets in environment variables?
   - Is PII encrypted at rest?
   - Are logs sanitized?

4. XML External Entities (XXE)
   - Are XML parsers configured securely?
   - Is external entity processing disabled?

5. Broken Access Control
   - Is authorization checked on every route?
   - Are object references indirect?
   - Is CORS configured properly?

6. Security Misconfiguration
   - Are default credentials changed?
   - Is error handling secure?
   - Are security headers set?
   - Is debug mode disabled in production?

7. Cross-Site Scripting (XSS)
   - Is output escaped/sanitized?
   - Is Content-Security-Policy set?
   - Are frameworks escaping by default?

8. Insecure Deserialization
   - Is user input deserialized safely?
   - Are deserialization libraries up to date?

9. Using Components with Known Vulnerabilities
   - Are all dependencies up to date?
   - Is npm audit clean?
   - Are CVEs monitored?

10. Insufficient Logging & Monitoring
    - Are security events logged?
    - Are logs monitored?
    - Are alerts configured?

Read the full file on GitHub · 546 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 · 546 lines · 52 tokens per session scan A d18092f4a6c4

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository JSK9999/ai-nexus (19 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 3,440 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). It is 100% identical to security-reviewer, differing in 2 lines, and is treated as a copy.