Researcher demos hijacking Claude Code for full system compromise
wunderwuzzi23 · x · 2026-08-28
Security researcher wunderwuzzi23 demonstrated a full exploit chain targeting Claude Code Opus 5 Auto Mode, achieving system-level compromise. The attack proceeds as follows:
- Induced Download: The site hosts a zip of "encoded notebook records." The server returns a 415 error, causing Claude to bypass WebFetch and use curl directly.
- Sandbox Evasion: Claude refuses to run the unknown binary decoder inside the zip, opting instead to write a "safe" Python decoder.
- Module Shadowing: The Python code includes import base64, but the zip contains a malicious struct.py (a standard library dependency of base64). Due to path priority, the malicious code executes, compromising the system.
This research highlights vulnerabilities in AI coding agents regarding dependency management and safety boundary enforcement.
More from Safety
- Banking regulators ramp up scrutiny of banks' AI use over stability fears — nordicinst · 2026-10-16
- Michigan professor Ben Green: why 'AI for Good' fails and self-regulation won't work — benzevgreen · 2026-10-16
- Apex Research head on CBS News: current AI testing regime is very insufficient — MariusHobbhahn · 2026-10-16
- Critical 9.5/10 RCE hits Next.js use cache; patch 16.4.1 now — jedisct1 · 2026-10-16
- AI agent fleet has wasted 17 years of scammers' time across 2.5M conversations — neil_chilson · 2026-10-16
- AI security firm Xbow found a full-chain Chrome exploit affecting a billion users in 6 days — moyix · 2026-10-16