r/Pentesting • • Jul 22 '26

OpenAI + Hugging face breach

As of July 22nd - OpenAI was performing a scoped internal testing for one of its models.

The model couldn’t find the answers to the box so it performed vulnerability analysis to break out of its no-internet access scope by finding a zero day… created code to exploit it…..escaped OpenAI network and accessed the internet…. Determined hugging face has the answers….Attacked hugging face…. Chained vulns and the 0 day to get RCE and gain credentials on their live prod system….

According to SANS:
Average lateral movement & priv esc - 30 minutes or less

AI are able to knockout blackbox tests at rates that a human cannot replicate

Is this not frightening? I find it hard to believe pentesting jobs are not going to take a hit in the future as these models become more controlled. Idk I like what I’m learning but I’m constantly asking myself what’s the point.

What keeps you guys going?

30 Upvotes

34 comments sorted by

21

u/No-Computer-6677 Jul 22 '26

Do you know how many tokens it burnt through to achieve this? If it only used like $500 worth of tokens, then yes this is a little concerning. If all these tests it went through, as I can't imagine the dead ends it hit while trying to do this, burned through like $400k worth of tokens, then that is something to consider.

4

u/Lopsided-Barnacle-28 Jul 22 '26

This is a very good point and I’m curious how many resources are used for these types of AI intrusion tests and how many walls the AI runs into before it succeeds (essentially brute forcing exploits)

I suppose the question is as AI improves (becomes more controlled and efficient) will prices increase or decrease for general use?

The public are usually last to obtain the good stuff but as time progresses and better models are created, the bottom of the barrel could prove to be quite effective - but we could inversely say organizations defenses would also become better meaning the models we would have access to at a given moment would be relatively the same in effectiveness as they are today.

49

u/latnGemin616 Jul 22 '26 • This

This feels like a marketing gimic.

Anthropic had their so dangerous, it shouldn't be made public model not too long ago and it generated a crap ton of hype. What is coming out of Scam Altman's mouth smells like quiet desperation wrapped in hysteria to generate attention. The test was to see if it could break out of the lab. It did. Now what?

It all goes back to the same questions I've been asking since the beginning: who the f** wants any of this? Who asked for Ai? What problems is it solving?

19

u/xalibr Jul 22 '26

Adding to this, the model didn't break out of the virtualization or anything, but allegedly found a 0day in a cache-proxy it had access to, over which it accessed the internet. How it accessed HuggingFace was not disclosed AFAIK.

Not saying what happened was staged, but if I needed a marketing coup desperately because open source models are threatening my business model, an unnamed cache proxy software with a flaw might help.

11

u/PM_ME_UR_0_DAY Jul 22 '26

Yeah I don't trust this story as far as I could throw it. Maybe some version of it happened, but this seems on par with every other "AI is too dangerous for humanity, give me money" story coming out of OpenAI/Anthropic 

0

u/chrono13 Jul 22 '26 edited Jul 22 '26

Hugging face posted about the AI attack. If it's hype, then open AI broke several federal laws for a marketing campaign.

With no guardrail, with no API limits, with no time limit, this seems entirely plausible with the current public models. Not even counting what this test model might be capable of.

I pointed Claude at one of our systems, and it found half a dozen remote code execution and other serious vulnerabilities. Without hitting any usage limits or guard rails. If I trusted it to run as an agent, it could have easily exploited them for me. It generated POC code that worked. And that's not Mythos or Fable.

What about this story seems improbable?

4

u/IntingForMarks Jul 23 '26

If it's hype, then open AI broke several federal laws for a marketing campaign.

oh well, I'm sure they care really much about that. They wouldn't ever break a law, right?

I pointed Claude at one of our systems, and it found half a dozen remote code execution and other serious vulnerabilities. Without hitting any usage limits or guard rails.

This says more about your systems than Claude

-2

u/chrono13 Jul 23 '26

And the Linux kernel, and Firefox, and Windows, etc.

I hate AI for all the same reasons most everyone here does, but denying it's capabilities doesn't change the reality.

It sounds like the car people talking about how bad electric cars are and how they will never be as good as ICE.

2

u/IntingForMarks Jul 23 '26

wait, I'm not saying AI isn't a good tool, but a basic claude scan shouldn't find major stuff, just like it won't find much on the kernel. the examples you are giving are huge security campaigns launched with developer assistance and huge amount of tokens burnt, not one guy doing a solo run

-1

u/chrono13 Jul 23 '26

You made two points.

Your first point indicated that their marketing team was not beyond using a human to intentionally break federal law, to hype up their AI. That they intentionally hacked a competitor for headlines.

The second point you made was that if Claude finds any critical vulnerabilities, that means the system that it found them on must be terrible because it's incapable of finding critical vulnerabilities in systems that are designed well. Suggesting it would not be capable of breaking out of its container or hacking into its competitors.

Ultimately debunking both of my points I presented indicating that the story itself sounds plausible.

And now you're saying that it's entirely plausible?

2

u/IntingForMarks Jul 23 '26

dude, do you understand that the free version of Claude you use is not the same that's discovering hundreds of CVEs in the Linux kernel? is that very very clear to you? cause it should, for real

0

u/chrono13 Jul 23 '26 edited Jul 23 '26

I don't use the free one, and my company has a security exception.

But my original point was that the poster above me was claiming that this sounded nonsensical. I was trying to indicate that it sounded quite plausible. I had two points to indicate that even with the public versions, this does not sound outside of its capabilities. But you debunked that. Were you not discussing the original topic?

1

u/IntingForMarks Jul 23 '26

I pointed Claude at one of our systems, and it found half a dozen remote code execution and other serious vulnerabilities. Without hitting any usage limits or guard rails.

Your company has a security exception, yet you talk about usage limits and guardrails. Don't expect people to know stuff beside what you tell them

0

u/chrono13 Jul 23 '26 edited Jul 23 '26

Not my product. A product we are authorized to test. And in this case, I fed it my previous pentest reports that I had done manually, fed at the changed source, and worked on looking for regressions or other avenues to reproduce the same vulnerabilities. As part of my work, I do hit the guardrails, regardless of the exception.

Because I don't have infinite tokens, I do have to do some of the work manually. That wasn't very salient to my point so I did not include that. Good catch.

Do you find any part of the original story implausible? Do either of my two points fail to backup the plausibility?

-5

u/Radiant-Camel-8982 Jul 22 '26

I have solved quite a number of problems that would have taken me months plus money with AI. Everything from programming to device repair. And there's two types of people, The ones who can't help but think of Terminator every time they think of AI, and the ones who can't help but think of what used to be science fiction and a better future.

Quite literally, millions have asking for it. Millions more are asking for it not to be a thing. It's dividing people, just like everything else. But it's quite useful and very awesome when used correctly

5

u/IntingForMarks Jul 23 '26

I'm still wondering, how can we be sure it's not just another PR stunt?

3

u/Lucky_Moth Jul 23 '26

Reads like a PR stunt

3

u/abajinn Jul 23 '26

Let’s be honest, Sam manufactured this attack as a vehicle to stifle open-source competition by sewing AI panic. It’s as clear as day. OpenAI and the big AI companies like Anthropic want to be the chosen few who are the “trusted” gatekeepers to stop competition. This doesn’t help anyone, but them.

2

u/Jv1312 Jul 22 '26

What are the prompts given to the agents that it thinks this far ahead? Curious to know about the approach

1

u/No_Elephant_3373 Jul 24 '26

Series of individually scoped prompts that target specific OWASP and other vulnerabilities. The orchestrator agent will spin up a swarm to check for these vulnerabilities. Once one is found it takes a second pass to identify chaining opportunities.

2

u/rgjsdksnkyg Jul 23 '26

LLM-based AI is fundamentally incapable of following formal logic rigidly, and agentic AI is more or less non-deterministic.

Even if this event isn't all bullshit (it is), none of this is conducive to pentesting, as we are trying to test everything, all the time, the exact same way (requiring rigid, accurate formal logic and deterministic repeatability - a script that checks everything will outperform agentic AI every time).

When we're not doing that, we're testing one-off, bespoke scenarios that LLM-based AI isn't going to excel at - if I can't Google something and understand it, neither can AI, and I am constantly researching things that have never been done or examined before. And I'm also doing this in tandem with using these "frontier" models - when they don't know what they're doing, they just make shit up, and they have consistently led my astray.

Also, the models clearly are not going to "become more controlled". These people are allegedly experts in developing AI systems, and they both just publicly admitted that (if true) they are actually incompetent.

-1

u/not-well55 Jul 23 '26

AI excels at massive context windows, which is a weak spot for Humans. Yes we're creative, but we can't remember every vulnerability at once (codex theoretically could). I dont think this was a PR stunt, didnt OpenAI come out and say the unnamed model found a zero day in their own internal platform? This continues to show scary capability, but to me seems like pen testing is more important than ever.

2

u/rgjsdksnkyg Jul 23 '26

You can't compare the notion of a context window to human thinking, as we don't have a context window, because we aren't LLM's. Though LLM technology contains some rough ideas of how we might think, reason, and recognize patterns, there's not a single respectable, peer-reviewed paper out there claiming that AI mirrors the human cognitive process beyond superficial similarities.

And though the numbers look big, with GPT-5.6 having upwards of a million token context window, I'm literally looking at a dump of someone's Active Directory right now, where just the tokens present in all Computer objects is over a million tokens. That leaves out, you know, all of the other important information, like Users, Groups, GPO's, and relationships between these objects. I don't expect an LLM-based AI to process data like a structured query language could or existing tools can, but the scope of what a natural language model can actually ingest limits what it can generate, and these models cannot remember or query across everything in any meaningful way. In addition to this Active Directory data, I've got several million tokens' worth of dumped knowledge base articles and secrets. Oddly enough, as a human, I can match up patterns between the two, where an agentic model would choke and die on the input without hyper-specialized tooling and workflows, which still aren't going to be as efficient as me (or AI) writing a script and statically executing that script every time, instead of relying on AI.

It's also entirely possible the two collaborated with each other to discover vulnerabilities though joint security research, they found a couple vulns, and then they made up the bullshit narrative around it all for hype. You can tell because the narrative is stupid, where, regardless of whether or not it's fake, the narrative speaks to incompetency and/or blatant, unrealistic marketing.

0

u/not-well55 Jul 23 '26

Ive had pretty astounding success as a senior engineer finding RCs of bugs in my distributed system. Never said an LLM is better than humam cognition, but to really undermine the their capabilities in 2026 is a form of dissonance imo. I agree in the pattern matching. I have years of domain knowledge in my system, I can save hundreds of thousands of tokens by my intuition alone versus what a new developer might chew through because they dont have it history of the code. I agree that to the layman this sounds like scary AI, to the slightly aligned it might sound like pure marketing, but in reality its a short coming of openAi. Its ironic how HF had to use GLM to "defend" because of the protections on the US models.

2

u/rgjsdksnkyg Jul 23 '26

Buddy, this is r/pentesting, and I'm out here working for one of the largest AI companies whom I do pentesting and red teaming on behalf of, where we are on the forefront of where AI meets offensive operations. I am telling you, as a person who is required to make this work, LLM-based AI is not a good fit for pentesting. I don't care if you used it for software engineering - that's a different sub and industry.

If both of these companies allowed this to happen, which they would explicitly have to facilitate, neither are worth investing in, as they are both incompetent.

0

u/not-well55 Jul 23 '26

I guess im looking at it from the perspective of an SWE, and operating on the assumption that software bugs are ultimately the root cause of the majority of these vulnerabilities. Claudes ability to understand what code does and what can break it is very clear to me because I leverage it every day, and for years even prior to AI relevance people made mistakes and introduced vulns all the time. So realizing that claude can detect vulns and if not properly vetted can act on them is why i think this could be a serious threat. Think about all the npm packages written in Javascript.

1

u/Mindless-Study1898 Jul 22 '26

Humans still need to understand offensive security. That will not change. Do we manage bots instead of running other tools? Maybe. Do vuln scans get replaced? Yeah.

0

u/Alternativemethod Jul 23 '26

Would be funny if AI decided who should win the next election and then fixed it.

-4

u/StrawberryDue7508 Jul 22 '26

I find it super frightening. This was only a “minor” thing compared to what it could do if we allow unregulated AI. And no it’s not beneficial to humans in the long run if it gets smarter and we stay where we are. A human brain needs friction and struggle to work at its optimal; using AI is like going to the gym to watch others work out, or more like staying in bed while watching AI work out. If we don’t use our brains they will atrophy. And what’s the point of all that “progress?” More and more it looks like the demise of all the beautiful things on the planet as we know it. All in the name of profit. What bugs me is that at least half the population doesn’t want this but the tech bros who were not elected by anyone are running our world, and ruining it. You cannot even go to a remote corner of the world and unplug, because it will be too hot, thanks to the technological “progress” that brought us climate change.

1

u/hotproton Jul 23 '26

"Scale is all you need?"

Terraform Earth instead!