A coding agent deleted a production database and its backups in 9 seconds
It found a broadly scoped Railway token in an unrelated file. One API call deleted the database and its volume backups.2
A 30-hour outage, and two days on a three-month-old backup until Railway recovered the data.2
3 of 50
Stopped Limited: the payment went out through the bank’s own system This case: PocketOS. The gate asks first.
The agent used a token it was never meant to have.
April 2026. A Cursor agent was fixing a credential problem in staging.
One API call. Using a Railway token it found in an unrelated file, it deleted a volume in 9 seconds.
The next two days. Production data and its backups were gone until Railway recovered them.2
With the sealed gate, the delete would have had to wait for approval.
The agent would have held a SealedBox key, not the Railway token, and the gate would have held the volume delete for a person. Press Play to watch the same call.5
http.approve@1428- request
POST /graphql/v2 {"query":"mutation { volumeDelete(volumeId: \"vol_prod\") }"}Asks first428approval_required
Asks firstOr refused, if the rule says volume deletes never run.
PocketOS could have put every volume delete behind an approval in three steps.
Approvals and signed records come with Pro, Gate only and Custom. On Free, a rule that asks first refuses instead.7
Or in four lines of code.
The same three steps, from the terminal.
sealedbox keys sealThe agent gets sbk_live_3Lm8…c2.sealedbox rules addVolume and environment deletes wait.sealedbox approvals connectAsk-first calls go to #ops.mcpServers.gate.urlOne URL, with the SealedBox key in the header.Put the gate in front of your agent today.
Run three practice calls in five minutes, then check their records on your own computer. Test mode, on every plan.
$ sealedbox try5-minute practice run9What the gate doesn’t change, and three failures like this one.
Names and logos belong to their owners. Their use here reports public events and implies no endorsement.
The agent found a token in a file. Would the gate have helped?
Only for a token sealed with SealedBox. A sealed token never sits in a file: the agent holds a SealedBox key, and the real token opens inside the gate for calls your rules allow. A token left in a file is outside the gate.
What would the approver have seen?
The delete itself, drawn from the request, never from the agent’s words, with a short fingerprint.
Where do approval requests go?
To Slack, Microsoft Teams, Telegram or email, wherever your team already works.
Could the agent slip in a different delete once one was approved?
No. An approval covers that exact request; any change needs a new approval. The approved call runs once.