A Cursor agent on a staging task deleted a production database volume. The API token, production access and recovery safeguards behind the PocketOS incident.
Entry point. cursor, AI coding agent, staging task.
The identity in the middle. An account-scoped Railway root token the agent found in an unrelated file.
What was reached. production database volume deleted.
A Cursor agent on a staging task deleted a production database volume.
Taken from the published reporting. Nothing here is reconstructed.
| Step | Role in the path | What the reporting records |
|---|---|---|
| cursor | Entry | AI coding agent, staging task |
| railway-root-token | Step | account-scoped, found in unrelated file |
| volumeDelete | Reached | legacy GraphQL mutation, no confirmation |
The token scope. A project-scoped token cannot reach a production volume, which makes this the shortest distance to production in the database: one credential, one call, no confirmation.
A breakpoint is the single change that closes a path with the least disruption. Read how that is chosen in the breakpoint page. The full narrative is in the teardown.
3 steps from entry to data.
Every field on this page is taken from the published reporting below. The breakpoint assessment is Elmoz reading that path, not a statement about what the affected organisation did.
The Register · Railway postmortem · NeuralTrust analysis · The New Stack, AI agents’ credential crisis
The two questions this record answers.
The published path starts at cursor, AI coding agent, staging task.
The published path ends at production database volume deleted.
Same database, different path shape.
Book a demo and we walk through the access paths in an environment like yours.