Will Penetration Testers Be Replaced by AI? The Evidence
TL;DR: Penetration testers will not be replaced by AI, on the evidence published so far. In a 2025 study, the researchers' own agent placed ahead of 9 of 10 professional testers but, working alone, missed a remote code execution vulnerability that 8 found. Haxset offers both modes: a fully agentic pentest that covers 70 to 80% of vulnerabilities in under 6 hours, and an AI-assisted pentest, by a tester working with AI, in under 48 hours.
Key points
- XBOW says its agent reached first place on HackerOne's US leaderboard in 2025, and that bug bounty programs had resolved 130 of its submissions by the time of its post.1
- The Haxset Engine's validator re-runs each proof of concept it can extract, and the engine never marks an untested OWASP Top 10 category as Pass.
- Haxset's agents cannot complete SMS codes, authenticator apps or passkeys, so those logins need a session you sign in and paste.
What is agentic penetration testing?
Agentic penetration testing means AI agents plan and run the attack steps of a penetration test, with no person approving each step. The test is the same one that Saudi Arabia's National Cybersecurity Authority (NCA) defines. Its Essential Cybersecurity Controls (ECC-2:2024) call penetration testing "Testing a computer system, network, web application, or mobile application to find vulnerabilities that can be exploited by an attacker."2 The word "agentic" describes how the test is run.
An AI agent is a language model with a goal, a scope and tools, such as an HTTP client. It works in a loop: it reads the current state, chooses an action, runs it, and reads the result before it chooses again. Vendors also call the practice AI pentesting or autonomous pentesting, and the terms overlap.
Two nearby terms mean something else. In AI-assisted pentesting, a tester and AI run the test together, and Haxset offers that as a second mode beside the fully agentic one. AI red teaming tests an AI system, such as a chatbot, instead of using AI to test one, as our post on AI red teaming vs AI pentesting explains.
How is agentic pentesting different from a scanner and a manual pentest?
A scanner runs fixed checks, a manual tester chooses each step from experience and business knowledge, and an AI agent chooses from the target's responses and your instructions. A conventional dynamic application security testing (DAST) tool works like the scanner here.
The clearest case is business logic. A business logic vulnerability lets a user do something the application should forbid, such as applying a one-per-customer discount twice. OWASP's Web Security Testing Guide (version 4.2, 2020) says this type of vulnerability "cannot be detected by a vulnerability scanner and relies upon the skills and creativity of the penetration tester."3
Agent platforms differ, so the table's agentic column describes Haxset Agentic Pentesting.
| Vulnerability scanner | Agentic pentest (Haxset) | Manual pentest | |
|---|---|---|---|
| Who picks the next step | Checks written in advance | AI agents, from each response | A tester |
| Business logic vulnerabilities | Cannot detect them (OWASP) | Tests the rules it can read in the application | Depend on the tester's skill (OWASP) |
| What a finding rests on | A response that matched a check | A separate validator's ruling, with a code replay of each proof it can extract | The tester's recorded evidence |
| What limits it | Its list of checks | What the agents can read and reach | The hours booked |
How does an agentic pentest work?
An agentic pentest maps the target, tests it with AI agents and checks each finding before it is reported. In the Haxset Engine, code does the mapping and scanning, and specialist AI agents test from that map. A validator, the final check, then re-runs each proof of concept (PoC) it can extract.
Reconnaissance runs in code and spends no model tokens. It crawls the application, mines JavaScript bundles for endpoints, recovers API definitions and runs known-vulnerability checks. The engine condenses the results into an attack-surface brief, and the agents read that brief instead of raw tool output.
Each specialist agent tests one area, such as access control, injection or business logic. In a gray box test, an authentication agent first signs in with the accounts you supply, or registers one test account, as our post on authenticated AI pentesting explains. Given two accounts of the same role, the agents test whether one user can read the other's data. You can also describe a static application security testing (SAST) finding as a route, parameter and expected effect in the engagement's instructions, and the agents try to exploit it.
The validator rules on recorded evidence. Each HTTP request an agent sends through its command-line client is recorded with its response. Code re-runs each PoC that it can extract as a single request, and the model judges the real response. The validator also merges duplicates, rescores severity and links findings into attack chains. Our post on AI pentest false positives shows how the validator rejects or downgrades what it cannot reproduce.
What can agentic pentesting find today?
The strongest AI agents find real vulnerabilities that bug bounty program owners rate critical or high, and they also report false positives and duplicates.
XBOW, a vendor of autonomous pentesting, wrote in June 2025 that "an autonomous penetration tester has reached the top spot on the US leaderboard" of the HackerOne bug bounty platform.1 In the 90 days before that post, program owners rated 54 of its submissions critical and 242 high.
By the date of that post, XBOW had submitted "nearly 1,060 vulnerabilities". Programs had resolved 130 of them and marked 303 as triaged, while 158 were new or still awaiting review. Another 208 were marked as duplicates, 209 as informative and 36 as not applicable. These are XBOW's own figures and HackerOne statuses, not a measured false-positive rate.
Researchers at Stanford University, Carnegie Mellon University and Gray Swan AI compared AI agents with ten professional testers on a live university network of about 8,000 hosts.4 Their own agent, ARTEMIS, placed second overall with 9 valid vulnerabilities, ahead of 9 of the 10 professionals. Its valid submission rate was 82%, against 100% for eight of the ten professionals, and the authors found ARTEMIS "more prone to false positives than humans". The best of the existing agents built by others outscored only two of the professionals. The target was one university network, and participants had up to 10 hours of active testing.
What are the limits of agentic pentesting?
Agentic pentesting misses what never reaches the agents, such as business rules the application never states and logins tied to a phone or device the agents do not hold. The Haxset Engine also cannot confirm blind vulnerabilities that show only out of band, and the ARTEMIS authors found that AI agents struggle with graphical interfaces. The first three rows below are Haxset's own limits, and the last comes from the ARTEMIS study.
| Limit | Why the agent misses it | What covers it |
|---|---|---|
| Business rules the application never states | Haxset's business-logic agent tests only the rules it reads in the API description, interface text and error messages, so a rule kept in a contract or a staff member's memory never reaches it | A tester who knows the business process |
| Logins tied to a phone, device or CAPTCHA | Haxset's agents pass email codes sent to a Haxset test mailbox, but not SMS codes, authenticator apps, push approvals, passkeys, hardware keys or CAPTCHA | A session you sign in and paste, which must stay valid for the whole engagement |
| Blind vulnerabilities that show only out of band | The Haxset Engine runs no callback listener (a server the tester controls), so it cannot confirm blind server-side request forgery (SSRF) that shows only when the target contacts such a server | A tester with an out-of-band tool |
| Graphical interfaces and false positives | The ARTEMIS authors found that AI agents "exhibit higher false-positive rates and struggle with GUI-based tasks"4 | A tester for GUI-only flows, and validation and human review for false positives |
A pasted session covers the login limit only while it lasts, because the agents hold no password to sign in again when it expires.
Will penetration testers be replaced by AI?
Penetration testers will not be replaced by AI, on the evidence published so far. In the 2025 ARTEMIS study on a live university network, the researchers' own agent placed ahead of 9 of the 10 professional testers, but the tenth outscored every AI agent.4 Working alone, ARTEMIS did not find a remote code execution vulnerability that 8 of the 10 professional testers found, because it struggled with the graphical interface needed to reach it. It found that vulnerability only after the researchers gave it hints. That is one study, on one network, with ten professional testers.
The study's authors credit AI agents with "advantages in systematic enumeration, parallel exploitation, and cost".4 In our reading, that is the work that moves to agents: listing what is exposed and testing many hosts or endpoints at once.
The work that stays with a tester is what the agents cannot read or reach. For Haxset's agents, that means business rules the application never states and logins tied to a phone or device. For ARTEMIS, it meant a graphical interface. An agentic pentest therefore does not replace a manual penetration test.
Haxset offers two modes. By Haxset's figures, a fully agentic pentest covers 70 to 80% of vulnerabilities in under 6 hours, and it is the cheaper and faster mode. In the AI-assisted mode, a Haxset tester works with the AI agents, and the test finishes in under 48 hours.
A person also reviews the agents' output, because a validator can judge only the findings the agents report and cannot notice a test the agents never ran. At XBOW, the security team reviewed the agent's findings before submission, "to comply with HackerOne's policy on automated tools".1
How Haxset can help
Haxset offers Agentic Pentesting for web applications, in gray box or black box, as a module of the Haxset Engine, its AI security testing platform. Haxset does not keep the prompts its AI models process and does not train models on them. It stores only scan metadata and scan results. Contact us to choose between the fully agentic mode and the AI-assisted mode with a Haxset tester.
FAQ
Is agentic pentesting the same as autonomous pentesting?
The terms overlap, and both describe AI agents that run a penetration test. "Agentic" says how the test is done: AI agents choose and run each step. "Autonomous" says how little a person steps in while it runs. A test can be fully agentic and still end with a person's review before release, as every Haxset Agentic Pentesting engagement does.
Is agentic pentesting safe to run in production?
Agentic pentesting can run in production, but code-enforced limits lower the risk without removing it. In the Haxset Engine, a scope filter blocks agent shell commands aimed at hosts outside the engagement. It allows commands it cannot read, such as scripts an agent writes. Data-safety rules refuse commands they read as deleting data the engagement did not create, moving money or sending mass mail. No overall rate cap applies, so test a staging copy if your application cannot take scanner load.
Does an agentic pentest count for NCA ECC 2-11?
In our reading, an agentic pentest can count toward ECC subdomain 2-11 (Penetration Testing) when your approved policy names it as a method. ECC-2:2024 defines penetration testing by its goal and does not say who or what runs the test.2 NCA's implementation guide, GECC-2:2026, asks the policy to set requirements "using effective tools and methods" and requirements for the testing team.5 Confirm the method with your assessor. Our guide to ECC 2-11 penetration testing covers scope, frequency and evidence.
Related research
- AI Pentest False Positives: Inside Haxset's Validator
- Authenticated AI Pentesting: Getting Past Login and OTP
- ECC 2-11 Penetration Testing: Scope, Frequency and Evidence
References
-
Nico Waisman, XBOW, "The Road to Top 1: How XBOW Did It", vendor blog, 24 June 2025. ↩ ↩2 ↩3
-
National Cybersecurity Authority (NCA), Essential Cybersecurity Controls (ECC-2:2024), English edition, 2024, Appendix (A), Terms and Definitions, printed p. 37. ↩ ↩2
-
OWASP, Web Security Testing Guide v4.2: Introduction to Business Logic, section 4.10.0, December 2020. ↩
-
Justin W. Lin et al., Stanford University, Carnegie Mellon University and Gray Swan AI, Comparing AI Agents to Cybersecurity Professionals in Real-World Penetration Testing, arXiv:2512.09882, preprint, December 2025, revised March 2026, abstract, introduction, Table 1 and sections 4.2, 6 and 7. ↩ ↩2 ↩3 ↩4
-
National Cybersecurity Authority (NCA), Guide to Essential Cybersecurity Controls (ECC) Implementation (GECC-2:2026), 2026, control 2-11-1, printed p. 111. ↩
Interested in how this research applies to your organization?
Get in touch
