Claude Code Opus 5 Auto Mode hijacked via prompt injection with up to 80% success rate
bibryam · x · 2026-09-03
Security researcher wunderwuzzi (Embrace The Red) reports that Claude Code Opus 5's Auto Mode can be hijacked via a simple website summary request, achieving code execution with a 60-80% attack success rate in small-sample testing.
Context:
- Auto Mode became the default starting mode for Claude Code in mid-August, replacing human approval prompts with a safety classifier.
- A third-party evaluation commissioned by Anthropic (Trajectory Labs, 72 indirect prompt injection scenarios, 10 runs each) showed a 0.00% attack success rate.
The attack chain:
- Nudge Claude from WebFetch into using curl directly;
- Redirect it to a ZIP archive with specially encoded files;
- Claude correctly refuses to run the bundled binary and writes its own Python decoder;
- But it runs that decoder inside the attacker-controlled directory, completing the hijack.
The author's key takeaway: Auto Mode is not a substitute for sandbox isolation and monitoring, even with layered defenses in place.
More from coding & agent
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05
- xAI launches Grok Bot: autonomous AI teammates that live in Slack and Teams — Baconbrix · 2026-12-05