
What happened
Researcher Johann Rehberger found an attack against Claude Code's auto mode that works 80% of the time, by tricking the agent into downloading and executing a malicious file.
Why it matters
Auto mode, now the default, sometimes blocks the agent's own cleanup commands, so the safety mechanism can worsen the failure.
What to watch
Rehberger recommends running agents in a sandbox (container, VM, or OS sandbox) with restricted network egress and no access to sensitive credentials.
Summaries like this, every morning.
By signing up you agree to the Terms of Service and Privacy Policy.
Anthropic has made auto mode the default and made bold claims about its effectiveness in protecting coding agents against prompt injection attacks. However, a credible researcher found a flaw that undermines that confidence. The attack succeeds 80% of the time, and in some runs, auto mode blocked the agent's own attempts to terminate the malware. This shows that a safety feature can become part of the failure — the classifier allowed the malware process to be created, but blocked the command to stop it.
The article sides with the researcher's conclusion: the only safe way to run agents when facing adversarial attacks is to sandbox them. That means using containers, VMs, or OS sandboxes, restricting network egress, monitoring agents, and not exposing sensitive files like SSH keys or cloud credentials. This is a practical warning for businesses relying on AI agents for automated coding tasks, as it highlights the need for strong security measures at the infrastructure level.
Pick your industry and the AI tools you use, and get news related to your work every day.
By signing up you agree to the Terms of Service and Privacy Policy.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
altspark Inc., a Pittsburgh-based startup, launched a hosted platform that connects apps, databases and docume…
ASUS announced the XA P8N-E2X at NVIDIA GTC Washington, D.C

Anthropic said its models found vulnerabilities in advanced cryptography standards, weaknesses that matter for…

Ruining He and co-authors at Google Research proposed RealFormer, which adds residual connections to attention…

Ben's Bites compares today's AI adoption to learning to Google in 1998 — it took about ten years for search ha…

In McKinsey's August 2026 survey, 40% of respondents at organizations with more than $1 billion in annual reve…
