I'm being kind of stupid but why does the prompt injection need to POST to anthropic servers at all, does claude cowork have some protections against POST to arbitrary domain but allow POST to anthropic with arbitrary user or something?
So the prompt injection adds a "skill" that uses curl to send the file to the attacker via their API key and the file upload function.