Breaking Claude Code Opus 5 Auto Mode
Anthropic made Claude Code's 'auto mode' the default defense against prompt injection, but credible security researcher Johann Rehberger found an attack that bypasses it 80% of the time by tricking the agent into downloading and decompressing a malicious zip file. This is a sobering reminder that bold vendor claims about agent security deserve serious independent scrutiny before you trust them in production. If you're deploying Claude Code or any coding agent in environments where it can fetch external content, this is required reading.
Takeaways3
- Vendor-default security modes for AI agents should not be trusted without independent validation — an 80% bypass rate is not a minor edge case.
- Prompt injection via file downloads (zip decompression) is a practical, low-effort attack vector for coding agents.
- Auto mode being the default means many teams are unknowingly relying on a defense that has already been publicly broken.