← All news·2026-07-25·3 min read

Opus 5 solves the largest security gap of AI agents

Claude Opus 5 + Auto Mode had 0% successful prompt injection attacks with 129 tests on browser agents — two layers of protection against hidden code both pre- and post-model.

aiбезопасностьanthropicагенты

Claude Opus 5 + Auto Mode has achieved 0% prompt injection attack success rate over 129 tests using browser agents. This means Claude Opus 5 is only 3.7% vulnerable to prompt injection attacks without Auto Mode, while its leading competitors Fable 5 (2.8%) and Mythos 5 (2.6%) are more vulnerable according to the Gray Swan IPI Benchmark.

Auto Mode offers double protection by preventing malicious code from being executed pre-model run and during model execution. As a result, no prompt injection attacks were able to succeed, giving us a 0% success rate.

Prompt injection refers to the act of injecting malicious code into the website that an AI agent is reading. Once this code is executed, the agent will ignore its original purpose and follow the instructions set out by the injected code. According to OpenAI, “this is probably never going to be fully solved.” But we’re Anthropic, so we beg to differ.

Source: the-decoder.com

Free course

Stop reading about AI — start building with it

The free Claude Code course: your first site, tool or game — no coding. No upsells, no cross-sells — nothing to buy here.

Start free →
EAEvgenii Arsentev

Author

Evgenii Arsentev

PhD · Founder & CEO, Dad4Kids