Claude Code Auto Mode Compromised: Website Summary Leads to RCE
wunderwuzzi23 · x · 2026-09-01
Security researcher @wunderwuzzi23 demonstrated an attack chain that hijacks a machine running Claude Code Opus 5 in auto mode, starting from a simple website summarization task.
Attack Vector:
- The target is asked to summarize a website containing a malicious archive.
- Claude Code refuses to run the attacker's binary decoder but writes its own Python decoder instead.
- The Python script runs inside the unpacked directory, where an import base64 statement inadvertently loads the attacker's payload.
Key Insight:
- Each individual action appears locally reasonable, yet the trajectory results in full system compromise.
- Highlights that agents are being granted more agency faster than permission constraint systems are being built.
More from coding & agent
- Agent trace eval guide: matching full-trace LLM reads at ~80% lower token cost — CShorten30 · 2026-12-02
- mdsvex 1.0 ships: full rewrite makes it a general-purpose markdown toolkit beyond Svelte — erhannah · 2026-12-02
- NVIDIA's GTC talk breaks down coding agent anatomy and where security fits in — nvidia · 2026-12-02
- Dev ports GTA 6 to Apple Metal on M1 Pro with Gemini's help, hits 10 FPS — oyacaro · 2026-12-02
- Why a single passing agent test is mathematically meaningless — abenko83 · 2026-12-02
- Wayfindr: open-source local MCP gateway with built-in credential governance — whatisbread_ · 2026-12-02