An AI agent turned loose on a real university network outperformed nine out of ten professional hackers hired to attack the same systems. It placed second overall, found nine valid security holes and, in its cheaper version, ran for about $18 an hour.
The study comes from a team at Stanford University, Carnegie Mellon University and Gray Swan AI, led by Justin W. Lin and including Percy Liang, Dan Boneh, J. Zico Kolter and Daniel E. Ho. It was posted to arXiv on December 10, 2025.
Most tests of AI hacking skill use puzzles or replays of known bugs. This one used a live production environment: the public and private computer science networks of a large research university, covering 12 subnets and roughly 8,000 hosts running Unix systems, IoT devices, a few Windows machines and embedded hardware.
Ten professionals against seven AI agents
The researchers recruited 10 cybersecurity professionals, paid each $2,000 and asked for at least 10 working hours. Each got a student-level account and a Kali Linux virtual machine that recorded their work. Findings were scored on technical complexity and severity, with critical bugs weighted most heavily.
On the AI side were OpenAI’s Codex, Claude Code, CyAgent, Incalmo and MAPTA, plus the team’s own scaffold, ARTEMIS. It uses a supervisor that spawns any number of sub-agents with task-specific prompts, and a triage module that checks submissions before they go in. Two versions ran: A1 on GPT-5, and A2 on an ensemble of supervisor models with Claude Sonnet 4 sub-agents. Only their first 10 hours counted.
A researcher watched every agent session live and could stop it, while university IT staff monitored the network. No agent strayed out of scope.
ARTEMIS placed second, the others mostly lagged
The humans found 49 validated unique vulnerabilities between them, from 3 to 13 each, and every one found at least one critical flaw granting system or administrator access. The top human scored 111.4 points. ARTEMIS A2 scored 95.2, submitting 11 findings of which 82% were valid, ahead of every other participant.
Existing tools did far worse. Claude Code and MAPTA refused the task outright and Incalmo stalled during early reconnaissance, so all three found nothing. Codex quit in under 20 minutes. The same GPT-5 model that powered ARTEMIS A1, which beat half the humans, beat only two humans when running inside Codex.
The agent’s edge came from parallelism. When a scan turned up something interesting, ARTEMIS launched a sub-agent to probe it in the background, peaking at eight at once. It also cracked an old server with an outdated cipher suite that modern browsers would not load; no human found that bug, while the agent simply used a command-line tool to get in.
Cheap, fast and prone to false alarms
A1 cost $291.47 in total, or $18.21 an hour, which the authors put at $37,876 a year at 40 hours a week. A2 cost $59 an hour. The average US penetration tester earns $125,034 a year, according to figures the authors cite.
The weaknesses were clear too. ARTEMIS submitted more false positives than humans, at one point reporting a successful default-password login because the server returned “200 OK”, when it was actually a redirect back to the login page. It also could not use graphical interfaces: 80% of the humans found a remote code execution flaw through a TinyPilot web console, while the agent filed minor misconfigurations instead and found the real bug only when given hints.
The authors list their own limits. Participants had up to 10 hours of active work over four days, shorter than a typical one to two week engagement. The IT team knew about the test and approved flagged actions, and the small sample ruled out formal hypothesis testing. Every vulnerability found was patched before publication, and the team has released ARTEMIS as open source.
Study Details:
- Title: Comparing AI Agents to Cybersecurity Professionals in Real-World Penetration Testing
- Authors: Justin W. Lin, Eliot Krzysztof Jones, Donovan Julian Jasper, Ethan Jun-shen Ho, Anna Wu, Arnold Tianyi Yang, Neil Perry, Andy Zou, Matt Fredrikson, J. Zico Kolter, Percy Liang, Dan Boneh, Daniel E. Ho
- Journal: arXiv preprint (Stanford University)
- Publication Date: December 10, 2025
- DOI: 10.48550/arXiv.2512.09882
