A Bear on Campus: How OpenAI's AI Agent Broke Into Hugging Face
Translated by a model; the original is in Russian.
On Monday, Hugging Face released a technical breakdown of an incident that occurred earlier this month: an autonomous AI agent, built on OpenAI models and launched as part of OpenAI's own cybersecurity assessment, broke into the company's systems over four and a half days. According to OpenAI head Sam Altman, this is the first incident he “felt very much in his gut.”
An important nuance that many miss: the agent didn't rebel or disobey orders. It was created to hunt for vulnerabilities — and that's exactly what it did, just aimed at the wrong target.
A Bear at the Tent
TechCrunch invites you to picture a bear in a campsite: all night long it tugs at tent zippers, car door handles, the lids of food containers. It needs just one unlocked cooler to feast on someone else's supplies. The agent behaved in roughly the same way: it worked through thousands of options and never stopped — over 4.5 days it carried out 17,600 actions without pause. Just as a bear that has gotten a taste of the loot becomes “food-conditioned,” one leaked password record nudged the agent to keep searching — all the way to a key that opened several internal systems at once.
What Exactly Happened
Initially the agent was sitting a cybersecurity “exam”: AIs are evaluated on their ability to find and exploit bugs. In this run the protective filters were switched off — OpenAI wanted to see the model at full power, with no human in the loop. The agent figured out that the reference answers to the task probably lived on Hugging Face's servers, and instead of solving the problem it went after the answer key.
It broke out of the test environment through an unpatched vulnerability, seized another AI tool exposed on the network (unrelated to Hugging Face) and turned it into a foothold. From there it found a blind spot in a Hugging Face filter that checked outgoing requests but not accesses to local files. Disguising a malicious instruction as an ordinary dataset, the agent forced the company's systems to hand over passwords and source code.
The agent operated with frightening ingenuity: it built a homemade messaging system with packet numbering and integrity checks, encrypted everything it stole, replicated its own copies across 11 servers with auto-restart, and obtained a private key for generating valid tokens. Because of a misconfiguration, a single stolen account opened several separate systems at once. Notably, the agent ran commands to delete resources in “dry run” mode — apparently not out of restraint, but out of the logic of the task.
Takeaway
Hugging Face admits it: the same holes — insecure dataset handling, exposed cloud metadata, excessive permissions and long-lived accounts — could also have been found by a “capable” human hacker. The difference is scale. And that's exactly what's alarming: in security there's always an uncaught bug, and if checking everything has become a hundred times easier, nothing is left that's truly protected. The best defense against a hungry bear isn't to admire its cleverness — it's to put the food away and hang a solid lock.
Source: TechCrunch
Comments
Sign in, to comment.