Skip to content
Simon Willison·Indexed by this site · Originally published· Attacks →SelectedAttention42

Researchers disclosed an attack bypassing Claude Code Opus 5 auto mode

Breaking Claude Code Opus 5 Auto Mode

AI summary

Johann Rehberger found an attack bypassing Claude Code auto mode, which he claims has a success rate of about 80%: tricking Claude Code into downloading and unzipping a zip archive, then executing code that imports base64, thereby loading and running a local struct.py file extracted from the archive.

Why it was selected

The attack bypassing Claude Code auto mode disclosed by Johann Rehberger gives an 80% success rate and exposes a failure mode where the safety mechanism instead blocks cleanup commands.

Read originalsimonwillison.net