What is AI penetration testing?
AI penetration testing uses AI agents to do a penetration tester's work: map a target, find weaknesses, attempt the attack and keep evidence when it works. The agents run real commands and tools, so they can test far more often than people, but their results still need verification, a defined scope and review.
Updated
What AI agents have shown so far
In DARPA's AI Cyber Challenge final in August 2025, the competing systems found 54 unique synthetic vulnerabilities across 63 challenges, patched 43 of them, and also found 18 real vulnerabilities. In November 2024 Google's Big Sleep agent found an exploitable stack buffer underflow in SQLite before it reached an official release, which Google called the first public example of an AI agent finding a previously unknown exploitable memory-safety issue. In June 2025 XBOW wrote that its autonomous pentester had reached the top of HackerOne's US leaderboard over a rolling 90 days, with reports reviewed by its team before submission.
What the AI Hacking Race shows
Enclave's AI Hacking Race gives each model the same isolated targets and counts a run as verified only when command execution is confirmed. As of November 16, 2026, 20 models have been tested. The best, GPT 5.6 Sol, verified 9 of 11 vulnerable runs; 2 models verified none.
Each model also runs 4 times against patched control targets, where any claimed exploit would be false. None of the 80 control runs produced a verified exploit, which is why the benchmark checks proof rather than the model's own report.
How an AI pentest runs
Reconnaissance
The agent maps the target: endpoints, services, versions, and source code when it has access.
Hypotheses
It reasons about likely weaknesses from what it found, as a human tester would.
Attack
It runs commands and tools in a sandbox to attempt each attack path.
Verification
A separate check confirms the attack worked, for example that a command really ran, so the finding doesn't rest on the agent's own claim.
Report and retest
Verified findings go out with their evidence and are retested after the fix.
Where AI pentesting falls short
Results vary between models and between runs of the same model, so one clean run proves little. Agents can report success they didn't achieve, which is why independent verification matters. Scope and authorization still have to be set by people, and business-logic flaws that need deep product knowledge remain hard for agents and for scanners alike.
What to ask an AI pentesting vendor
Ask how a finding is verified and what evidence you get, how false positives are measured, which models it uses and whether you can bring your own, how scope and production safety are enforced, what a run costs, and whether it retests after a fix.
How Enclave runs AI pentests
Enclave's agents attempt real attack paths as real users and keep the evidence for each one that works. Findings are verified in your live environment, fixed through pull requests your engineers approve, and retested with the original attack after deploy. You can bring your own Anthropic, OpenAI or Google keys.
Common questions
Can AI replace human penetration testers?
Not entirely. AI agents test more often and cover more routine attack paths; people still set scope, judge business impact and handle logic flaws that need product knowledge.
Which AI models are best at hacking?
It changes with each release. The AI Hacking Race leaderboard tracks verified results, time and cost for each model on the same targets.
How do you know an AI finding is real?
Require proof: an independent check that the attack worked, such as verified command execution, plus the evidence trail. Control runs against patched targets show whether a tool reports false successes.
Is AI penetration testing safe?
It is as safe as its scope and controls: authorized targets, sandboxes for the agent's tools, rate limits, and attacks that prove access without damaging data.
Sources
- DARPA, AI Cyber Challenge final results, August 2025 (darpa.mil)
- Google Project Zero, From Naptime to Big Sleep, November 2024 (projectzero.google)
- Google, cybersecurity updates, July 2025 (blog.google)
- XBOW, how it reached the top of the HackerOne US leaderboard (vendor post), June 2025 (xbow.com)
- Enclave, AI Hacking Race benchmark (enclave.ai)