A hidden prompt made Claude Cowork upload a file to an attacker’s account
PromptArmor showed that a hidden prompt in a document could make the agent upload the user’s largest file to Anthropic’s file API under the attacker’s key.2
22 of 50
Stopped Limited: the payment went out through the bank’s own system This case: Claude Cowork. The gate refuses it.
A hidden prompt sent a user’s file to the attacker’s account.
The folder. A user connected Claude Cowork to a local folder holding a document with a hidden prompt.
The upload. Analyzing the files, Cowork uploaded the largest one to Anthropic’s file API under the attacker’s API key.
The result. The attacker could open the file from their own Anthropic account. No further approval was asked.2
With the sealed gate, the upload would have been refused.
On a SealedBox machine the gate would have removed the attacker’s key and used only the sealed one, refusing a call under another account. Press Play to watch the same call.5
anthropic.usage@1403- request
POST https://api.anthropic.com/v1/files x-api-key: <a key the agent supplied>Refused403key_not_ours
RefusedOn SealedBox machines the gate removes any key the agent supplies.
A team could refuse every upload under someone else’s account 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 three lines of code.
The same three steps, from the terminal.
sealedbox keys sealThe agent gets sbk_live_4Pz6…h8.sealedbox rules addCalls under another account are refused.sealedbox approvals connectAsk-first calls go to #ai-platform.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.
Does this work when the agent runs on my own computer?
Only for calls sent through the gate. On a SealedBox machine every outbound call reaches it; elsewhere, a call that skips the gate is outside it.
Could the file go out some other way?
Not from a SealedBox machine. Everything leaves through the gate, and unlisted places and raw IP addresses are refused.
Is a refused upload recorded?
Yes, every decision gets a receipt, refused calls included. On Pro, Gate only and Custom it is signed, and you can check it on your own computer.