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.
/plugin marketplace add synaptiai/synapti-marketplace/plugin install flowWrote 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.
[](https://agentmods.dev/agents/synaptiai/synapti-marketplace/security-reviewer)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
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.
- 25d ago Changed · +29 lines 7f887b30b616
- 28d ago Changed f6af3ead2fe9
- 1mo ago Changed a284c22b4e08
- 1mo ago Changed · +31 lines 05c529ab6471
- 2mo ago Changed · +58 lines 3cf05f4db7a3
- 2mo ago Changed · +57 lines f59f9d9175f9
- 2mo ago Changed · +127 lines a883f6e1da25
- 2mo ago Changed a9cce933f145
- 2mo ago Changed · +18 lines a7100dfba636
- 2mo ago First seen · 118 lines · 45 tokens per session scan A 4df41c88da43
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.
security-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-reviewersynaptiai/synapti-marketplace | Agent | 9 | today | Apache-2.0 | A | 45 | Claude Code |
| codebase-analyzerCaptainMe-AI/lead-dev-os | Agent | 2 | 24d ago | MIT | A | 44 | Claude Code |
| web-search-researcherCaptainMe-AI/lead-dev-os | Agent | 2 | 24d ago | MIT | A | 114 | Claude Code |
| codebase-locatorCaptainMe-AI/lead-dev-os | Agent | 2 | 24d ago | MIT | A | 68 | Claude Code |
| designera-lottes/aSPARK | Agent | 26 | 15d ago | MIT | A | 64 | Claude Code |
| product-managerT-rav/hydraflow | Agent | 6 | 22d ago | Apache-2.0 | A | 53 | Claude Code |
| senior-principalT-rav/hydraflow | Agent | 6 | 22d ago | Apache-2.0 | A | 58 | Claude Code |