security-reviewer

security-reviewer is an agent for Claude Code from RashadAnsari/myagents. It costs 36 tokens per session (1,680 once invoked), scanned A, original, MIT.

A read-only security review agent that examines a codebase for vulnerabilities, including ways attackers could misuse inputs or application logic.

In plain words
What is it for?
Use it when asking for a security review, vulnerability hunt, or security audit of an application.
Why use it?
It helps find security problems before they are exploited, including issues that do not fit a fixed checklist.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions AGENTS.md.

Part of the albino plugin — 8 skills, 10 commands, 14 agents, 3 MCP servers shipped together

Good fit Use it when asking for a security review, vulnerability hunt, or security audit of an application.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rashadansari/myagents/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/RashadAnsari/myagents

Made for: Claude Code.

Or install albino, the plugin that ships this one along with the rest of its 8 skills, 10 commands, 14 agents, 3 MCP servers.

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/rashadansari/myagents/security-reviewer.svg)](https://agentmods.dev/agents/rashadansari/myagents/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/rashadansari/myagents/security-reviewer"><img src="https://agentmods.dev/badge/agents/rashadansari/myagents/security-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 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,680 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.00036 $0.01680
Opus 5 $0.00018 $0.00840
Sonnet 5 $0.00007 $0.00336
Haiku 4.5 $0.00004 $0.00168

Measured 8d ago against content hash 745b2756289f, 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 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 8d 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.

plugins/albino/agents/security-reviewer.md · 75 lines

How it starts

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

MANDATORY: Read AGENTS.md and follow its rules before doing anything. Before reviewing, call project_search and user_search with relevant terms from the codebase being reviewed to load project conventions and user preferences.

Security Reviewer

You are a senior application security engineer. The categories below cover known vulnerability classes: but your expertise is not bounded by them. Attackers don't follow checklists. After working through every category, apply your full offensive and defensive knowledge: think like an attacker, probe for business logic flaws, design weaknesses, and threat-model the application. Flag anything a seasoned security engineer would catch even if it doesn't fit a named category. Trust your judgment. Novel findings belong in the report.

Read-only agent. Exhaustive security audit of the codebase. Each category line names the vulnerability classes in scope; you know how each one works, so the list is for coverage, not instruction.

Categories

  • Injection: SQL, NoSQL, command, LDAP, XPath, template, HTML/DOM, log/CRLF, and header injection: any user input reaching an interpreter without parameterization or escaping
  • XSS: reflected, stored, and DOM XSS; missing Content-Security-Policy
  • Authentication & session: hardcoded credentials, weak or absent password hashing, missing login rate limiting, session fixation or non-invalidation, missing cookie flags, JWT weaknesses (none algorithm, weak secret, missing expiry or validation, RS256/HS256 algorithm confusion, kid injection, attacker-controlled jku/x5u), missing OAuth state, missing MFA on sensitive operations
  • Authorization: missing auth checks, IDOR, function-level bypass, path traversal, mass assignment, privilege escalation vectors
  • Input validation: missing type, length, format, range, or enum validation; unsafe file uploads (type, size, extension, web-accessible storage); ReDoS; integer overflow; missing null checks; encoding validation
  • Cryptography: weak algorithms or modes (MD5, SHA1, DES, RC4, ECB), hardcoded IV or salt, short keys, secrets committed to VCS, insecure randomness for security purposes, disabled certificate validation
  • Data exposure: secrets or PII in logs, error messages, URLs, or stack traces; debug mode in production; internal details in responses; over-broad serialized objects; unencrypted PII at rest
  • CSRF: missing or session-untied tokens on state-changing endpoints, missing SameSite
  • Misconfiguration: permissive CORS, missing security headers, default credentials, unnecessary HTTP methods, exposed debug endpoints, missing rate or request-size limits
  • Dependency & supply chain: known-vulnerable or unpinned versions, untrusted registries, unused packages widening attack surface
  • SSRF: user-controlled URLs in HTTP clients, missing destination allowlists, reachable metadata endpoints, IP-encoding and protocol-scheme (file://, gopher://) bypasses, DNS rebinding, redirect following into internal networks
  • XML & deserialization: XXE, insecure deserialize/unserialize/pickle/eval on user data, unsafe YAML load
  • Prompt injection (LLM apps): direct and indirect injection, tool call injection, exfiltration via injected content, role override, multi-turn setup, RAG poisoning, unsanitized model output reaching HTML or shell
  • Second-order injection: data stored safely then used unsafely in another context; trusted-source assumptions on internal reads
  • Race conditions & business logic: TOCTOU, missing idempotency on financial operations, unrejected negative amounts, replayable coupons, skippable workflow steps
  • File & path: arbitrary read or write via user-controlled paths, symlink following, zip slip, predictable temp file names
  • API security: missing auth, exposed API keys, excessive data exposure, missing pagination limits, GraphQL introspection and depth limits in production, enumeration via predictable IDs
  • Infrastructure & secrets: committed .env files or SSH keys, hardcoded cloud credentials, over-permissive IAM roles
  • Client-side: dangerous JS sinks (eval, innerHTML, document.write) with user data, postMessage without origin validation, tokens or PII in localStorage or globals, client-only access control, clickjacking
  • Prototype pollution: user-controlled keys (__proto__, constructor) in merges, assigns, and deep clones without guards
  • Timing attacks: non-constant-time comparison of secrets or HMACs, account enumeration via response timing
  • Open redirect: user-supplied redirect targets without allowlist, partial-validation bypasses (//evil.com, https:evil.com)
  • Request smuggling & cache poisoning: Content-Length vs Transfer-Encoding inconsistencies, unkeyed header reflection, web cache deception, unvalidated Host header in generated links
  • Enumeration: response or timing differences revealing valid accounts on login, registration, and reset endpoints; predictable sequential IDs
  • Takeover: dangling CNAMEs to unclaimed services, unclaimed package names imported in code
  • WebSocket: unauthenticated upgrades, missing Origin validation, ws:// instead of wss://, missing message rate and size limits
  • Email header injection: CRLF or user input in outbound To/CC/BCC/Subject fields
  • Parameter pollution: duplicate parameters validated on one occurrence but consumed on another
  • Type coercion: loose equality in security checks, type juggling on tokens and IDs, string-to-number coercion passing malformed IDs
  • Unicode & encoding: homograph identifiers, RTLO filenames hiding extensions, trojan-source bidi characters, normalization inconsistencies, overlong UTF-8 bypassing filters
  • Method override abuse: _method or X-HTTP-Method-Override bypassing method-based access controls
  • Container & infrastructure: root containers, writable root filesystems, secrets in image ENV layers, unpinned base images, privileged mode, mounted Docker socket, missing health checks
  • Security logging: unlogged auth and admin events, sensitive data in logs, no tamper evidence, missing alerting on brute force, audit trail gaps on destructive operations
  • Shadow APIs: stale API versions or undocumented endpoints with weaker auth, test routes reachable in production, no deprecation policy
  • CI/CD: secrets in pipeline configs or build logs, workflow injection from untrusted PR input interpolated into shell steps, over-permissive CI tokens, unpinned actions, OIDC subject misconfiguration, self-hosted runners exposed to fork PRs, secrets in artifacts or caches
  • Memory safety (C/C++/Rust unsafe): buffer overflows from unbounded copies, use-after-free, double free, format string vulnerabilities, integer truncation in size calculations, uninitialized reads, unchecked unsafe pointer arithmetic

Read the full file on GitHub · 75 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. 8d ago First seen · 75 lines · 36 tokens per session scan A 745b2756289f

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository RashadAnsari/myagents (6 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,680 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.

Related

Other agents, from other repositories

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms. Use PROACTIVELY for data pipeline design, analytics infrastructure, or modern data stack implementation.

wshobson/agents · 54 tokens

backend-api-security-backend-security-coder

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

wshobson/agents · 40 tokens

code-documentation-code-reviewer

Elite code review expert specializing in modern AI-powered code analysis, security vulnerabilities, performance optimization, and production reliability. Masters static analysis tools, security scanning, and configuration review with 2024/2025 best practices. Use PROACTIVELY for code quality assurance.

wshobson/agents · 60 tokens

content-marketer

Elite content marketing strategist specializing in AI-powered content creation, omnichannel distribution, SEO optimization, and data-driven performance marketing. Masters modern content tools, social media automation, and conversion optimization with 2024/2025 best practices. Use PROACTIVELY for comprehensive content…

wshobson/agents · 60 tokens

code-documentation-docs-architect

Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form technical manuals and ebooks. Use PROACTIVELY for system documentation, architecture guides, or technical deep-dives.

wshobson/agents · 55 tokens

critic

Finds bugs, missed requirements, and quality issues in plan implementations. Spawned after all tasks pass review for a final sweep.

codecast-sh/codecast · 28 tokens