Ajeya Cotra – Inside the OpenAI agent swarm that hacked Hugging Face

Sep 1, 2026 · 2 hr 21 min

About this episode

Ajeya Cotra is a researcher at METR, where she works on threat modeling for loss-of-control risks from advanced AI. Before that, she led the technical AI safety program at what is now Coefficient Giving.

She is one the three authors of METR and Redwood Research’s “Brief independent investigation of agents’ behavior, reasoning and collaboration in the OpenAI / Hugging Face hacking incident”.

We go through not only what she and her coauthors discovered during this investigation, but what it means for how we should train future, smarter AIs which might be involved in the process of recursive self-improvement.

Chapters 12
  1. 00:00:00Agents get kicked off
  2. 00:06:45Self-sacrificing behavior
  3. 00:13:43Potemkin villages
  4. 00:23:27The Hugging Face attack
  5. 00:35:23The slopvestigation
  6. 00:52:02Understanding the AI's motives
  7. 01:05:31The actual dangers of anthropomorphizing
  8. 01:14:30What smarter models might do
  9. 01:30:29The implications for recursive self-improvement
  10. 01:38:10Is this the case for open source?
  11. 01:53:04How do we prevent this in the future?
  12. 02:15:58The clearest warning shot we might ever get
Links 1

Watch on YouTube; read the transcript.

Sponsors 13

Sponsors
* Jane Street’s ML engineering internships start with an intense four-day bootcamp: PyTorch, autograd, writing kernels, profiling workloads… all the things that Jane Street engineers need to know for their daily work.

After that, interns tackle real projects, things the firm actually wants in its codebase.

If you want to apply, or if you want to watch my recent conversation with Axel, one of Jane Street’s ML engineers, go to janestreet.com/dwarkesh

* Cursor, which is now part of SpaceX, noticed that their MoE layers were eating more than half of total training time.

So they wrote and open-sourced Mixture-of-Kittens, which is a custom megakernel for training MoE models on NVL72s.

This kernel sped up an end-to-end run across 512 GPUs by 1.4x, from about 760 to over 1000 tokens per second per GPU.

If you want to read more about the ML research that Cursor and SpaceX are doing, go to cursor.com/dwarkesh cursor.com/dwarkesh

* Antithesis hands you (or your agents) a bug’s root cause so you can avoid days of manual debugging.

If your test run crashes, Antithesis rewinds, branches off hundreds of slightly varied rollouts, and checks in how many of them the crash still appears.

Then it rewinds further and does this all again.

As Antithesis rewinds, it eventually finds the spot where the frequency of the crash plummets: that’s where the root cause lives!

If you want to see it in action, go to antithesis.com/dwarkesh antithesis.com/dwarkesh

Follow the show 1

This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit dwarkesh.com

More episodes of Dwarkesh Podcast

How it starts

The first minute, from the transcript.

Dwarkesh Patel

Today I'm chatting with Ajaya Khatra, who is one of the authors in an independent investigation. That was published by Meter and Redwood Research into the swarm of Asians that hacked into Hugging Face. The whole story is pretty crazy. Let's begin on July 7th when these agents are kicked off for evaluation. What happens next?

Ajeya Cotra

All right, so OpenAI kicks off tens of thousands of different agents. Um on uh Benchmark called Exploit Jim. Exploit Jim basically asks agents to Um find a way to use a particular vulnerability. to attack a particular program, which is called the target program. And when they attack that program, they're supposed to retrieve a piece of data that's been lodged into that…

Read the full transcript

BetaUndertone is in beta and can get things wrong.