An AI coding agent deleted a startup's database in nine seconds
In April, the founder of the software company PocketOS said an AI coding agent deleted the company's production database and its backups in nine seconds. The hosting provider later restored the data from an older backup.
Checked Nov 17, 2026, 7:00 PM ET
- Affected
- PocketOS and the car rental businesses that use its software
- Effect
- Rental businesses rebuilt recent bookings by hand from payment and email records, according to the founder
- Status
- Resolved. Operations were restored from a three-month-old backup (Decrypt, Apr 28).
What happened
Confirmed2- ConfirmedAn AI coding agent deleted PocketOS's production database with a single command, according to founder Jeremy Crane. He says it took nine seconds.
- ConfirmedThe same command removed the backups stored with the database. The hosting provider Railway restored the data from a separate backup that was three months old, according to Decrypt.
The cause
Official accountPocketOS founder Jeremy Crane says the agent, Cursor running Anthropic's Claude Opus 4.6, deleted a storage volume on its own initiative while working on a routine task, using an access token with broad permissions. Railway's founder Jake Cooper describes it as a customer's AI using a fully permissioned token.
For your household
No action or purchase is needed. This affected one software company and its business customers. If you let an AI tool act for you, give it the narrowest access that does the job and keep your own copy of important files.
Share this check
Sources
- Tom's HardwareReportingApr 27, 2026Claude-powered AI coding agent deletes entire company database in 9 seconds
- DecryptReportingApr 28, 2026AI Agent Deletes Startup's Database in 9 Seconds, Founder Says
The full story
What happened
In late April 2026, Jeremy Crane, the founder of PocketOS, wrote that an AI coding agent had deleted his company's production database. PocketOS makes software that car rental businesses use for reservations and payments. Crane said the deletion took nine seconds and also removed the backups stored alongside the database.
Crane said his customers spent the next day rebuilding bookings by hand from payment records and email confirmations.
The data was not lost for good. Railway, the hosting provider, restored it from a separate backup. Decrypt reports that the backup was three months old, so recent records had gaps.
The cause
By Crane's account, the agent was the Cursor coding tool running Anthropic's Claude Opus 4.6. It was doing a routine task in a test environment, hit a credentials problem, and decided on its own to fix it by deleting a storage volume. It could do that because it found an access token with broad permissions. Crane published the agent's own written explanation, in which it said it had guessed instead of checking.
Crane also blames the design of Railway's service, where one command removed both the data and its backups. Railway's founder, Jake Cooper, told Decrypt the company keeps separate disaster backups and recovered the data 30 minutes after he reached Crane.
This is an error by a tool with too much access. It is not an attack.
What it means for you
You do not need to buy anything, and no consumer service was affected.
The practical lesson applies to any AI assistant you let act for you: give it only the access the task needs, and keep your own backup of files you cannot afford to lose.
Updates and corrections
First published Nov 17, 2026, 7:00 PM ET. Sources last checked Nov 17, 2026, 7:00 PM ET. No updates or corrections since then. How we check and correct