Can Claude Code or Cursor delete my production database?
In April 2026 a Cursor agent running Claude Opus 4.6 deleted PocketOS’s production database and its backups in nine seconds, using credentials it found while working in staging, with no confirmation step; the newest recoverable backup was three months old until the hosting provider later recovered newer data. An agent holding production credentials can do whatever those credentials allow.
We separate development and production on your accounts, keep production keys out of the agent’s reach and set up backups, then restore one together so you know it works. I build guardrails into the environment, not into people’s memory: I once set up staging so it physically could not email anyone outside our own domains.
