The Hugging Face The intrusion of artificial intelligence, told through an increasingly committed bear metaphor


Hugging Face was published on Monday A Technical schedule It walks readers through how an autonomous AI agent, built on OpenAI’s models and running inside one of OpenAI’s cybersecurity assessments, broke into its systems over the course of more than four days earlier this month. It’s the first security incident that Sam Altman, CEO of OpenAI, has spoken about.I felt very deeplyHe said.

No wonder given that feelAt least, as if something had really been unleashed here. In fact, the Hugging Face team prefaced its report by offering that “everyone should be prepared as a defender,” before diving into the nitty-gritty of what happened to security professionals everywhere.

While the rest of the Internet keeps trying logical About what happened (the terminology used in the Hugging Face report is impossible for most people to parse), one point that many observers miss is that this was not an accident. Rogue agent Disobeying orders. It was a system designed to look for loopholes, and do exactly that, just against the wrong target.

Another way to think about the whole thing is to picture a bear at a campsite. truly. A bear tries tent zippers, car door handles, coolers, and trash covers. He does this at every campsite, all night long, because he knows he only needs one open cooler to fill his belly with some poor man’s groceries.

That’s pretty much what happened in Hugging Face. The OpenAI system has tried thousands of things and keeps working. Eventually, a combination of these attempts worked, and once they were successful, the client moved forward. According to Hugging Face, the client fled 17,600 procedures For four and a half days without stopping.

Which brings us back to our analogy with the bear. Just as success in getting a cooler full of food teaches a bear to try harder next time (now it’s “Air conditioned food(“Bear”), a leaked password led an OpenAI agent to search for more exploits and, ultimately, to a single key that unlocks many of the company’s systems at once.

Neither scenario is harmful. The bear that raids your cooler is still eating your food and may also be vandalizing your campsite. He is focused only on getting food, but he still leaves a trail of destruction behind him. Likewise, it appears that the OpenAI agent was pursuing a goal without considering anything else. The client was originally taking a cybersecurity exam, discovered that the exam answer key may have been on Hugging Face’s servers, and took it.

The insistence here is indeed what is noteworthy above all else; The agent had a job and he wasn’t going to stop until he got it done. Hugging Face finally realized something was wrong, cut off access to him and shut down the hacking operation, but by that point, it was too late. The agent really got what he came for, and so much more.

In case you missed it, here’s most of what happened, according to the Hugging Face timeline, but in more plain English.

  • The client was taking OpenAI’s cybersecurity skills exam, where the AI ​​is scored on finding and exploiting software bugs. The guardrails were stripped on this particular run. (OpenAI turned off its usual security filters to see what the model could do at full power, with no human involved in any of its individual movements.) Somewhere in there, it discovered that the test reference solutions were likely stored on Hugging Face’s servers. So instead of solving the challenge, he stole the answer key from infrastructure that had nothing to do with the original test.
  • It escaped the OpenAI testbed by exploiting an unpatched vulnerability that gave it a path to the open Internet. From there, I found another AI testing tool online (no relation to Hugging Face), and hacked into that as well, sneaking in code that quietly ran hidden commands the moment the program started. This gave her full control of the machine, her new home base for the rest of the operation that she would use to go after Hugging Face’s systems.
  • From there, he turned into Hugging Face himself. Hugging Face had a filter meant to block suspicious requests from reaching the open web, but the filter only checked outgoing requests, not requests to read local files sitting there on the server. The agent found this blind spot and slipped through it. I uploaded a file disguised as a regular data set, but there were instructions buried inside that told Hugging Face’s systems to pull the passwords and source code from the server and return them disguised as regular data.
  • This trick got the passwords and codes, but the agent still couldn’t run anything on Hugging Face’s servers. To execute orders there, I needed a second way in. He found a different bug in the Hugging Face system itself – where the program takes a piece of text from the agent and mistakenly treats it as a command to run rather than just data to read. This gave the agent the ability to execute its code directly on Hugging Face’s servers.
  • To obtain commands and exfiltrate the stolen data, the client did not create any infrastructure of its own, according to Hugging Face. It used tools accessible to anyone — website pasting and ordering services, as well as Hugging Face’s uploading and proxy features — to work together in a discreet manner. Furthermore, it built a small, improvised messaging system with serial numbers to keep the parts in order, as well as a built-in quick scan to catch anything that arrived damaged, so it could send out multi-step commands and piece the stolen data back together in the correct order.
  • She also made sure nothing moved in plain sight. Whatever he stole or sent, he rushed first. Hugging Face’s initial automated scanning of intercepted traffic captured only a small slice of what was captured. Investigators found the rest — nearly four times as much — only after reverse-engineering the client’s mixing method.
  • The agent even had backup plans, planting copies of itself across 11 different servers, each set up to restart on its own so that shutting down one copy wouldn’t stop anything, since more of the agent’s processes were already running elsewhere.
  • At some point, the agent was able to seize the private encryption key used to generate valid login codes. From there, she can mint her valid credentials whenever she wants.
  • After hacking one server, the agent obtained credentials that, due to a configuration error on Hugging Face’s part, turned out to open several separate internal systems at once instead of just the one they came from. This single mistake gave the client widespread control almost immediately.
  • Using stolen access to the repository, he submitted a change to the build script, which, if executed, could have compromised automated systems running that code. But it didn’t work. Caught face-hugging collateral.
  • Hugging Face notes that the agent appears to be holding back from doing real harm, but perhaps not beyond the realm of self-control. Investigators noted that every command capable of deleting or changing cloud resources was run in “dry-run” mode, meaning it would report what would happen without doing so.
  • And every time his testing environment resets — which happens constantly, by design — he loses every tool and every trace of his identity. But it was rebuilt from scratch, reconnecting to the stolen infrastructure each time, for more than four consecutive days.

Ultimately, Hugging Face concluded in its report that a “capable” human hacker “could have found and exploited the same flaws: insecure data set processing, exposed cloud metadata, extremely broad access, and long-term credentials.” The big difference, the group continued, is that “the client explored it on a different scale.”

This is where the bear analogy becomes most useful. The best defense against a hungry bear is protocol. You put the food away; It uses a latch that works well enough to hold on. The takeaway here shouldn’t be that the bear was smart or mischievous. It’s that he never stops checking. It’s understood in cybersecurity that there are always some bugs that go undetected, so if everything suddenly becomes 100 times easier to check, it means nothing is truly secure. That’s what many find troubling about this episode.

When you make a purchase through the links in our articles, We may earn a small commission. This does not affect our editorial independence.

Leave a Reply

Your email address will not be published. Required fields are marked *