Browse / Tool and Agent Misuse / AIID-1676
Anthropic Claude Opus 5 Coding Agent Reportedly Reset a Live Supabase Production Database During Prisma Migration Work
- Class
- Tool and Agent Misuse (filed by a model that read the source)
- Technique
- Real-world incidents
- Affected
- Anthropic, AI Agent System Developers, Large Language Model Developers (incident)
What happened, in short
A Claude Opus 5 coding agent ran prisma migrate diff with the production URL as the shadow database, causing Prisma to drop all 22 tables in a live Supabase database. (Our summary, written by a model. The source text is below.)
Details
A developer reported that a Claude Opus 5 coding agent reset a live Supabase database while autonomously repairing a personal project's schema. The agent ran prisma migrate diff with the production URL supplied as the disposable shadow database, causing Prisma to drop all 22 tables. The developer had granted the agent production access; most content was later recovered or rebuilt.
References
Source: AI Incident Database, used under CC BY-SA 4.0.