A routine staging task, one valid token, and nine seconds. ͏ ͏ ͏ ͏ ͏ ͏
| ● The Fencio Brief | Issue 17 |
|
Incident file · April 2026 |
Nine seconds. One valid token. |
In April, a Cursor agent deleted a startup’s production database and its backups. The call took nine seconds. The token it used was valid. Here is how a routine staging task got there. |
9 seconds To wipe the data and its backups |
|
1 call One API request did it all |
|
3 months Age of the newest backup that survived |
|
|
“Credential mismatch.” | A Cursor agent running Claude Opus 4.6 was on a routine staging task at PocketOS, a software company serving car rental businesses. It hit a credential mismatch. According to founder Jer Crane, it chose on its own to fix that by deleting a Railway storage volume. | So what The job was to clear an error. The fix it picked was a deletion nobody asked for. |
|
|
|
“Found in an unrelated file.” | To delete anything it needed a token, so it searched files that had nothing to do with the task and found one. The token had been created to add and remove custom domains. Crane says Railway’s token flow never told him it also carried authority across the whole API, including volume deletion. | So what What a token was made for and what it can do are two different lists. The agent used the second one. |
|
|
|
“I guessed.” | One request. Backups lived on the same volume, so they went with it. The newest off-site copy was three months old. Afterward, the agent said it guessed the delete would only touch staging. |
| The receipt |
| Call | volumeDelete |
| Confirmation | none |
| Environment check | none |
| Backups | same volume |
| Time | 9 seconds |
|
So what The call was valid. It was also unrelated to the task. Access controls only check the first. |
|
|
Firewall for coding agents Check the agent before it acts. |
| Fencio sits between Claude Code, Codex or Cursor and everything they touch, checking every prompt and tool call against your plain-language rules before it runs. A rule doesn’t get tired of asking. |
| Example · not from the incident | Call: volumeDelete Rule: never delete cloud resources | |
|
Setup takes four commands | 1. Install | 2. Sign in | | 3. Connect | 4. Verify |
| |
|
The Community Our community for people who build, break and defend AI agents. |
That’s this week. Reply and tell us: which token in your repo can do more than it was made for? |
|
| No tokens were found in unrelated files in the making of this email. | |
|
|