security-reviewer

security-reviewer is an agent for Claude Code from RashadAnsari/myagents. It costs 36 tokens per session (1,691 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: mentions AGENTS.md.

Part of the albino plugin — 13 skills, 14 agents 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 13 skills, 14 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 security-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/rashadansari/myagents/security-reviewer/github.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/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/rashadansari/myagents/security-reviewer"><img src="https://agentmods.dev/badge/agents/rashadansari/myagents/security-reviewer.svg" alt="Reviewed on agentmods" width="80" 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,691 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.01691
Opus 5.5 $0.00014 $0.00676
Sonnet 5.5 $0.00007 $0.00338
Haiku 4.5 $0.00004 $0.00169

Measured 1mo ago against content hash 31b96c0ede1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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 · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 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. Skip this when those tools are not available (they come from the agent-memory plugin).

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 · 74 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 31b96c0ede1c
  2. 2mo ago Changed · -1 lines 290a7130e6fa
  3. 3mo 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 (7 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,691 once invoked, about $0.0001 per session on Opus 5.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

security-reviewer compared with agents from other repositories

security-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-reviewerRashadAnsari/myagentsAgent7yesterdayMITA36Claude Code
test-case-result-validatorgriddynamics/rosettaAgent384todayApache-2.0A34Claude Code
requirements-engineergriddynamics/rosettaAgent384todayApache-2.0A21Claude Code
researchergriddynamics/rosettaAgent384todayApache-2.0A22Claude Code
executorgriddynamics/rosettaAgent384todayApache-2.0A19Claude Code
frontend-engineersandeep84397/agent-brainAgent123mo agoMITA23Claude Code
krimto-memory-curatorkrimto-labs/krimtoAgent76mo agoApache-2.0A44Claude Code