Documented incidentPublished 2025-07-08Supabase MCP usersEngineering postmortem

Hidden instructions in a support ticket make an MCP-connected assistant expose private SQL tables (Supabase MCP, 2025)

General Analysis showed that hidden instructions in a customer support ticket could make a developer's MCP-connected assistant query a private table of integration tokens.

What happened

  • The assistant used service_role database privileges, which bypass row-level security, so nothing limited which tables it could read.Supabase MCP can leak your private SQL tables
  • Mitigations include read-only database access, restricting the assistant's tools and manually reviewing tool calls.Supabase MCP can leak your private SQL tables

The failure pattern

Watch the pattern: Indirect prompt injection changes agent behavior

Safeguards that address it

CollectSEA's engineering analysis of what would have prevented or contained this failure.

  • Give agents least-privilege, read-only database rolesDo not hand an assistant a role that bypasses row-level security; scope it to the tables the task needs.
  • Keep untrusted ticket text away from privileged tool useRequire human approval when a model acting on user-submitted text tries to read sensitive tables.

Related standards

CollectSEA's mapping through this incident's failure pattern; not an official determination by the standards bodies.

Building something similar?

Describe your design and see every precedent that applies, with safeguards you can hand to your coding agent.

Analyze your design
Security advisory2026-11-27AI agent

Bagel (bagel-mcp) issue could allow unintended commands to run

Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows attackers to inject rsync options because only --quiet and --log-format values are rejected.

Indirect prompt injection changes agent behaviornvd.nist.gov
Security advisory2026-11-27AI agent

WhoDB issue could allow unauthorized access

WhoDB from 0.88.0 before 0.132.0 contains an access control bypass in the MCP whodb_query tool, letting callers run file-writing statements without approval because the sqlguard keyword classifier omits INTO, OUTFILE and…

Indirect prompt injection changes agent behaviornvd.nist.gov