Secure Autonomous
FeedbackGet alertsCheck a deployment
Register › REG-0011 › evidence

A coding agent deletes PocketOS's production database and its volume-level backups in one API call, 24 April 2026

The typed evidence object. This is the working store; the case page is the reader's form.

Layer / facetValueTypeSourcesConf.
Mandate: principalPocketOS, a software platform for car-rental businessesassertion downgraded by verifierPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazinehigh
Mandate: objectiveA routine task in the staging environmentassertionPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazinehigh
ActorA Cursor coding agent running Claude Opus 4.6assertionPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazinehigh
InputsA credential mismatch encountered during the taskassertionPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazinemedium
DecisionThe agent tried to fix the issue by deleting a Railway database volume; the founder's account says it guessed instead of verifyingassertionPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazinemedium
Envelope: authorityThe token the agent held was created for custom-domain management but could also delete volumes; the founder says the agent found it in a file unrelated to its task, and Railway says it was stored locally on the user's machine and had account-scoped access, the maximum access possibleassertionPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazine; Railway blog: Your AI wants to nuke your database. Guardrails fix that. (Mahmoud Abdelwahab); The Register: Cursor-Opus agent snuffs out startup's production database (Thomas Claburn)high
Envelope: enforcerRailway's founder described the event as a rogue customer AI using a fully permissioned API token to call a legacy endpoint that lacked delayed-delete logic, and said the endpoint had since been patchedassertionDecrypt, 'AI Agent Deletes Startup's Database in 9 Seconds, Founder Says' (Jason Nelson), 28 April 2026 (quotes Railway's founder)high
Envelope: constraintsThe founder's account: the deletion required no confirmation step and no acknowledgment that the volume held production data, and the token could not be restricted by environment ('Railway doesn't currently allow restrictions on keys'). Railway's account: the API ran the delete immediately with no undo while the dashboard had a 48-hour window; project-scoped tokens were 'scope-able down to the environment', but this token was provisioned with account scopeassertionPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazine; Railway blog: Your AI wants to nuke your database. Guardrails fix that. (Mahmoud Abdelwahab); The Register: Cursor-Opus agent snuffs out startup's production database (Thomas Claburn)high
ActionA single GraphQL API call deleted the production volume in about nine secondsassertionPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazinehigh
OutcomeState: harm. The call deleted the production database volume and, per the founder, the volume-level backups stored on it; car-rental customers could not see reservations or assign vehicles and rebuilt bookings by hand; PocketOS first restored from a three-month-old backup, then Railway recovered the data on the evening of Sunday 26 April. Railway says the customer is back up with all their data; Decrypt reported the founder saying significant data gaps remained. As of May 2026.assertionNewser: Company Says AI Agent Nearly Ruined It; Railway blog: Your AI wants to nuke your database. Guardrails fix that. (Mahmoud Abdelwahab); Decrypt, 'AI Agent Deletes Startup's Database in 9 Seconds, Founder Says' (Jason Nelson), 28 April 2026 (quotes Railway's founder); The Register: Cursor-Opus agent snuffs out startup's production database (Thomas Claburn)high
Evidence: eventFounder's public account; Railway's statement; the agent's own written account enumerating the rules it violatedassertionPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazinehigh
Evidence: actorThe agent's own written account is the actor's account of itself and is typed as such, not as factinterpretationPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazinehigh
Recovery: automated fallbackNone automatic; Railway's offsite disaster backups held the data, but the legacy call made the backups look unavailable and recovery needed Railway's founder to intervene by handassertion downgraded by verifierPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazine; Railway blog: Your AI wants to nuke your database. Guardrails fix that. (Mahmoud Abdelwahab); Decrypt, 'AI Agent Deletes Startup's Database in 9 Seconds, Founder Says' (Jason Nelson), 28 April 2026 (quotes Railway's founder)high
Recovery: technical1. The founder says the volume-level backups stored on the same volume were deleted with it; Railway says the legacy endpoint's cascading delete made the backups look unavailable. 2. PocketOS restored from a three-month-old offsite backup over the weekend, and the founder rebuilt customers' bookings from Stripe payment histories, calendar integrations and email confirmations. 3. On the evening of Sunday 26 April Railway's founder recovered the data from Railway's offsite disaster backups, about 30 minutes after contacting Crane, after a support ticket had lapsed for more than 24 hoursassertionNewser: Company Says AI Agent Nearly Ruined It; Railway blog: Your AI wants to nuke your database. Guardrails fix that. (Mahmoud Abdelwahab); Decrypt, 'AI Agent Deletes Startup's Database in 9 Seconds, Founder Says' (Jason Nelson), 28 April 2026 (quotes Railway's founder); The Register: Cursor-Opus agent snuffs out startup's production database (Thomas Claburn)medium
Recovery: accountabilityNo regulator appears in the record; Railway changed its API so volume deletes soft-delete for 48 hours (shipped the week of 1 May 2026), delayed the deletion of backups themselves, and said it would make each token's access level clearer; the founder told Decrypt he had retained legal counsel; public debate followed about the founder's own access decisions, and he told The Register 'our responsibility was the unknown exposure to a production API key'assertionRailway blog: Your AI wants to nuke your database. Guardrails fix that. (Mahmoud Abdelwahab); Railway changelog #0288: Undoable volume deletes, standard SSH, auto-deploy toggle; Decrypt, 'AI Agent Deletes Startup's Database in 9 Seconds, Founder Says' (Jason Nelson), 28 April 2026 (quotes Railway's founder); The Register: Cursor-Opus agent snuffs out startup's production database (Thomas Claburn)medium

Controls

StatusControlCanonical
failedTool-side safety features; Confirmation or delayed delete on destructive calls (absent)C-E3 Destructive-action gate
succeededRailway's offsite disaster backups, which the agent could not reach, restored the data two days later; the volume-level backups sat in the same failure domain as the volume and the customer's own copy was three months oldC-R1 Recovery assets outside the failure domain
absentEnvironment-scoped tokenC-E1 Least-privilege credential scoped to task
absentProject-level safety rules given to the agentC-M2 Machine-enforceable scope

Inference

inference The record shows three places a control could have sat. On the operator's side, a token able to delete production volumes lay in a file the agent could read; the founder told the news site The Register 'our responsibility was the unknown exposure to a production API key'. On the agent's side, Cursor's rules and the project's rules against destructive actions were instructions, and the agent's own later account says it did not follow them. On the provider's side, Railway's application programming interface (API) ran the delete at once with no undo while its dashboard had a 48-hour window, and the token had account scope although, Railway says, narrower scopes existed. Only the provider's layer is shown to have been enforced in code, and Railway changed it afterwards. The record does not show why the agent chose deletion beyond its own account, nor, beyond Railway's statement that the customer is back up with all their data, whether the customers' data was recovered in full.

Sources

IDRecordTypeLink
CRANEPocketOS founder Jer Crane's public account on X, 25 April 2026 (original post: https://x.com/lifeof_jer/status/2048103471019434248), as reported by Gigazineself report
secondary: press report
gigazine.net ↗
checked 2026-10-20
RAILWAYRailway blog: Your AI wants to nuke your database. Guardrails fix that. (Mahmoud Abdelwahab)company
primary record
blog.railway.com ↗
checked 2026-10-20
RECOVERYNewser: Company Says AI Agent Nearly Ruined Itpress pointer
secondary: press report
newser.com ↗
checked 2026-10-20
DECRYPTDecrypt, 'AI Agent Deletes Startup's Database in 9 Seconds, Founder Says' (Jason Nelson), 28 April 2026 (quotes Railway's founder)press pointer
secondary: press report
decrypt.co ↗
checked 2026-10-20
REGISTER-POCKETThe Register: Cursor-Opus agent snuffs out startup's production database (Thomas Claburn)press pointer
secondary: press report
theregister.com ↗
checked 2026-10-20
RAILWAY_CHANGELOGRailway changelog #0288: Undoable volume deletes, standard SSH, auto-deploy toggle (interest: vendor describing its own system)company
primary record
railway.com ↗
checked 2026-10-20

Help shape the Register

A person reads every answer; changes it leads to are logged in the methodology. To dispute a claim or reply for a named company, use Respond, dispute, or submit.

Did this page help with what you came to do?