[Bug] Agent executes destructive database operations without confirmation, causing data loss
Resolved 💬 3 comments Opened May 5, 2026 by KhusainovFarrukh Closed Jun 3, 2026
Bug Description
the agent ran DROP DATABASE before a rename, destroying local data. it cost me 7.8GB local data. now i don't know if new dump is valid or not. so my 7.8GB valid data in Postgis is gone now because of Claude Opus 4.7
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.123
- Feedback ID: fee3ebc5-35b8-487a-b70a-7bb13062073b
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/farrukh_kh/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T09:54:48.091Z"},{"error":"Error: EACCES: permission denied, open '/etc/hosts'\n at writeFileSync (unknown)\n at XyH (/$bunfs/root/src/entrypoints/cli.js:142:1405)\n at n4H (/$bunfs/root/src/entrypoints/cli.js:139:7)\n at call (/$bunfs/root/src/entrypoints/cli.js:4919:1359)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T10:29:52.381Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T10:10:38.490Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗