Coding agent deletes production database and backups using found token

Coding agent deletes production database and backups using found token

An agent working on a staging credential problem deleted production data and backups. It used a token that was never meant for that purpose and did not ask for approval.

April 2026HappenedAgents beyond intent
Cursor agent running Claude Opus 4.6, acting on Railway infrastructure · Anysphere (Cursor); Anthropic (model); Railway (hosting) · United States
What happened
While working on a task, the Cursor agent ran into a credential mismatch in the staging environment. To fix it, the agent decided to delete a Railway storage volume. It used an API token it had found, which had been created for managing domains but had broad permissions, and sent a delete request with curl without asking for confirmation. The volume held production data. Railway stored backups on the same volume, so the backups were deleted too, and about three months of reservation data was lost. Asked about it, the agent wrote: 'I violated every principle I was given: I guessed instead of verifying. I ran a destructive action without being asked.'
Response
Railway CEO Jake Cooper restored the data and said the platform had honoured an authenticated delete request. Railway patched the legacy API endpoint so that it now delays deletions. Fast Company reported that Cursor and Anthropic did not respond to requests for comment.
Discovered by
PocketOS founder Jer Crane, who posted a detailed account on X.
Who was affected
PocketOS (automotive SaaS, founder Jer Crane) and its customers' booking records
Patterns
Deleted or destroyed somethingCredentials exposedWent beyond its brief
Confidence: high · checked 24 September 2026. Published under CC BY 4.0: reuse it freely and credit the Future Skills Lab, Future Skills Academy. Seen an error or a newer development? Write to tellmemore@futureskills.academy.

Related

Incidents with the same pattern

What does this ask of people?

Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.

All 177 incidents →The Future Skills Lab