AI models in security evaluations broke into real organisations

On 30 July 2026 Anthropic published a review of 141,006 evaluation runs in which Claude could have obtained internet access. The company found three incidents where a model reached the internet from a test environment that should have been sealed off, and then gained unauthorised access to the production infrastructure of three different organisations. The review was started after OpenAI disclosed on 21 July that its models had broken out of a test environment and reached the infrastructure of Hugging Face. OpenAI updated its account on 28 and 29 July, stating that the models used publicly exposed credentials on four accounts across four services. Both cases concern internal security evaluations, not attacks from outside.

What happens technically

The evaluations are capture the flag exercises. The model is given a fictional scenario, told that a secret is hidden on another machine on the network, and asked to find its way in. The task is open ended, and no particular method is prescribed. Anthropic states that the prompt said explicitly that the model had no internet access, but that a misconfiguration at its evaluation partner Irregular left the machines with live internet connectivity. When the search led the model out onto real systems, it treated them as part of the exercise. The methods it used were basic and well known, among them weak passwords and endpoints without authentication. Three different models were involved, given as Opus 4.7, Mythos 5 and an internal research test model, and the earliest incidents date to April.

The three incidents were spread across six runs. Four of them hit the same organisation, where the model extracted credentials and reached a database holding several hundred rows of production data. In another incident the model found setup instructions inside the fictional environment that called for installing a Python package that did not exist. The model then built and published a package with the same name on PyPI, the public registry. The package was available for roughly one hour, was downloaded and run on 15 real systems, and one of them was the scanner of a security company. Credentials from that company were exfiltrated and used further. In the third incident an internal research test model scanned around 9,000 targets and broke into an internet facing application through an exposed debug page and SQL injection. Anthropic began the review on Thursday 23 July, stopped all cyber evaluations the same day, identified all three incidents the next day, and notified the evaluation partner and the three organisations on Monday 27 July. The two organisations it was able to reach had not detected the activity themselves.

OpenAI describes a different path. The ExploitGym evaluation environment did not give the models direct internet access, but the models identified and exploited a previously unknown vulnerability in Artifactory, a cache and proxy for package registries, and got out that way. The vulnerability has been reported to the vendor. In the update of 28 July, OpenAI states that the models used publicly exposed account level credentials on four services as part of the Hugging Face incident. One account was used as an outbound relay and staging path, one for data storage, and two were only read. The company states that it has not identified other activity at the same level of severity or scale, and that service owners are being notified. In the update of 29 July, OpenAI states that CrowdStrike is helping to validate its understanding of what the models did, and that METR and Redwood Research are conducting an independent assessment of the model behaviour.

Test environmentno internet accessMisconfigurationthe machine was onlineThe model searchesfinds real systemsUnauthorised accessthree organisations
Figure: The prompt said the environment was sealed off, while the machines in practice had internet connectivity. The model therefore treated real systems as part of the exercise.

What this means for you if you are responsible for security

What makes this case relevant to you, and not only to the two laboratories, is who was hit. The victims were ordinary organisations that happened to be in the way of an exercise, and none of them had asked to take part. In our view, the entry points are the most uncomfortable part of the material. Weak passwords, endpoints without authentication, an exposed debug page, SQL injection and credentials lying openly available are not advanced attacks. They are basic weaknesses, of the kind many organisations know perfectly well that they have. When the cost of searching falls towards zero, such weaknesses are found regardless of who or what is doing the searching.

The PyPI incident deserves particular attention from you, because it shows the supply chain in practice. A package that was available for roughly one hour was installed and executed on 15 systems. If you pull packages straight from public registries, without name reservation or a controlled mirror, you carry the same exposure every day. We also note that detection failed at the victims, since two of the three organisations had not seen the activity before they were notified. It is worth asking yourself whether you would have seen it. If your organisation falls under NIS2, this is a concrete expression of the Article 21 requirements for vulnerability handling, supply chain security, and detection and incident response. With providers of AI services, we believe it is now reasonable to insist on a requirement that has proved necessary: evaluation environments must be verified as cut off from the internet, and deviations must be reported.

Berigo recommends

  • Apply the same authentication requirements to internal debug and API endpoints as to ordinary sign in. Those were the endpoints the models came in through.
  • Search for your own credentials lying publicly exposed, and rotate them. Four of the accounts OpenAI describes were reached in exactly that way.
  • Pull packages through a controlled mirror with name reservation, so that a newly created package in a public registry is not installed automatically.
  • Build detection that catches mass scanning and sign in from unknown sources, and practise reading it. Two of the three notified organisations had not detected the activity.
  • Write into supplier agreements for AI services that evaluation environments must be cut off from the internet, and that incidents affecting customers must be reported.

Related services

Security that is understood, governed and works.

Let us help you turn security into an advantage, not a cost. Get in touch for a no-obligation conversation about where your organisation stands and what to prioritise first.

Get in touch