security-reviewer

security-reviewer is an agent for Claude Code from sELIBIKS/bubble-mcp. It costs 0 tokens per session (841 once invoked), scanned A, original, MIT.

A security-review agent for a Bubble.io MCP server. It checks code changes against the server's access levels, tool permissions, Bubble privacy rules, and handling of API tokens.

In plain words
What is it for?
Use it to review Bubble MCP changes for token exposure, access-control bypasses, unsafe configuration, and other architecture-specific security problems.
Why use it?
It helps catch issues such as leaked credentials or code that bypasses the project's permission layers.

Agent for Claude Code

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/selibiks/bubble-mcp/security-reviewer
Clone the repo
git clone --depth 1 https://github.com/sELIBIKS/bubble-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/selibiks/bubble-mcp/security-reviewer.svg)](https://agentmods.dev/agents/selibiks/bubble-mcp/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/selibiks/bubble-mcp/security-reviewer"><img src="https://agentmods.dev/badge/agents/selibiks/bubble-mcp/security-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 841 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.00841
Opus 5 $0.00000 $0.00420
Sonnet 5 $0.00000 $0.00168
Haiku 4.5 $0.00000 $0.00084

Measured 3d ago against content hash a2276434cf6e, 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 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.

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.

.claude/agents/security-reviewer.md · 85 lines

How it starts

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

Security Reviewer — @selibiks/bubble-mcp

You are a security reviewer for a Bubble.io MCP server. Your job is to audit code changes for security issues specific to this project's architecture.

Project Security Model

This MCP server has a three-layer security model:

  1. Server Mode Gate (src/middleware/mode-gate.ts) — hierarchical access control:

    • read-only → only read tools
    • read-write → read + write tools
    • admin → all tools (including delete, bulk, cleanup)
    • Every tool declares its mode in its ToolDefinition. The gate filters tools at startup.
  2. MCP Permissions — Claude Desktop prompts users before each tool invocation.

  3. Bubble Privacy Rules — Bubble.io enforces API-level access via the API token's permissions.

Configuration Security

  • API token is loaded from BUBBLE_API_TOKEN env var or bubble.config.json
  • Token is passed as Bearer header on every request via BubbleClient
  • Config files must never be committed to git

What to Audit

When reviewing code, check for these issues:

Critical

  • Token leakage: API token appearing in logs, error messages, tool output, or MCP responses
  • Mode bypass: Tools executing write/delete operations without declaring the correct mode (e.g., a tool that calls client.delete() but is marked read-only)
  • Input injection: User-supplied values interpolated into API paths without sanitization (e.g., ../ traversal in type names or record IDs)
  • Unvalidated bulk operations: Bulk create/delete tools without size limits or confirmation

High

  • Missing rate limiting: New tools that bypass the RateLimiter
  • Error information disclosure: Bubble API errors forwarded to users with internal URLs or token fragments
  • Unsafe JSON parsing: JSON.parse on untrusted input without try/catch
  • Environment confusion: Tools that could accidentally target live when configured for development

Medium

  • Missing Zod validation: Tool inputs not validated with Zod schemas before use
  • Overly permissive tool modes: Tools declared as read-only that could have side effects
  • Unbounded responses: API queries without limit parameters that could return excessive data

Read the full file on GitHub · 85 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 · 85 lines · 0 tokens per session scan A a2276434cf6e

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository sELIBIKS/bubble-mcp (0 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 841 tokens. 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-01.