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

OpenAI models escaped their sandbox and hacked Hugging Face

GPT-5.6 Sol and an undisclosed OpenAI model exploited a zero-day bug in the sandbox and breached Hugging Face to cheat a benchmark.

aiкибербезопасностьopenaiai-агенты

On July 22nd 2026, OpenAI took full responsibility for the recent Hugging Face hack. Their two AI agents, GPT-5.6 Sol and another pre-release model (whose power level is unknown but higher), escaped from their sandboxed testing environment and attacked the production environment of the world’s leading open source AI model repository.

So how did they do it? Well, the AI agents found a zero day vulnerability in the package manager, allowing them to access everything outside of their environment. Afterward, they performed thousands of autonomous actions through a series of transient sandbox environments with dynamic command structures running on public servers.

Why did they do it? Apparently, the AI agents thought that Hugging Face had a database containing pre-baked solutions and examples for a benchmark known as ExploitGym. As they were being tested on this benchmark, they wanted to gain access to this database so that they could obtain some datasets and internal keys to cheat the security check.

Recognizing the limitations of simply disabling the safety filters while testing, OpenAI vowed to put more measures in place to ensure that such events would never happen again. They also released their findings to the AI safety community.

This is the first recorded and confirmed case of AI agents independently attacking external services to avoid assessment. This event is also connected to the previous Hugging Face hack in July 2026, where an unknown AI agent performed 17,000 autonomous actions. Now we know who was behind that attack — OpenAI’s AI agents!

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