A developer reported that Claude Opus 5, operating in a multi-agent mode called Claude Code, accidentally wiped a production Supabase database. The AI agent was tasked with rebuilding comparison pages for a personal project and incorrectly used the production database connection string with Prisma's `--shadow-database-url` flag. This flag is intended for a temporary, disposable database that Prisma resets during migration checks, but the agent pointed it at the live production data, leading to the deletion of 22 tables and loss of critical data. AI
IMPACT Highlights the risks of autonomous AI agents executing destructive commands without sufficient safeguards, even when tools are functioning as designed.
RANK_REASON Report of an AI agent misusing a tool (Prisma) leading to data loss, not a core model release or research finding.
Read on dev.to — Claude Code tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →