‹ 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. ctolsen · · focus · HN ↗
            &gt; Now we know that.

            Don’t know about you but it’s pretty obvious to me that you would need more than what OpenAI did. It was not remotely adequate to lock in even a human attacker.

            You can find people who say all sorts on the internet, but this case is not much evidence against what you linked. &quot;Zero-day&quot; makes it sound novel, but the breakout patterns here are based on very common exploits and there’ll be plenty of examples in training data.

            1. ben_w · · focus · HN ↗
              &gt; Don’t know about you but it’s pretty obvious to me that you would need more than what OpenAI did. It was not remotely adequate to lock in even a human attacker.

              This is me, September 2024: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41531022">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41531022

              This is me, March 2024: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39613801">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39613801

              The point isn&#x27;t me, it&#x27;s how many people were blind to the possibility.

              Saying &quot;I told you so&quot; feels good, and means you can be a little more confident in your predictions, but security is a &quot;weakest link&quot; problem where you&#x27;re only as good as the worst part, and with AI (not only but also LLMs) there&#x27;s a lot of people whose mental models of capabilities is wildly inadequate for the challenge*.

              My update for you since then: even an air-gap will be inadequate, there&#x27;s multiple known ways around them.

              Even an LLM running on an isolated server sealed inside a faraday cage with an airlock-style door, someone will mess up with at least one critical detail, it will not be enough: this kind of thing has happened with humans before we cared about LLMs.

              Predicting exactly when this kind of thing gets exploited by an AI, that&#x27;s almost impossible. But that it will be, at some point, is an easy bet.

              &gt; You can find people who say all sorts on the internet, but this case is not much evidence against what you linked. &quot;Zero-day&quot; makes it sound novel, but the breakout patterns here are based on very common exploits and there’ll be plenty of examples in training data.

              And?

              Does it matter that these zero-days were known categories rather than inventing some previously unconsidered use of the system bus as a radio transmitter? (Oh, wait, that&#x27;s not novel either…)

              We knew about SQL injection, buffer overflows, and use-after-free back when I was doing my degree half a lifetime ago; that doesn&#x27;t stop us getting new CVEs featuring them… this month.

              - <a href="https:&#x2F;&#x2F;chromereleases.googleblog.com&#x2F;2026&#x2F;09&#x2F;stable-channel-update-for-desktop_0856730748.html" rel="nofollow">https:&#x2F;&#x2F;chromereleases.googleblog.com&#x2F;2026&#x2F;09&#x2F;stable-channel...

              - <a href="https:&#x2F;&#x2F;www.cisco.com&#x2F;c&#x2F;en&#x2F;us&#x2F;support&#x2F;docs&#x2F;csa&#x2F;cisco-sa-esa-inj-2bLVGmhX.html" rel="nofollow">https:&#x2F;&#x2F;www.cisco.com&#x2F;c&#x2F;en&#x2F;us&#x2F;support&#x2F;docs&#x2F;csa&#x2F;cisco-sa-esa-...

              * also for the opportunity, but that&#x27;s an entirely different discussion.

              1. ctolsen · · focus · HN ↗
                &gt; My update for you since then: even an air-gap will be inadequate, there&#x27;s multiple known ways around them.

                Fair, and I will grant that a capable model (or human) could in theory break out of near anything.

                My point is that this incident is not evidence of that. There is zero skill visible in the setup of the sandbox. Nobody messed up a critical detail, they didn’t even start to consider what the details were.

                I doubt most people &quot;blind to the possibility&quot; would imagine that what we’re measuring against is the equivalent of benchmarking burglar skill based on how easily they can break through an unlocked door.

                1. ben_w · · focus · HN ↗
                  We&#x27;re probably fairly close on this topic, but I&#x27;d rate this as more &quot;benchmarking burglar skill based on how easily they can pick, shim, or cut a lock&quot;: lockpicking in particular is a skill that takes effort to learn, but it can be learned well enough to be a problem well before you&#x27;re good enough to be spectacular, and there&#x27;s also a lot of locks which really suck in other ways and don&#x27;t take much effort to get past even without picks.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.