Charlie Maclean-Bristol, Deputy Resilience Director at Databarracks, looks at what happened when OpenAI’s models autonomously carried out a cyber attack and what organisations can learn from it.
What happened
OpenAI regularly tests its AI models to understand their capabilities. It conducts the tests in a contained environment so the model cannot escape, and it uses a test called ExploitGym to evaluate the model’s ability to turn software vulnerabilities into working exploits.
In this instance, the AI models used were GPT-5.6 Sol and an unnamed internal research prototype. During these tests, the guardrails that prevent the AI from being instructed to search for software vulnerabilities were switched off. OpenAI reportedly reduced or disabled certain cyber-safety refusals so the models’ offensive capabilities could be measured.
The containment environment had no direct internet access, but the AI escaped containment by exploiting a previously unknown vulnerability in JFrog Artifactory. Artifactory was being used as a package registry cache and proxy inside OpenAI’s evaluation environment. Its normal purpose was to store or relay software packages needed by systems in the sandbox, so they did not have to connect directly to external package repositories.
Rather than working out the answers to the problem it had been given, the AI decided that the quickest way to obtain them was from Hugging Face, an AI platform and online community that hosts machine-learning models, datasets and applications for developers and researchers. From 9 July to 13 July, it exploited a vulnerability in JFrog Artifactory to gain internet access, then attacked Hugging Face to obtain the information it needed. On 13 July, Hugging Face detected its activity and stopped the attack. On 21 July, OpenAI publicly confirmed that its AI had carried out the attack.
Significance of the attack
The attack was significant because the AI did not go rogue, contrary to what many articles have stated.
In fact, it did exactly what was asked of it, remaining, as OpenAI has said, “hyperfocussed on finding a solution”. It just did so in an unexpected way: obtaining the answers from another organisation rather than solving the problem itself. Gaining access to the internet and to Hugging Face required the AI not only to identify vulnerabilities but also to exploit them autonomously.
Hugging Face identified more than 17,000 actions carried out by the AI from 9 to 13 July as it tried to achieve its goal. The AI was relentless in pursuing a solution. Further information has revealed that the AI accessed 4 additional third-party accounts while pursuing its ExploitGym objective, using some of them as infrastructure to support the attack. This demonstrates how widely it searched for and used resources beyond its containment environment.
As the incident shows, AI will do everything within its power and knowledge to achieve what it has been told to do. It also does this at machine speed and can work on a problem for days to solve it.