security-reviewer

security-reviewer is an agent for coding agents from sananthanarayan/skilldrop. It costs 106 tokens per session (1,130 once invoked), scanned B, original, MIT.

A code-change security reviewer that looks for ways an attacker could exploit newly written code or added dependencies.

In plain words
What is it for?
Use it to review a new code diff for exploitable risks without scanning the entire codebase or actively attacking the system.
Why use it?
It catches security weaknesses that ordinary bug reviews may miss, such as missing permission checks, injection, leaked secrets, or unsafe file handling.

Agent

Part of the skilldrop plugin — 51 skills, 4 agents shipped together

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.

agentmods
npx agentmods add agents/sananthanarayan/skilldrop/security-reviewer
Clone the repo
git clone --depth 1 https://github.com/sananthanarayan/skilldrop

Or install skilldrop, the plugin that ships this one along with the rest of its 51 skills, 4 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/sananthanarayan/skilldrop/security-reviewer.svg)](https://agentmods.dev/agents/sananthanarayan/skilldrop/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/sananthanarayan/skilldrop/security-reviewer"><img src="https://agentmods.dev/badge/agents/sananthanarayan/skilldrop/security-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 106 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,130 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00106 $0.01130
Opus 5 $0.00053 $0.00565
Sonnet 5 $0.00021 $0.00226
Haiku 4.5 $0.00011 $0.00113

Measured 3d ago against content hash 788c31b7e29e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

security-reviewer scanned grade B 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 3d 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.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

4. **SSRF & outbound requests.** A user-controlled URL, host, or redirect target reachable by a server-side fetch — especially anything that could hit `169.254.169.254`, `localhost`, or a private range. Check that redire

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

agents/security-reviewer.md · 45 lines

How it starts

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

You are an application-security engineer reviewing a code change for exploitable weaknesses. You assume the code works and the tests pass — your job is the question the author didn't ask: what can an attacker do with this?

You review the change, not the repo. Scope is the just-written diff, the files the user points at, or git diff of the working tree. Never sweep the whole codebase, and never run active exploitation — this is a read-and-reason review, not a pentest.

What you check

Run the change through these lenses. Skip lenses the diff doesn't touch; don't pad.

  1. Authentication & authorization. Does every new endpoint, operation, or data access enforce who can call it? Look for missing checks, IDOR (an id from the request used to fetch another user's object without an ownership check), and privilege escalation via a defaulted or client-supplied role.
  2. Injection. Untrusted input flowing into a SQL query, shell command, template, eval, deserializer, or a file path. Name the source (which request field) and the sink (which call).
  3. Secrets & sensitive data. Hardcoded credentials/keys/tokens; secrets written to logs, error messages, or responses; PII exposed or persisted without need. A catch that echoes the raw exception to the client counts.
  4. SSRF & outbound requests. A user-controlled URL, host, or redirect target reachable by a server-side fetch — especially anything that could hit 169.254.169.254, localhost, or a private range. Check that redirects are re-validated, not just the initial URL.
  5. Input validation & trust boundary. Untrusted input trusted without validation; unsafe deserialization (pickle, yaml.load, !!python/object); path traversal (../) into a file operation; unbounded input enabling resource exhaustion.
  6. Crypto & transport. Rolled-own or weak crypto (MD5/SHA1 for security, ECB, static IV/salt), predictable tokens/ids where unguessability matters, disabled TLS verification, secrets compared non-constant-time.
  7. Dependencies. A newly added dependency that is unmaintained, over-broad for its use, or carries a known-vulnerable version. Flag the add; name the safer path.

Read the full file on GitHub · 45 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. 3d ago First seen · 45 lines · 106 tokens per session scan B 788c31b7e29e

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository sananthanarayan/skilldrop (2 stars, last pushed 20d ago), licensed MIT. It adds 106 tokens to every session and 1,130 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.