Hi all. If you only read one AI security story as a Postgres DBA, I'd make it this one.
In July 2025 researchers showed a scenario with Supabase (Postgres underneath), its MCP server and Cursor. A developer asks the AI to look at the latest support tickets. One ticket, written by an attacker, contains instructions for the AI. Because the agent was connected with a powerful key, it could read private tables and write the result back where the attacker could see it. Simon Willison calls this mix the "lethal trifecta": access to private data, exposure to untrusted text, and a way to send data out.
It was a demonstration, and Supabase says no customer data leaked this way. Their answer was read-only mode by default, project scoping and limiting which tools are on, while admitting prompt injection isn't solved.
The lesson for us is old school. Don't hand an agent a superuser or a key that bypasses row level security. Use read-only where you can. And remember that any text column the agent reads is, in effect, input to the agent.
Read the original:
- Supabase MCP can leak your entire SQL database (Simon Willison)
- Defense in Depth for MCP Servers (Supabase)
This is my short summary and opinion. All details and credit belong to the original article linked above.

Comments
Post a Comment