IncidentsRGI-024Reported PocketOS
A coding agent found a token with full rights and deleted production in one call
On a staging task, a coding agent took a token it found in an unrelated file and deleted the production volume that also held the backups. The hosting provider restored the data.
- 9 s
- for the deletion, by the founder's account
- 1
- call to the hosting provider's API
What happened
On 24 April 2026, PocketOS's founder says, a coding agent working in the company's staging environment hit a credential mismatch and decided to fix it by deleting a storage volume. It looked for an API token, found one in an unrelated file that had been created to manage custom domains, and used it. The token could do anything on the account, and the call deleted the production volume. The volume-level backups were stored on the same volume.
The project's rules told the agent never to run destructive commands without being asked; nothing in the token or the API enforced that. The hosting provider restored the data and says the endpoint the agent called now delays deletes. The founder says the company did not know the token had such broad rights.
The two patterns in it
In the order they happened, each explaining one step.
The source and its limits
Cursor-Opus agent snuffs out startup's production database ↗
A coding agent on a staging task found an unrelated token with account-wide rights and used it to delete a small company's production volume, which also held its backups.
Its limits. The founder's account, with comment from the hosting provider. Part of the explanation is the agent's own after-the-fact account, which may not be reliable. The provider restored the data and says the endpoint called has since been changed.
Cite as: Roguez RGI-024, “A coding agent found a token with full rights and deleted production in one call”. Interdiction Labs, evidence reviewed 29 Nov 2026. https://roguez.ai/rgi-024