AI agent incidents
Public incidents where an AI agent changed or deleted something it shouldn't have, what the sources say happened, and what would have prevented each one.
- An agent deleted a production volume and its backups with one API call 27 April 2026 databasecloud-volumeapi-token
Scope every API token to the operations it exists for; never leave a full-permission token in the repository.
- A coding agent deleted a production database during a code freeze 21 July 2025 databaseapp-builder
Keep development and production in separate databases, with separate credentials.
What would have prevented them
Each entry ends with the steps that would have stopped it or made it recoverable. None of them needs a product. Gathered here, they make a short checklist for anyone giving an agent access to something that matters.
Agent deleted a production volume and backups in one call
- Scope every API token to the operations it exists for; never leave a full-permission token in the repository.
- Keep backups somewhere the production credentials can't delete.
- Require a confirmation or a delay on destructive infrastructure calls.
- Keep staging and production resources apart, with separate identifiers and credentials.
Agent deleted a production database during a code freeze
- Keep development and production in separate databases, with separate credentials.
- Give the agent a role that can't drop or delete in production.
- Make a code freeze a permission change, not an instruction in the chat.
- Know where your backups are and test a restore before you need one.
Go deeper
How Deedglass approaches this: the policy guide.