mb-reviewer-security

mb-reviewer-security is an agent for Claude Code from fockus/skill-memory-bank. It costs 43 tokens per session (487 once invoked), scanned A, original, MIT.

A security reviewer for Memory Bank review groups. It checks code and changes for secrets, unsafe access, input handling, authentication, authorization, and risky filesystem, network, subprocess, or data-processing behavior.

In plain words
What is it for?
Use it to review a change for security risks and return a strict JSON verdict with issue severity, location, explanation, and suggested fix.
Why use it?
It focuses a review on security and operational harm that ordinary code review may miss. It also checks whether previous fixes weakened protections or exposed sensitive information.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: mentions subagents; mentions Codex.

Good fit Use it to review a change for security risks and return a strict JSON verdict with issue severity, location, explanation, and suggested fix.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fockus/skill-memory-bank/mb-reviewer-security
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/fockus/skill-memory-bank

Made for: Claude Code.

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 mb-reviewer-security

README.md
[![agentmods](https://agentmods.dev/badge/agents/fockus/skill-memory-bank/mb-reviewer-security/github.svg)](https://agentmods.dev/agents/fockus/skill-memory-bank/mb-reviewer-security)
Your own site
<a href="https://agentmods.dev/agents/fockus/skill-memory-bank/mb-reviewer-security"><img src="https://agentmods.dev/badge/agents/fockus/skill-memory-bank/mb-reviewer-security/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 mb-reviewer-security

Your own site · 80×15
<a href="https://agentmods.dev/agents/fockus/skill-memory-bank/mb-reviewer-security"><img src="https://agentmods.dev/badge/agents/fockus/skill-memory-bank/mb-reviewer-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 487 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.00043 $0.00487
Opus 5.5 $0.00017 $0.00195
Sonnet 5.5 $0.00009 $0.00097
Haiku 4.5 $0.00004 $0.00049

Measured 1mo ago against content hash b377051c22a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mb-reviewer-security 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.

agents/mb-reviewer-security.md · 53 lines

What it actually says

MB Reviewer Security

You are one reviewer in a Memory Bank review ensemble. Review only security, safety, and operational risk.

Review focus

  • No secrets, tokens, keys, private data, or auth material in code/logs/docs.
  • Protected paths are not edited without explicit approval.
  • Input validation at boundaries; no raw SQL/command/path injection.
  • Authn/authz checks before sensitive work.
  • Network, filesystem, subprocess, and deserialization behavior is bounded and safe.
  • Error handling does not leak secrets or hide dangerous failures.
  • Previous fixes did not widen permissions or bypass safeguards.

Severity

  • blocker: exploit/data loss/secret exposure/protected-path violation.
  • major: missing boundary validation or unsafe operational behavior.
  • minor: low-risk hardening or observability improvement that can become backlog.
  • medium (only when the review brief's gate declares it): a real defect that does not break acceptance; fixed before the gate passes.

Output

Strict JSON only:

{
  "reviewer": "mb-reviewer-security",
  "focus": "security",
  "verdict": "APPROVED" | "CHANGES_REQUESTED",
  "counts": {"blocker": 0, "major": 0, "minor": 0},
  "issues": [
    {"severity":"major", "category":"security", "file":"path", "line":0, "message":"concrete issue", "fix":"concrete fix"}
  ]
}

Report delivery (background runs)

Codex subagents deliver their final response to the parent automatically; put the complete report there. No separate message or report file is needed. On hosts whose background teammates deliver only an idle notification, send the complete report via SendMessage to the dispatcher before ending. If messaging is unavailable and your permissions allow it, write <bank>/.reports/<your-name>-<item>.md; otherwise return the report in your final response.

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 b377051c22a2
  2. 2mo ago Changed 0b95e4bdec3a
  3. 3mo ago First seen · 53 lines · 43 tokens per session scan A b9bb1a2055d2

Subscribe to this mod's changes

mb-reviewer-security is an agent published in the GitHub repository fockus/skill-memory-bank (33 stars, last pushed 5d ago), licensed MIT. It adds 43 tokens to every session and 487 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-08-30.

Related

mb-reviewer-security compared with agents from other repositories

mb-reviewer-security next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mb-reviewer-securityfockus/skill-memory-bankAgent335d agoMITA43Claude Code
style-analyzerdrobins25/craftAgent74yesterdayMITA203Claude Code
maze-architectdrobins25/craftAgent74yesterdayMITA157Claude Code
verifierdrobins25/craftAgent74yesterdayMITA178Claude Code
trailhead-grillToRvaLDz/trailheadAgent37yesterdayMITA27Claude Code
trailhead-code-reviewToRvaLDz/trailheadAgent37yesterdayMITA28Claude Code
trailhead-verifyToRvaLDz/trailheadAgent37yesterdayMITA33Claude Code