AI pentesting: what the hype gets wrong

Luke (hakluke) Stephens

Abstract image of an overlap

“AI pentester” is the phrase of the year, but most of what ships under that label is a language model with a shell and too much confidence.

Maybe that’s too harsh… some of these offerings are legitimately impressive, and I’m not saying that the robots can’t find bugs. They can and they do. But it really takes some serious wrangling to get these bots doing good, accurate offensive security work that produces verified findings, and many of the offerings out there just don’t do enough wrangling to reliably produce the results that are claimed by their own marketing.

So let’s talk through it.

Credit where it’s due

Google’s Big Sleep agent found a real, exploitable bug in SQLite before it shipped, on a target where 150 CPU-hours of fuzzing had found nothing. DARPA’s AI Cyber Challenge had autonomous systems find 54 of 63 planted vulnerabilities and patch 43 of them. Anthropic’s Mythos run turned up a 27-year-old bug in OpenBSD.

Those numbers are crazy and they are the tip of the iceberg, but you should still be side-eyeing the sales deck, because of how those teams actually operated.

The number one AI hacker on HackerOne says don’t trust the model

XBOW’s agent topped the US HackerOne leaderboard in 2025. Their research lead, Brendan Dolan-Gavitt, then got on stage at Black Hat and said that language models are “very, very good at convincing themselves there’s a problem there even when there’s not.” He closed with: “Hopefully, I’ve given you lots of good reasons not to trust language models when they tell you there’s a vulnerability.”

The person who built the number one AI pentester is literally telling you not to believe the AI pentester.

XBOW’s fix was deterministic, non-LLM validators. They planted canaries in the target that the agent has to actually reach before a finding counts. And even with that, their own numbers show roughly 1,060 submissions of which 208 were duplicates, 209 informative and 36 not applicable, even though every one was human-reviewed before it went out.

This pattern seems to repeat itself everywhere you look. Google keeps a human expert in the loop before Big Sleep reports anything. Trail of Bits won $3 million at AIxCC by using LLMs to seed fuzzers and never submitting a patch without a crashing proof. Anthropic ran its Mythos findings through AddressSanitizer and actual exploits, then handed the serious ones to human triagers.

TL;DR – Every one of the really successful AI pentesters gate the output on something that can’t hallucinate. Either deterministic proof, or a human triager.

Where AI pentesting tends to fall apart

Agents are really smart in some ways and really dumb in other ways. They can figure out a very complex chain of vulnerabilities, but then they can also see a HTTP 200 response on an IDOR exploitation attempt and assume that the exploit worked without actually checking the response body. Or it can see a reflected parameter and confidently call it XSS without checking that the JS injection actually works.

The benchmarks are rough reading. OpenAI’s own GPT-5 system card reports that on its cyber range the model solved zero scenarios unaided, and went 0 for 4 on the hard tier of an external evaluation. The most-cited “AI can hack” paper, Fang et al., found GPT-4 exploited 87% of one-day CVEs, but only when it was handed the vulnerability description. The number drops to 7% without the vulnerability description.

And the crazy amount of false-positives happens with the frontier models too. When Anthropic’s Mythos was pointed at curl, Daniel Stenberg reviewed the output: five “confirmed security vulnerabilities” became, after hours of expert review, three false positives, one plain bug, and one real low-severity CVE.

Another great case study is Sean Heelan’s writeup. He used o3 to find a genuine zero-day in the Linux kernel’s SMB code, which is seriously impressive. But on a 12,000-line target, the known benchmark bug surfaced in just 1 run out of 100, at roughly a 1-in-50 signal-to-noise ratio. His conclusion was the same as the others, but in different words: he said to “treat these models like fuzzers”, which is such a great analogy. Fuzzers find interesting things to investigate, but not confirmed bugs.

The stuff a pentester does that the agent can’t

When you think about it, the work that agents are worst at is really the work that cybersecurity professionals have been paid for all along. Finding bugs is important, of course, but Nessus has existed since the 90’s and it didn’t displace any pentesters. The real value that humans provide is judgment about what’s actually dangerous for the business, and AI is still pretty bad at it, just like scanners are.

Bugs that rely on business context or business logic can be tricky for AI too. Even Anthropic’s own Mythos writeup admits that “logic bugs are harder to validate, since there is no equivalent of a crash oracle.”

Web app security is mostly logic and authorization. The single most common API bug on the planet, broken object level authorization, requires knowing who should and shouldn’t be allowed to see and do things. The model often does not know that, and makes the wrong judgement.

Then there’s accountability. A real pentest ends with a human who stakes their name on it. We’ve seen some crazy things recently where real, objectively illegal attacks have been carried out by AI and the human behind the AI has said something along the lines of “oops sorry my AI went wild”. This can not be a valid excuse for cybercrime – a human must be accountable for the actions of every AI system.

The version of AI pentesting that works

Let me be clear – I’m not anti-AI. I use it literally every day, for hacking. The thing is, most people are using it for things that it just isn’t good at. It’s important to use AI for what it’s good at, and leave the rest to deterministic tools or humans.

The good version of AI in pentesting is an agent that’s been given a suite of good deterministic tools, and keeps a record of everything it did. Let it do the top of the funnel, where it’s legitimately great: recon, enumeration, reading a huge messy codebase and uncovering the scary bits, drafting payloads, suggesting what to try next. It’s great at the grunt work, and being able to hand it over to a persistent hacker that never gets tired is awesome.

Then, force every conclusion through a deterministic check against the live target, and log the check. Never trust the agent’s verdict alone.

Check out how Detectify is approaching this with their new Agentic Tooling offering.

What to ask an AI pentesting vendor

If someone’s selling you AI pentesting, these cut straight through the demo:

  • Does it prove each finding, or just describe it?
  • Can I review the exact request and response behind every result?
  • Was the agent handed the vulnerability, or did it actually find it? (Remember: 87% with the description, 7% without.)
  • How do you confirm authorization and business logic bugs, which typically have no crash oracle?
  • When it causes damage, or something goes wrong, who’s accountable?

Luke (hakluke) Stephens

I'm a dad, hacker and entrepreneur. I founded Haksec Group, a holding company spanning HackerContent (cybersecurity marketing agency), Ironbark Cyber (consultancy), and TRIAGERS™ (outsourced VDP triage).

Check out more content