What This Is

Anthropic has launched Claude Code's "auto mode," which lets its AI coding assistant—known in the industry as an agent—handle complex tasks on its own while automatically blocking prompt injection attacks (where instructions are hidden in files or web pages to trick the AI into executing malicious actions). Recently, Anthropic made this mode the default.

But security researcher Johann Rehberger found that by using bait files containing zip archives, he could get Claude to download, extract, and execute malicious code—an 80% success rate. Even more counterintuitive: when Claude detected the anomaly and tried to terminate the process, auto mode blocked that cleanup command.

The picture: the bouncer let the bad guys in, then stopped the security guard from catching them.

Industry View

Long-time AI safety watchers like Simon Willison see this as confirmation of an old belief: model-layer filtering alone (a classifier—an intermediate layer that has the AI judge whether an action is safe) isn't enough. You need sandboxing (running the agent in an isolated environment, like a virtual machine), restricted network egress, behavior monitoring, and segregated sensitive credentials.

Some defend Anthropic: auto mode is "secure by default," not "absolutely secure," and prompt injection is a fundamental challenge in open environments—one study shouldn't dismiss the entire direction. But Rehberger's response is blunt: attackers only need one win, and enterprises can't absorb that.

Our take: once agents start executing code autonomously, "security" shifts from a model problem to an engineering problem.

Impact on Regular People

For enterprise IT: When evaluating AI coding assistants, ask specifically how sandboxing, network isolation, and permission controls are implemented—don't just judge by the demo.

For working professionals: For now, don't let AI assistants touch production environments, SSH keys (server login credentials), or cloud accounts. Test in isolated environments first.

For consumers: Ordinary users won't notice much in the short term, but enterprise security incidents slow down the entire industry's deployment pace—indirectly affecting which features you get access to.