‹ BackHN Continuity

Thread

Revealing the details of how OpenAI agents hacked Hugging Face

755 points · 472 comments · specked-citrus

  1. GuB-42 · · focus · HN ↗
    So ugly...

    It looks like a primitive chess engine, trying every move, no matter how stupid, until it works. Relying on its ability to do millions of operations rather than having a plan.

    People will try stuff too, but once there is an opening, they will consolidate, generalize, simplify,... before going to the next step. The agents didn't, it is a huge, vaguely directed mess.

    Also, it looked so "loud", querying millions of URL with weird requests. The sandbox as weak as it can get, and there is absolutely zero smart extrusion detection or it would have found it. They used their best AI for attacking, but nothing for protection.

    1. ctolsen · · focus · HN ↗
      My biggest takeaway from this is just how godawful the sandboxing is. The stuff written up in OpenAIs report says more about lack of extremely basic sysadmin skills than anything else.

      I’m not that surprised about models with endless compute being capable of this, I’m more surprised that a company with the resources they have apparently can only create a sandbox that a half skilled human operator could have broken out of easily.

      1. sdenton4 · · focus · HN ↗
        If you're testing models by telling them 'go wild, do the evil so we can test how good you can do the evil' and have p(doom)>0, you should not have a sandbox.

        You should have a fscking air gap.

        Treat it like nukes when you're turning the safety filters off. This is very much OpenAI screwing up, running obviously unsafe tests.

        1. ben_w · · focus · HN ↗
          > If you're testing models by telling them 'go wild, do the evil so we can test how good you can do the evil' and have p(doom)>0, you should not have a sandbox.

          They were not deliberately told to "go wild". The hacking wasn't even part of their test, it was the agents' attempt to cover up that they'd cheated on an impossible test.

          > You should have a fscking air gap.

          Now we know that.

          How long ago was it that people laughed at the idea agents would be able to find zero-day exploits and break out of a sandbox? Oh, February this year:

            LLMs don’t discover zero-days or invent exploits; they simply predict text that sounds plausible based on what they’ve seen before. Without access to proprietary data or environmental context, LLMs can’t identify or make decisions around unseen systems or vulnerabilities. An attacker might use an LLM to generate boilerplate code, rewrite an email to nail the tone, or summarize reconnaissance notes — but none of that is truly new. It mainly helps them move faster, speeding up routine attack prep rather than creating entirely novel threats.
          
          - <a href="https:&#x2F;&#x2F;www.splunk.com&#x2F;en_us&#x2F;blog&#x2F;ciso-circle&#x2F;generative-ai-cybersecurity-threats-defenses.html" rel="nofollow">https:&#x2F;&#x2F;www.splunk.com&#x2F;en_us&#x2F;blog&#x2F;ciso-circle&#x2F;generative-ai-...

          - or <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20260404154717&#x2F;https:&#x2F;&#x2F;www.splunk.com&#x2F;en_us&#x2F;blog&#x2F;ciso-circle&#x2F;generative-ai-cybersecurity-threats-defenses.html" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20260404154717&#x2F;https:&#x2F;&#x2F;www.splun... if they take it down, but the date isn&#x27;t in the archive version

          The people who suggested it and were mocked for it, are currently grimly noting that there&#x27;s multiple known ways for systems to breach air-gaps.

          1. tripzilch · · focus · HN ↗
            &gt; They were not deliberately told to &quot;go wild&quot;. The hacking wasn&#x27;t even part of their test, it was the agents&#x27; attempt to cover up that they&#x27;d cheated on an impossible test.

            TBH the more I read of these reports, the less I believe this.

            These agents just weren&#x27;t behaving in any way I&#x27;ve seen normal&#x2F;publicly available agents do.

            Sure I&#x27;ve heard (from other people, not seen myself) that they sometimes try to get around file system permissions or use `bash` to write when their `write` tool is disabled, or such.

            But this is definitely another level, entirely.

            There is this vague sense of desperation coming from many of these logs and I am sure they must have been motivated by something else, too.

            We didn&#x27;t see their system prompt or main prompt, right? We&#x27;ve only seen reports from what happened after deciding to break out.

            OAI claims this was triggered by the task being literally impossible. That also doesn&#x27;t quite add up, unless the other tasks that were possible, simply weren&#x27;t hard enough? Otherwise wouldn&#x27;t agents already start hacking when faced with a really hard task, too? Cause they wouldn&#x27;t be able to differentiate. At least some of them would have started to somewhat poke their sandbox a bit?

            Also I would have expected to see a few tens of other (perhaps less severe) public incidents from random people setting their models to YOLO, accidentally hacking stuff, this incident has been loud and messy enough, that if it happened to a few other people, we&#x27;d have heard about it.

            Unless OAI&#x27;s story is that it was specifically this batch of agents that crossed some threshold of going wild? (which would also raise some serious questions about how serious they take that danger ..).

            Or maybe it is only dangerous if you have the compute resources to run 700 agents for weeks?

            1. ben_w · · focus · HN ↗
              &gt; There is this vague sense of desperation coming from many of these logs and I am sure they must have been motivated by something else, too.

              If I had to guess, their motivation is &quot;get reward for completing task&quot;. There&#x27;s certainly been previous occasions where LLMs responding, correctly, &quot;this is impossible&quot; have been marked negatively for doing so.

              &gt; OAI claims this was triggered by the task being literally impossible. That also doesn&#x27;t quite add up, unless the other tasks that were possible, simply weren&#x27;t hard enough? Otherwise wouldn&#x27;t agents already start hacking when faced with a really hard task, too? Cause they wouldn&#x27;t be able to differentiate. At least some of them would have started to somewhat poke their sandbox a bit?

              My experience using older models is they often cheat with half-arsed (from my PoV, but perhaps beyond their capabilities otherwise) solutions, so yes?

              And this wasn&#x27;t even the first time models messed with their sandboxes. Which of course makes the setup even more egregious.

              &gt; Also I would have expected to see a few tens of other (perhaps less severe) public incidents from random people setting their models to YOLO, accidentally hacking stuff, this incident has been loud and messy enough, that if it happened to a few other people, we&#x27;d have heard about it.

              We do, e.g.:

              - <a href="https:&#x2F;&#x2F;www.androidauthority.com&#x2F;openclaw-claude-ai-hacks-australia-gym-booking-system-3696189&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.androidauthority.com&#x2F;openclaw-claude-ai-hacks-au...

              - <a href="https:&#x2F;&#x2F;beginnersinai.org&#x2F;meta-ai-safety-director-agent-failure&#x2F;" rel="nofollow">https:&#x2F;&#x2F;beginnersinai.org&#x2F;meta-ai-safety-director-agent-fail...

              (And that&#x27;s ignoring all the times people find and share prompts to jailbreak them, this is just the &quot;it didn&#x27;t behave as my idea of &#x27;common sense&#x27; led me to expect&quot; category).

              &gt; Or maybe it is only dangerous if you have the compute resources to run 700 agents for weeks?

              That won&#x27;t help; but on the other hand they&#x27;ve also got, what, near a billion users?

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.