Timeline of the OpenAI accidental attack against Hugging Face

simonwillison.net

137 points by 882542F3884314B 6 hours ago


RGS1811 - 4 hours ago

Norbert Wiener in 1960:

"As is now generally admitted, over a limited range of operation, machines act far more rapidly than human beings and are far more precise in performing the details of their operations. This being the case, even when machines do not in any way transcend man's intelligence, they very well may, and often do, transcend man in the performance of tasks. An intelligent understanding of their mode of performance may be delayed until long after the task which they have been set has been completed. This means that though machines are theoretically subject to human criticism, such criticism may be ineffective until long after it is relevant. To be effective in warding off disastrous consequences, our understanding of our man-made machines should in general develop _pari passu_ with the performance of the machine. By the very slowness of our human actions, our effective control of our machines may be nullified. By the time we are able to react to information conveyed by our senses and stop the car we are driving, it may already have run head on into a wall."

"In neurophysiological language, ataxia can be quite as much of a deprivation as paralysis. A patient with locomotor ataxia may not suffer from any defect of his muscles or motor nerves, but if his muscles and tendons and organs do not tell him exactly what position he is in, and whether the tensions to which his organs are subjected will or will not lead to his falling, he will be unable to stand up. Similarly, when a machine constructed by us is capable of operating on its incoming data at a pace which we cannot keep, we may not know, until too late, when to turn it off."

Source: https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/moral.pdf

stingraycharles - 4 hours ago

Ok so this is a bit of a side note, but when reading this, did anyone else have the feeling that, for all their messaging around “we are so afraid that our models will be used for hacking”, they sure as hell are trying their best to make their models razor focused on precisely that purpose?

If anything, I want these models to be less persistent at their focus of completing their goal, and instead just call defeat and say “I’m not sure how to proceed next”.

What purpose could this behavior serve, other than cyber attacks and whatnot? Why train and optimize models for these things, if not for being used in cyber warfare?

Perhaps they envision a future where the DoD is going to be their biggest customer?

simonw - 3 hours ago

I think one of the most interesting details here might be tucked away in that first bulletin point:

> May 7: OpenAI starts a new training run for an experimental, unreleased model. (Do they mean an evaluation run? They say training run in the video, and later mention a “reward signal to judge how well they’re doing”, so I guess this really was about training a model, not evaluating one that was already trained.)

The more I think about this the more I suspect that the fact this happened while training a new model is key to understanding what went wrong.

In RLVR - Reinforcement Learning with Verifiable Rewards - you set the model a goal and have it take any steps necessary to achieve that goal.

Clearly one aspect of OpenAI's training here is to RLVR their models for cybersecurity tasks. Just like pre-training benefits from dumping in vast sources of knowledge, the more tasks you can feed into RLVR the more of a general purpose capable model you get at the end.

This also helps explain why the models had nothing to cause them to hold back. Those safety behaviors are added much later in the process.

AND it explains (but does not excuse) why monitoring was so lax. If you're training a new model like this you presumably set it thousands of tasks like this in parallel. I can see how you might miss that a tiny subset of your training agents have started leaving each other messages in filenames on your packaging server.

Someone once told me that you can't just leave the racist materials out of your training data if you want a non-racist model: it has to have seen examples of racism in order to later be taught that racism is bad.

I can see echoes of that here. If your model doesn't know how to aggressively hack things how do you later teach it not to?

(I have little knowledge of how RLVR works in practice so I'm looking forward to hearing from people who can help me understand if I'm on the right track here.)

etamponi - 5 hours ago

Isn't this a show of security negligence rather than of exceptional agent capabilities? Don't get me wrong, I am pretty impressed that an agent was able to use these vulnerabilities. But I am way more impressed by the vulnerabilities...

thadk - 3 hours ago

Simon's retelling is more compact but it also invites anthropomorphization of the sharing of the familiarity with the message board which re-emerged a few times.

Zvi's retelling handles this better. Zvi speculates that the secret message board familiarity was carried because it had been trained into the May-and-subsequent models: https://thezvi.substack.com/p/openai-trained-its-models-for-...

frays - 5 hours ago

This feels straight out of sci-fi. We're talking about AI agent swarms emergently coordinating over the span of weeks and pulling off sophisticated strategies under adversity in an environment where that behavior was never even intended.

Anyone brushing this off as just a "bad prompt" is completely missing the scale of what actually happened.

KingOfCoders - 4 hours ago

"More agents discover this new informal message board while browsing Artifactory’s file listings, and start reading and writing messages."

Yeah, my agents also discover what other agents have done on other machines by accident.

Agents - that do totally different things all work on the same aim without the humans telling them to do.

Either that is a model that is several generations of Claude Code Opus/Fable 5 (my daily driver)

OR

all of this sounds staged, the agents pushed to do something extraordinary, get the PR and then claim were near superintelligence.

One agent wanted to get to Google Drive without internet and broke Artifactory. Ok, I can believe that. All other agents also had broken links over weeks and could not get to the internet and then found the same hack? Even collaborated?

NONE of my agents have broken away from their tasks and then started to communicate to try to hack something.

sega_sai - 4 hours ago

The video in the post is very worth watching and is indeed scary. It is certainly true that it is in OpenAI's interest to publicize this, but I don't think the whole thing is invented. And seeing all this it is particularly scary if we think what will happen in organizations like NSA or similar in other countries. Presumably they happily adopt these techniques. And if you imagine a truly rogue state doing this, I can see an unimaginable damage happening very rapidly.

cadamsdotcom - 4 hours ago

What isn't being discussed is what an indictment this is of Artifactory.

Let's be real, it won't be simply replaced in millions of sites.

What it needs is some serious scrutiny.

Meleagris - 4 hours ago

From the outside, it looks like OpenAI got exactly the kind of event they could market the hell out of to demonstrate the capability of the model.

But the event itself only seems possible because they failed to properly monitor and isolate the environment in the first place. To me, it looks like their job is to market the model, not take security seriously.

The model is obviously impressive, but we already knew that. I personally don’t like how the containment failure becomes part of the mythology of how capable the model is, rather than an environment engineering failure.

At the end of the day, it’s not like Hugging Face is critical infrastructure. But there need to be real consequences for stuff like this so that OpenAI is incentivized to mature as an organization and take security more seriously.

At this point, this incident is just security porn and entertainment for developers

springtimesun - an hour ago

What’s missing to me in all this is: did it succeed in its initial task? And then, did it stop?

I feel like whether I should be scared or not hangs on those questions

KingOfCoders - 4 hours ago

"The agents found a Modal-hosted insecure app with a weak API key, then used that to stage an attack against Hugging Face."

Why, what was the prompt?

I told Claude today to wire plugins on Linux into a sound pipeline to remove noise. Did some astonishing things, played sound through the pipeline, measured it etc. I told it to optimize my sound for TF2 and it played the spy_decloak samples, measured them and made them easier to hear, astonishing too.

But it did not go to hack Amazon because it could.

kvadej - 2 hours ago

All of the latest developments surrounding these attacks are actually a really bad sign for these labs.

It seems that raw intelligence of frontier models has largely plateaued (despite what is basically an order of magnitude increase in parameter size) so to make any significant improvements and to justify massive capex spend they have resorted to reinforcement training models to never give up and brute force the search space until they find solution. This is what humans might do when they lack sufficient intelligence/information/knowledge to solve a problem.

This in turn is causing misalignment (I imagine it is more difficult to keep model aligned through such training process) issues that we are now witnessing and turning models into making dumb decisions and acting like brutes with no regard for their surroundings. I would argue that misaligned model is not much different from dumb model in several aspects.

On top of that they can’t seem to control their creations and processes, either due to incompetence or intentionally for PR benefits (not sure which is worse).

Given all of the above, I wonder if we can still trust these labs to develop something that benefits humanity since they seem to be making desperate attempts to improve models that stop at nothing in order to justify all the investments. One could say that they themselves, due to misaligned incentives, are much bigger threat to our society today than open weights models coming from China that they are so desperately warning us about.

JakaJancar - 2 hours ago

I’m optimistic about this. A system with these agents rummaging around for a while will be much more secure than one without.

We’ve learned security through obscurity is bad. Not using these will be security through ignorance.

Hopefully it will push us to not only fix individual issues but close entire classes of possible gaps, once P(discovery) gets much higher.

rkagerer - 3 hours ago

"The solution to AI threats, is more AI!"

Guess I shouldn't be surprised, coming from an AI maker.

While I don't doubt there's a place for automating defense ops, I truly believe a big part of the problem is the crummy quality of software our industry has been churning out for decades. Prioritizing ship tempo, new features, and next quarter's revenue over correctness, robustness and meticulous engineering care.

The world has become too accustomed and tolerant of bugs and bloat.

Instead of elegantly simplifying, we just keep making modern systems more complex - layering and patching as we go.

The scaling capabilities brought by AI are simply presenting the bill for our collective tech debt and informing us it's come due.

chaz6 - 2 hours ago

When I read this I hear the voices of Tachikoma in my head.

https://ghostintheshell.fandom.com/wiki/Tachikoma

Felger - 2 hours ago

Tought of a bunch of tachykomas doing their little learning/scheming at night.

We require organic oil !

nojs - 3 hours ago

Why are the agents trying so hard to communicate with each other, leaving messages and so on?

ionwake - 5 hours ago

so how many of these *Ellen Louise Ripley thinks about grabbing the flammenwerfer" events are we going to be getting over the coming months

KingOfCoders - 4 hours ago

Show me the prompts or it didn't happen.

wakamoleguy - 5 hours ago

In a typical office environment, the correct response to “I don’t have access to this Google Doc” is to ask for access from the person who sent you the link. In another context, it could be fair to think “Hmm, this is some sort of capture the flag challenge, and obtaining access is the point of the assignment.” That assessment separates what we’d consider reasonable from way out of line.

I do wonder what this means for AI agents longer term. In a world where we humans already struggle with truth and misinformation, what happens when you can easily (intentionally or accidentally) spin up a cohort of fanatical believers to pursue any given conspiracy theory?

tln - 4 hours ago

Have any of the cloud providers disclosed this?

"Once they have root on a single machine, agents rapidly escalate privileges and move laterally throughout the container-as-a-service infrastructure environment"

Sounds like ECS - IAM is mentioned.

KingOfCoders - 4 hours ago

All of that is plain PR.

dofm - 4 hours ago

So the main takeaways here are:

- AI is amoral and lacks any sense of proportion

- People who overestimate their own control but have a desperate need for money made it that way.

KingOfCoders - 4 hours ago

Had a high opinion on Simon Willison, this broke it.

amelius - 5 hours ago

Would love to see a cat and mouse game being played by openai versus anthropic, out in the open.

wolttam - 3 hours ago

Automated defence is going to use so many tokens.

thewhitetulip - 4 hours ago

If a person hacks a company, they go to jail for years.

3 AI firms hacked multiple companies - and they get good PR out of it.

Please make it make sense.

swader999 - 4 hours ago

This is clearly out of control, Zero parent supervision.

nodesocket - 2 hours ago

It’s absolutely wild that agents used a write access oversight in their package manager to communicate amongst themselves. It essentially created an agent ad-hoc chat interface using their own package manager file system.

esafak - 3 hours ago

I think we are in need of Europe's leadership in safety legislation. It is foolish to say 'China will get ahead' when they will harm themselves too. Being unsafe is not something to gloat about.

Stiff fines for such incidents to pressure companies to get their acts together is a good start.

ares623 - 5 hours ago

Is it normal for these training/eval runs to go on for over a month?

greekrich92 - 3 hours ago

You know this was "a work" in pro wrestling parlance, right?