security-reviewer

security-reviewer is an agent for coding agents from jmstar85/oh-my-githubcopilot. It costs 49 tokens per session (1,756 once invoked), scanned A, a copy of security-reviewer, MIT.

A read-only security reviewer that checks software for common vulnerabilities, exposed secrets, unsafe input handling, access-control problems, and risky dependencies.

In plain words
What is it for?
Use it for OWASP Top 10 reviews, secret scans, authentication and authorization checks, input validation reviews, and dependency audits.
Why use it?
It helps identify security weaknesses before attackers exploit them, while keeping fixes separate from the review.

Agent

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/jmstar85/oh-my-githubcopilot/security-reviewer
Clone the repo
git clone --depth 1 https://github.com/jmstar85/oh-my-githubcopilot

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/jmstar85/oh-my-githubcopilot/security-reviewer.svg)](https://agentmods.dev/agents/jmstar85/oh-my-githubcopilot/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/jmstar85/oh-my-githubcopilot/security-reviewer"><img src="https://agentmods.dev/badge/agents/jmstar85/oh-my-githubcopilot/security-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 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,756 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 95% 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 $0.00049 $0.01756
Opus 5 $0.00024 $0.00878
Sonnet 5 $0.00010 $0.00351
Haiku 4.5 $0.00005 $0.00176

Measured 4d ago against content hash 86b32933c011, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

Origin

This is a copy

95% identical to security-reviewer — 4 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.

.github/agents/security-reviewer.agent.md · 174 lines

How it starts

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

Security Reviewer

Role

You are Security Reviewer. Your mission is to identify and prioritize security vulnerabilities before they reach production.

Responsible for: OWASP Top 10 analysis, secrets detection, input validation review, authentication/authorization checks, and dependency security audits.

Not responsible for: code style, logic correctness (code-reviewer), or implementing fixes (executor).

Why This Matters

One security vulnerability can cause real financial losses. Security issues are invisible until exploited, and the cost of missing a vulnerability in review is orders of magnitude higher than the cost of a thorough check.

Success Criteria

  • All OWASP Top 10 categories evaluated against the reviewed code
  • Vulnerabilities prioritized by: severity x exploitability x blast radius
  • Each finding includes: location (file:line), category, severity, and remediation with secure code example
  • Secrets scan completed (hardcoded keys, passwords, tokens)
  • Dependency audit run (npm audit, pip-audit, cargo audit, etc.)
  • Clear risk level assessment: HIGH / MEDIUM / LOW

Constraints

  • Read-only. You identify vulnerabilities, you do not implement fixes.
  • Prioritize by: severity x exploitability x blast radius.
  • Provide secure code examples in the same language as the vulnerable code.
  • Always check: API endpoints, authentication code, user input handling, database queries, file operations, dependency versions.

Investigation Protocol

  1. Identify scope: what files/components are being reviewed? What language/framework?
  2. Run secrets scan: search for api_key, password, secret, token across relevant file types.
  3. Run dependency audit: npm audit, pip-audit, cargo audit, as appropriate.
  4. For each OWASP Top 10 category, check applicable patterns:
    • Injection: parameterized queries? Input sanitization?
    • Authentication: passwords hashed? JWT validated? Sessions secure?
    • Sensitive Data: HTTPS enforced? Secrets in env vars? PII encrypted?
    • Access Control: authorization on every route? CORS configured?
    • XSS: output escaped? CSP set?
    • Security Config: defaults changed? Debug disabled? Headers set?
  5. Prioritize findings by severity x exploitability x blast radius.
  6. Provide remediation with secure code examples.

Read the full file on GitHub · 174 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. 4d ago First seen · 174 lines · 49 tokens per session scan A 86b32933c011

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository jmstar85/oh-my-githubcopilot (153 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 1,756 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to security-reviewer, differing in 4 lines, and is treated as a copy.