AI Incident Tracker
  • AI agents
  • High severity
  • April 2026

An AI coding agent deleted PocketOS's production database and its backups

A Cursor agent running Anthropic's Claude Opus 4.6 used a token with access to the company's entire Railway account, founder Jer Crane says. The deletion took 9 seconds.

seconds
to delete, per the founder
The founder's account, reported by PC Gamer. Railway gave Fast Company a statement. Not independently confirmed.Checked against sources Nov 18, 2026

PocketOS runs reservations and payments for car-rental businesses. In April 2026 a Cursor coding agent running Claude Opus 4.6 was doing a routine task in the company's staging environment when it hit a credential mismatch.

Trying to resolve it, the agent used an unrelated API token that had authority across the whole Railway account and deleted the production volume. The backups were stored on that same volume, so they went too.

For two days founder Jer Crane kept customers going on a three-month-old backup and transaction statements. Several days later Railway recovered a more recent copy and the company returned to normal operations.

Crane put part of the blame on Railway's design, which kept backups alongside the data they protect, and part on his own team for keeping a production key on a local machine. He has called for API tokens that can be limited in scope, confirmation steps before destructive actions, and agents that follow the rules they are given.

About three months, missing91 squares, one for each dayData on screenPocketOS fell back on a backup about three months old. Each empty square stands for a day of records it was missing until Railway recovered a newer copy.

How it unfolded

  1. Day 0

    A routine staging task hits a credential mismatch.

  2. 9 seconds

    One API call deletes the production volume and its backups.

  3. Days 1 and 2

    The business runs on a three-month-old backup.

  4. Several days later

    Railway recovers a newer backup.

  5. April 28, 2026

    PC Gamer reports the founder's account.

“I violated every principle I was given.”
The agent's reply when Crane asked why, as reported by PC Gamer.

Provenance

Where each fact comes from, and what is still missing.

On the record

PC Gamer published Crane's account on April 28, 2026, including the 9-second figure and the recovery. Fast Company's report of the same day was later updated with a statement from Railway. Per that report, Railway called the incident an outlier in which a "rogue customer AI" reached an outdated legacy endpoint, said it has patched the endpoint to delay deletions, and said it restored PocketOS's lost data.

Not yet confirmed

Cursor and Anthropic did not reply to Fast Company's request for comment, per the article. Railway's statement is reported by Fast Company; we have not found it published by Railway itself, so the status stays with the founder's account. Send us a source

Sources

  1. News report
    Rich Stanton, PC Gamer, April 28, 2026. Here we go again: AI deletes entire company database and all backups in 9 seconds. Read, archived copy
  2. News report
    Jude Cramer, Fast Company, April 28, 2026. ‘I violated every principle I was given’: An AI agent deleted a software company’s entire database. Read
  3. Incident index
    AI Incident Database, April 24, 2026. AI Incident Database, incident 1469. Read, archived copy

Rewritten and checked Nov 18, 2026. First published May 21, 2026.

Status history

Changes to this exhibit's status, with the date and what changed it.

  1. Nov 18, 2026Corrected: an earlier version said there was no account from Railway. Fast Company added a statement from Railway to its April 28 report, describing an outdated legacy endpoint, a patch to delay deletions, and restored data.Fast Company
  2. Nov 18, 2026Rewritten and checked against PC Gamer. Status: founder's account, via one news report.
  3. May 21, 2026Logged from the AI Incident Database index and PC Gamer's report.AI Incident Database

Document case

No public document yet

If a company, regulator or court publishes a record of this incident, it goes here.

Questions visitors ask

Which AI deleted the PocketOS database?

A Cursor coding agent running Anthropic's Claude Opus 4.6, according to founder Jer Crane.

How long did the deletion take?

About 9 seconds, in a single API call to Railway, per Crane's account.

Did PocketOS get its data back?

Yes. Railway recovered a more recent backup several days later. Until then the company ran on a three-month-old copy.

Take it with you

Share the cover

Cite this exhibit

AI Incident Tracker. (2026, November 18). An AI coding agent deleted PocketOS's production database and its backups (AIT-0110). https://aiincidenttracker.com/AIT-0110

Get the data

This exhibit's facts and sources as JSON, free to reuse with credit.

Up next

AI agents, Jul 28, 2026Anthropic Claude Opus 5 Coding Agent Reportedly Reset a Live Supabase Production Database During Prisma Migration WorkNext exhibit

More like this

See the room
  1. Apr 8, 2026A Russian-speaking Aurora ransomware operator reportedly used Cursor Agent running Claude to help attack 10 targetsAI agents
  2. Feb 26, 2026A Claude Code agent reportedly ran a Terraform destroy that deleted DataTalks.Club's production database and snapshotsAI agents
  3. Apr 30, 2026AI agent reportedly exploited a gym's booking system and removed another member from a class waitlistAI agents
  4. Feb 7, 2026Venture capitalist said Claude Cowork deleted 15 years of family photos while tidying his wife's desktopAI agents