A routine staging task, one valid token, and nine seconds. ͏ ͏ ͏ ͏ ͏ ͏
●  The Fencio BriefIssue 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
The error01 / 03
“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.
 
The key02 / 03
“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.
 
The call03 / 03
“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
CallvolumeDelete
Confirmationnone
Environment checknone
Backupssame volume
Time9 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
Blocked
Setup takes four commands
1. Install2. Sign in
3. Connect4. Verify
●  Install the CLI →
The Community
Our community for people who build, break and defend AI agents.
Join the Community →
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.
 From the inside out