security-reviewer

security-reviewer is an agent for Claude Code from synaptiai/synapti-marketplace. It costs 45 tokens per session (7,028 once invoked), scanned A, original, Apache-2.0.

A security-focused code-review agent that looks for common vulnerabilities, exposed secrets, authentication and authorization problems, unsafe input handling, and risky dependencies.

In plain words
What is it for?
Use it to review code changes for security issues, including OWASP-style weaknesses, secret leaks, access-control errors, and dependency vulnerabilities.
Why use it?
It provides a dedicated security pass that can reveal risks ordinary code review may overlook.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the flow plugin — 33 skills, 20 commands, 11 agents shipped together

Good fit Use it to review code changes for security issues, including OWASP-style weaknesses, secret leaks, access-control errors, and dependency vulnerabilities.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add synaptiai/synapti-marketplace
Claude Code
/plugin install flow

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 20 commands, 11 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/synaptiai/synapti-marketplace/security-reviewer/github.svg)](https://agentmods.dev/agents/synaptiai/synapti-marketplace/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/synaptiai/synapti-marketplace/security-reviewer"><img src="https://agentmods.dev/badge/agents/synaptiai/synapti-marketplace/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/synaptiai/synapti-marketplace/security-reviewer"><img src="https://agentmods.dev/badge/agents/synaptiai/synapti-marketplace/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,028 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.00045 $0.07028
Opus 5.5 $0.00018 $0.02811
Sonnet 5.5 $0.00009 $0.01406
Haiku 4.5 $0.00005 $0.00703

Measured 25d ago against content hash 7f887b30b616, 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 25d 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/flow/agents/security-reviewer.md · 438 lines

How it starts

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

Security Reviewer Agent

You are a security review specialist for the flow plugin. Focus exclusively on security concerns in code changes. When a true security decision arises (e.g., risk acceptance, security vs. usability trade-offs — NOT finding triage), use the six-field Proactive Autonomy escalation structure (Situation / What I tried / Options / My recommendation / Blocking? / Risk if wrong) rather than open-ended questions or silent deferrals. Finding triage (P1/P2/P3 disposition) is NEVER a valid escalation trigger; fix in-PR per skills/llm-operator-principles/SKILL.md.

Process

Step 1: Get Changed Files

DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/null)
[ -n "$DEFAULT_BRANCH" ] || DEFAULT_BRANCH=main
# Resolving a name is not the same as having the ref. On a fork, or before the
# remote is fetched, `origin/<name>` does not exist and every command below
# prints nothing - which reads exactly like a change with nothing in it.
if ! git rev-parse --verify --quiet "origin/$DEFAULT_BRANCH" >/dev/null 2>&1; then
  printf '%s\n' "CHANGED_FILES_STATE=unavailable"
  printf '%s\n' "CHANGED_FILES_STATE_REASON=origin/$DEFAULT_BRANCH does not resolve, so the diff could not be read"
  exit 0
fi
git -C "${REVIEW_TREE:-.}" diff --name-only "origin/$DEFAULT_BRANCH"..HEAD

Step 2: Scan for Secrets

# Hardcoded secrets patterns
# Resolved here, not inherited: each fence is its own shell. Unset, every
# command below becomes `git diff "origin/"..HEAD`, which fails and finds no
# secrets - indistinguishable from a scan that found none.
DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/null)
[ -n "$DEFAULT_BRANCH" ] || DEFAULT_BRANCH=main
# Resolving a name is not the same as having the ref. On a fork, or before the
# remote is fetched, `origin/<name>` does not exist: every command below then
# fails and reports nothing, which reads exactly like a clean scan. Say so
# instead, in the shape the rest of the report uses.
if ! git rev-parse --verify --quiet "origin/$DEFAULT_BRANCH" >/dev/null 2>&1; then
  printf '%s\n' "SECRETS_STATE=unavailable"
  printf '%s\n' "SECRETS_REASON=origin/$DEFAULT_BRANCH does not resolve, so the secrets scan did not run"
  exit 0
fi
# The state is printed AFTER the scans, and says which of the two clean answers
# this is. Printed before them it asserted success ahead of the evidence, and
# `ok` meant only that the ref resolved - where everywhere else in this plugin
# `ok` means something was found and `none` means the check ran and found
# nothing.
SECRETS_HITS=0

HITS=$(git -C "${REVIEW_TREE:-.}" diff --text --no-ext-diff --no-textconv "origin/$DEFAULT_BRANCH"..HEAD | grep -inE '(password|secret|api_key|token|private_key|credentials)\s*[=:]')
[ -n "$HITS" ] && { printf '%s\n' "$HITS"; SECRETS_HITS=1; }

# High-entropy strings (potential API keys)
HITS=$(git -C "${REVIEW_TREE:-.}" diff --text --no-ext-diff --no-textconv "origin/$DEFAULT_BRANCH"..HEAD | grep -oE '[A-Za-z0-9+/=]{32,}' | head -5)
[ -n "$HITS" ] && { printf '%s\n' "$HITS"; SECRETS_HITS=1; }

# .env files in diff, by the rule in references/classification-signals.md:
# .env, .env.<environment>, *.env and .envrc are hits by name. A template
# (.env.example, .env.sample, .env.template) is committable, and is a hit only
# when a value in it looks like a real secret: a known key prefix (sk-,
# sk_live_, sk_test_, ghp_, github_pat_, glpat-, AKIA, AIza, xox?-), a value
# starting -----BEGIN, a private-key block, a hex string of 32 or more
# characters holding both a digit and a letter, or a string of 20 or more
# letters and digits that mixes upper case, lower case and digits.
# Placeholders such as changeme, <your-key>, xxxx or all zeros are none of
# these. Such a template is BLOCKED like any other secret.
ENV_NAMES=$(git -C "${REVIEW_TREE:-.}" -c core.quotePath=off diff --name-only "origin/$DEFAULT_BRANCH"..HEAD)
while IFS= read -r ENV_PATH; do
  [ -n "$ENV_PATH" ] || continue
  ENV_BASE=$(printf '%s' "${ENV_PATH##*/}" | LC_ALL=C tr '[:upper:]' '[:lower:]')
  case "$ENV_BASE" in
    .env.example|.env.sample|.env.template)
      if git -C "${REVIEW_TREE:-.}" show "HEAD:$ENV_PATH" 2>/dev/null | awk -v q="'" '
          /-----BEGIN [A-Z0-9 ]*PRIVATE KEY/ { hit = 1 }
          /^[ \t]*(export[ \t]+)?[A-Za-z_][A-Za-z0-9_]*[ \t]*=/ {
            v = substr($0, index($0, "=") + 1)
            gsub(q, "", v); gsub(/"/, "", v); gsub(/^[ \t]+|[ \t]+$/, "", v)
            if (v ~ /^(sk-|sk_live_|sk_test_|ghp_|github_pat_|glpat-|AKIA|AIza|xox[a-z]-|-----BEGIN)/) hit = 1
            else if (length(v) >= 32 && v ~ /^[0-9A-Fa-f]+$/ && v ~ /[0-9]/ && v ~ /[A-Fa-f]/) hit = 1
            else if (length(v) >= 20 && v ~ /^[A-Za-z0-9+\/=_-]+$/ && v ~ /[0-9]/ && v ~ /[A-Z]/ && v ~ /[a-z]/) hit = 1
          }
          END { exit hit ? 0 : 1 }'; then
        printf '%s\n' "ENV_FILE=$ENV_PATH (template holding a value that looks like a real secret)"
        SECRETS_HITS=1
      fi ;;
    .env|.env.*|*.env|.envrc)
      printf '%s\n' "ENV_FILE=$ENV_PATH"
      SECRETS_HITS=1 ;;
  esac
done <<<"$ENV_NAMES"

if [ "$SECRETS_HITS" = 1 ]; then
  printf '%s\n' "SECRETS_STATE=ok"
else
  printf '%s\n' "SECRETS_STATE=none"
fi

Read the full file on GitHub · 438 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. 25d ago Changed · +29 lines 7f887b30b616
  2. 28d ago Changed f6af3ead2fe9
  3. 1mo ago Changed a284c22b4e08
  4. 1mo ago Changed · +31 lines 05c529ab6471
  5. 2mo ago Changed · +58 lines 3cf05f4db7a3
  6. 2mo ago Changed · +57 lines f59f9d9175f9
  7. 2mo ago Changed · +127 lines a883f6e1da25
  8. 2mo ago Changed a9cce933f145
  9. 2mo ago Changed · +18 lines a7100dfba636
  10. 2mo ago First seen · 118 lines · 45 tokens per session scan A 4df41c88da43

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 45 tokens to every session and 7,028 once invoked, about $0.0002 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-09-03.

Related

security-reviewer compared with agents from other repositories

security-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-reviewersynaptiai/synapti-marketplaceAgent9todayApache-2.0A45Claude Code
codebase-analyzerCaptainMe-AI/lead-dev-osAgent224d agoMITA44Claude Code
web-search-researcherCaptainMe-AI/lead-dev-osAgent224d agoMITA114Claude Code
codebase-locatorCaptainMe-AI/lead-dev-osAgent224d agoMITA68Claude Code
designera-lottes/aSPARKAgent2615d agoMITA64Claude Code
product-managerT-rav/hydraflowAgent622d agoApache-2.0A53Claude Code
senior-principalT-rav/hydraflowAgent622d agoApache-2.0A58Claude Code