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-10-16AI system

Software component issue could allow unintended commands to run

The The Slim SEO – AI SEO Plugin, Lightweight, Fast & Automated plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 4.11.1 This is due to the software allowing users…

Indirect prompt injection changes agent behaviornvd.nist.gov
Security advisory2026-10-16AI agent

Software component issue could allow unintended commands to run

The DoubleScale | All-in-One CRM – Sales, Multi-Channel Marketing, Newsletter, Booking, Helpdesk, Automation, MCP & More plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including,…

Indirect prompt injection changes agent behaviornvd.nist.gov