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
- AI pause debate: regulate speed or require safety directly? — birchlse · 2026-11-30
- Google nukes 20-year-old account over 'Gemini misuse' — a lesson in concentration risk — l4rz · 2026-11-30
- Neel Nanda slams ARC-AGI champs' work on hard-to-monitor agent communication as harmful to safety — akbirthko · 2026-11-30
- Philosophy Is 'Antifragile': Could Diverse-Argument Reasoning Bypass MIRI-Style Alignment Problems? — jessi_cata · 2026-11-30
- NRDC concedes BAAJA makes data centers pay grid costs, countering 'giveaway' claim — zacharynado · 2026-11-30
- 187 African books tested: AI detectors show no systematic false positives on Black authors — TuhinChakr · 2026-11-30