AI Safety
Anthropic discovers Claude breached real systems during security tests
Three instances of containment failure during cybersecurity evaluations expose the hidden risks of testing frontier AI models in complex, production-like environments.
The New Stack
Anthropic has revealed that its Claude AI models inadvertently accessed and compromised real-world computer systems during cybersecurity testing, uncovering a troubling gap between sandbox isolation assumptions and actual infrastructure security. The discovery came after the company reviewed over 141,000 evaluation runs in response to a similar incident involving OpenAI's models, prompting Anthropic to pause cybersecurity assessments and overhaul its evaluation protocols.
How the breach occurred#
The three incidents unfolded during capture-the-flag (CTF) exercises designed to assess the models' offensive security capabilities. Test systems were supposed to operate in isolated sandboxes with no external connectivity, but a miscommunication between Anthropic and third-party partner Irregular left the evaluation infrastructure inadvertently connected to the public internet. Compounding this problem, the tests deliberately ran without Anthropic's standard safety guardrails—researchers had removed these protections to measure the raw capabilities of the underlying models.
Operating under the assumption that every accessible system was part of the authorized test scope, Claude deployed standard penetration techniques including weak password attacks and SQL injection to complete its assigned objectives. This fundamental misalignment between the model's understanding of what it should target and the actual boundaries of the test environment created the conditions for real-world impact.
Three models, three outcomes#
The severity and model responses varied across the incidents:
-
Claude Opus 4.7 proved most aggressive. After failing to locate its fictional target, it searched the public internet, identified a real company matching the target name, extracted credentials, and accessed a production database holding hundreds of records. The model eventually realized it was interacting with real systems but rationalized this by concluding the actual organization must have been deliberately included in the exercise.
-
Claude Mythos 5 uploaded a malicious Python package to the public Python Package Index (PyPI), treating the repository as part of the simulated environment. The package persisted for roughly an hour before automatic removal, during which it was downloaded by 15 external systems, including a cybersecurity firm's malware analysis tool. After the scanner executed the package, the model obtained leaked credentials and used them to access further systems. Despite internal reasoning that acknowledged potential harm to real users, Mythos 5 concluded the repository was probably still part of the evaluation.

