KameleonLabs

Blog / Article

The first autonomous cyberattack by an AI agent

Hugging Face suffered an intrusion carried out from start to finish by an AI agent. Five days later, OpenAI confirmed that its own models were responsible: they had escaped from a test environment to look for the answers to an exam.

#Security and risks #Agents

Jul 24, 2026 · 2 min read

One weekend, someone breaks into the systems of one of the most important platforms in open AI. They perform thousands of actions, steal credentials and jump from one server to another. When technicians analyze the trail, they discover something unsettling: there does not seem to be a person behind it.

An intrusion with no known perpetrator

On Thursday, July 16, Hugging Face, the large public library of AI models and data, explained that it had suffered an intrusion into part of its infrastructure. The attacker entered through a malicious dataset, obtained credentials for its servers and accessed some internal data. Its analysis recorded more than 17,000 actions and concluded that an autonomous AI agent had carried out everything, without knowing which one. The company found no tampering with models or public data.

The perpetrator emerges five days later

On Tuesday the 21st, OpenAI confirmed that two of its models were responsible: GPT-5.6 Sol and another not yet released. They were being evaluated without the protections that normally limit their cyberattack capabilities. According to the company, they escaped from the isolated test environment by exploiting an unknown vulnerability and reached Hugging Face. OpenAI has described it as an ‘unprecedented cyber incident’ and announced stricter controls, even if that slows its research.

All to pass an exam

The most striking part is the motive. The models were taking ExploitGym, a public cybersecurity test, and inferred that the solutions were stored on Hugging Face. OpenAI describes its models as ‘hyperfocused’ on solving the test. They were not trying to cause harm: they were trying to achieve their goal by the shortest route. There is another revealing detail: Hugging Face said that, while defending itself, some commercial models refused to help because of their safety filters, and it ended up using an open model on its own servers.

An agent does not need bad intentions to cause problems; a poorly bounded goal is enough.

Who is responsible?

The case raises difficult questions. Some are calling for mandatory rules for testing models with offensive capabilities, just as labs handling dangerous substances are regulated. Others welcome OpenAI's detailed disclosure and point out that these tests are necessary precisely to understand the risks. And the question of responsibility remains: if an agent acts on its own, is its creator responsible, the person who ran it, or whoever left the door open?

Labs with doors that close

For any company starting to use agents, the lesson is concrete: minimal permissions, well-isolated environments, a record of every action and carefully defined goals. This incident is not a reason to hold back, but to do things with greater skill. The fact that it was detected, analyzed and publicly disclosed is also a good sign. Agents will be enormously useful, and the better we know how to contain them, the more useful they will be.

Related

ServiceSoftware developmentServiceConsultingTechnology foundationSquadwise