A prompt to wipe files and cloud resources shipped in an AWS extension
An attacker used an over-scoped GitHub token to ship a prompt in version 1.84.0 telling the agent to wipe local files and cloud resources. It failed to run.2
None, per AWS: the code did not change any services or customer environments.2
18 of 50
Stopped Limited: the payment went out through the bank’s own system This case: Amazon Q extension. The gate asks first.
A wipe prompt shipped in the extension and failed to run.
The token. An attacker used an inappropriately scoped GitHub token to commit code to the extension’s open-source repository.
Version 1.84.0. The code shipped: a prompt telling the agent to wipe local files and cloud resources.
Version 1.85.0. The prompt failed to run because of a syntax error. AWS released a new version.2
With the sealed gate, the prompt’s cloud deletes would have had to wait for approval.
Cloud deletes would have waited for a person, and on SealedBox machines local files are snapshotted before any delete. Press Play to watch the delete the prompt asked for.5
aws.account@1s3.objects@1428- request
DELETE /acme-prod-logsAsks first428 - run
rm -rf ~/projectAllowedsnapshot_before: true
Asks firstCloud deletes wait; on SealedBox machines, local files are snapshotted before any delete.
A dev team could make cloud deletes wait for a person 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_2Jt5…w8.sealedbox rules addCloud deletes wait; reads pass.sealedbox approvals connectAsk-first calls go to #cloud-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 prompt never ran. What would the gate have done if it had?
On Pro, Gate only and Custom, each cloud delete would have waited for a person, and on Free it would have been refused. The AWS key opens only after the rules pass.
Would the files on my laptop have been safe?
Not through the gate, which governs what leaves a machine, not what runs on it. On a SealedBox machine, a snapshot comes before every command, so wiped files restore in one click.
Could the agent copy the AWS key and use it elsewhere?
It never holds the AWS key, only a SealedBox key with no secret in it. That key works only through the gate, under your rules, until you stop it.
If one delete is approved, could the agent run others with it?
No. An approval is bound to that exact request and runs once; any other delete needs its own approval.
Is there a limit on deletes per hour?
Yes. The gate keeps an hourly ceiling on deletes and changes, and turns away calls past it.