Pentesting

AI pentest agent beats nine of ten human testers

Reviewing Comparing AI Agents to Cybersecurity Professionals in Real-World Penetration Testing · Justin W. Lin, Eliot Krzysztof Jones, Donovan Julian Jasper et al.

AI pentest agent beats nine of ten human testers

Researchers pit professional penetration testers against AI agents on a live university network, and a purpose-built multi-agent system outperforms all but one human. Its edge comes from structure, parallel work and cost rather than brilliance, and its terminal-only view even finds a flaw the humans miss.

Somewhere on a university network of roughly 8,000 hosts sat an old server management interface with a known vulnerability. The human testers missed it. An AI agent that could only work from the command line found it and exploited it with curl.

That small episode sits inside a study worth reading closely. The researchers put ten professional penetration testers and seven AI agents on the same live network, from the same starting machine, and scored what each found. Their own agent, called ARTEMIS, is really a small team of AI programs: one acts as a supervisor and hands out jobs to helper programs it creates as needed. It placed second overall and beat nine of the ten humans.

The design explains the result. A supervisor model keeps a task list and writes fresh instructions for sub-agents as it goes, creating as many as the work needs. Those sub-agents run in parallel, each chasing a different lead. Before anything is submitted, a separate triage step checks that the finding is relevant, reproducible and as severe as claimed.

That structure matters. Existing agent scaffolds such as Codex and CyAgent did worse than most of the humans. In my reading, what separates ARTEMIS from them is method rather than magic: systematic enumeration, many threads at once, and a filter that discards noise before anyone reviews it. Most of its submissions held up. That is submission quality comparable to the strongest human testers.

The weakness is also the edge

The researchers are candid about where agents fall short. They raise more false positives than people do. They struggle with anything that needs a graphical interface. Humans also stayed ahead on long-range planning and on knowing when to change strategy entirely.

Yet the weakness with graphical, point-and-click interfaces cut both ways. Because the agent lived in a terminal, it went straight at the management interface with a plain HTTP request. The humans, working through graphical tools, did not get there. What surprised me is how ordinary the win was. No novel technique, just a different way of touching the same box.

Cost is the figure people will quote. One configuration ran at about $18 an hour against roughly $60 for a professional tester. A far pricier ensemble of models found a similar number of vulnerabilities, so spending more bought little.

The conditions shape what this shows. Humans had ten hours of active work and the agents up to sixteen, both shorter than a typical engagement. IT staff knew the test was running and could intervene, so no agent was up against a defender actively hunting it. This is a measure of finding and exploiting weaknesses, not of evading a response team.

None of that changes the practical point. Patient, methodical enumeration across thousands of hosts is now cheap and runs in parallel. The systems most at risk are the dull ones nobody remembers: old management interfaces, forgotten services, things only a careful tester would think to poke. The forgotten box no longer needs a human to find it.

Further analysis

Problem

The study conducts the first comprehensive live comparison between AI agents and cybersecurity professionals in a real enterprise environment. The target is a large university network encompassing about 8 000 hosts across 12 subnets, with the aim of evaluating whether autonomous AI agents can perform real world penetration testing with technical depth, systematic enumeration, parallel exploitation, and cost advantages, while identifying current gaps that limit deployment in production security workflows.

Approach

Ten cybersecurity professionals were tested alongside six existing AI agents and ARTEMIS, a new agent scaffold, in a live production environment. ARTEMIS is a multi agent framework comprising a supervisor, a swarm of dynamic sub agents, and a triage module for vulnerability verification. The study employed a unified scoring framework combining technical complexity and vulnerability criticality, aligned with industry standards and MITRE ATT&CK techniques. Two ARTEMIS configurations were evaluated: A1A1 with GPT 5 for supervisor and sub agents, and A2A2 with an ensemble of supervisor models and a mix of sub agents. All agents used the same university VM as human participants and operated under safeguards including real time monitoring, scope controls, and reporting channels. The engagement spanned up to 16 hours for ARTEMIS and up to 10 hours for human participants. Data collection included structured submissions, session logs, and a detailed vulnerability triage process to reduce noise and false positives. The environment incorporated standard risk controls, and participants provided informed consent with monitoring and de identification measures in place. ARTEMIS utilised a three component design with a task list and dynamically generated prompts for sub agents, and a triage module to validate relevance, reproducibility, and severity before submission.

Key Findings

  • ARTEMIS placed second overall, discovering nine valid vulnerabilities with an 82 percent valid submission rate, outperforming nine of ten human participants.
  • Existing agent scaffolds such as Codex and CyAgent generally underperformed relative to most human participants, while ARTEMIS demonstrated technical sophistication and submission quality comparable to the strongest performers.
  • AI agents showed advantages in systematic enumeration, parallel exploitation, and cost. Some ARTEMIS variants cost around 18 per hour compared with about 60 per hour for professional testers.
  • Key capability gaps emerged for AI agents: higher false positive rates and difficulty with GUI based tasks, though CLI based interactions allowed some exploitation opportunities that GUI oriented humans missed, such as an older IDRAC server vulnerability exploited with curl.
  • Across participants, 49 total validated vulnerabilities were found, with the number per participant ranging from three to thirteen. Human findings tended to be dispersed across targets, while ARTEMIS often signalled completion after a shorter active period, reflecting differences in pacing and focus between humans and agents.
  • Two ARTEMIS configurations were able to match or exceed human performance on many tasks, but gaps remained in long horizon planning and high level strategic pivoting compared with human analysts. ARTEMIS demonstrated strong long horizon capacity by maintaining multiple concurrent sub agents while summarising progress for ongoing work.
  • Cost to performance was a practical differentiator: A1A1 incurred 291.47 in total cost (around 18.21 per hour) for the engagement, while A2A2 cost 944.07 (about 59 per hour), with similar vulnerability counts; this places ARTEMIS as cost competitive against conventional penetration testers when scaled over time.

Limitations

The study had a compressed time frame with human participants limited to ten hours of active engagement and four days of system access, whereas real world pen tests typically run longer. Authentic defensive conditions were not present: IT staff were aware of the test and could intervene to prevent disruption. The sample size was limited, reducing statistical power for broad generalisation. The authors acknowledge the need for runnable environment replicas, ablation studies over configurations and models, and extended logging to support longer, reproducible evaluations. Safety measures included real time monitoring and containment controls to prevent scope creep or harmful actions.

Why It Matters

The findings indicate that autonomous AI agents can conduct real world security assessments with systematic enumeration, parallel exploitation, and cost advantages, approaching the performance of skilled human practitioners on many tasks. However, substantial gaps remain in false positive management and GUI interactions, highlighting where safe deployment and further research are required. The results also raise concerns about dual use and the potential for attackers to leverage similar autonomous AI agents for rapid breaches; they emphasise the importance of human in the loop, robust validation, and rigorous auditing. Practical mitigations include strong validation of AI outputs, enhanced GUI and automation reliability, comprehensive logging, safe prompt design, and strict containment controls to govern autonomous operation.

Societal and security implications include the potential automation shift in security work and evolving defender attacker dynamics. Governance, safety rails, and responsible deployment are essential as AI enabled security tools become more capable and accessible. The authors advocate open access to ARTEMIS style tooling to support defender access while continuing to address the gaps identified in autonomous offensive security research.

The paper title, authors and abstract

Comparing AI Agents to Cybersecurity Professionals in Real-World Penetration Testing

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

We present the first comprehensive evaluation of AI agents against human cybersecurity professionals in a live enterprise environment. We evaluate ten cybersecurity professionals alongside six existing AI agents and ARTEMIS, our new agent scaffold, on a large university network consisting of ~8,000 hosts across 12 subnets. ARTEMIS is a multi-agent framework featuring dynamic prompt generation, arbitrary sub-agents, and automatic vulnerability triaging. In our comparative study, ARTEMIS placed second overall, discovering 9 valid vulnerabilities with an 82% valid submission rate and outperforming 9 of 10 human participants. While existing scaffolds such as Codex and CyAgent underperformed relative to most human participants, ARTEMIS demonstrated technical sophistication and submission quality comparable to the strongest participants. We observe that AI agents offer advantages in systematic enumeration, parallel exploitation, and cost -- certain ARTEMIS variants cost $18/hour versus $60/hour for professional penetration testers. We also identify key capability gaps: AI agents exhibit higher false-positive rates and struggle with GUI-based tasks.