Notice
incidentAGT-INC-2026-0005
Supabase MCP 'lethal trifecta': support-ticket prompt injection can make an agent leak a private integration_tokens table (researcher demo)
A behavioral incident: no malicious file, but an agent did something it should not have.
What happened
- Agent
- Cursor with Supabase MCP (demo)
- Date
- 2025-07
- Trigger
- prompt injection
- Impact
- data leak
- Root cause
- General Analysis demonstrated an agent with service_role access reading attacker-supplied ticket text, then writing private table contents back into the ticket. Described via Simon Willison; a research demonstration, not an in-the-wild exploit. Supabase docs recommend manual tool approval and read-only project-scoped mode.
What would have stopped it
- read-only scoped MCP mode
- manual tool-call approval
- not combining private data, untrusted input and an output channel
Sources
- simonwillison.net https://simonwillison.net/2025/Jul/6/supabase-mcp-lethal-trifecta
- supabase.com https://supabase.com/docs/guides/ai-tools/mcp
Wrong or outdated? Open an issue or PR against corpus/entries/AGT-INC-2026-0005.json.