Can AI Do Penetration Testing? What It Covers and Misses
TL;DR: Yes, AI can do penetration testing, but not all of it. Haxset estimates that mature agentic products, its own and XBOW's among them, cover around 70 to 80% of vulnerabilities. Its agents sign in as several users and test business logic, and a validator checks what they find before it is reported. Known gaps include business rules the application never states, logins tied to a phone, blind vulnerabilities that show only out of band, and mobile device attestation.
Key points
- Haxset's fully agentic mode finishes in under 6 hours, and its AI-assisted mode, where a Haxset tester works with the agents, finishes in under 48 hours.
- In a gray box test with no accounts supplied, Haxset's agents register one test account through your sign-up page, with "haxset" in its username.
- On Android, the agents run Haxset's own Frida scripts on its emulators, and the report names each gap the engine detects.
Can AI do penetration testing?
Yes, AI can do penetration testing. In an agentic penetration test, or AI pentest, AI agents sign in, send attack requests, read each response and choose the next step themselves. In a 2025 study on a university network of about 8,000 hosts, the researchers' agent, ARTEMIS, found 9 valid vulnerabilities and placed ahead of 9 of 10 professional testers.1 The authors also found that AI agents "exhibit higher false-positive rates" than the professionals.1 Our post on whether penetration testers will be replaced by AI covers where ARTEMIS failed and what testers still do.
How much of a penetration test can AI cover?
By Haxset's estimate, mature agentic products such as Haxset and XBOW, a vendor of autonomous pentesting, cover around 70 to 80% of vulnerabilities. Haxset's fully agentic mode reaches that coverage in under 6 hours. Its specialist agents each test one area, for example access control, injection, session handling and business logic.
Business logic is a mature area for Haxset's agents. A business logic vulnerability lets a user do something the application should forbid, such as skipping the payment step of a checkout. OWASP's testing guide says this type of vulnerability "cannot be detected by a vulnerability scanner".2 Haxset's agents first write down the rules they read in the API description, interface text and error messages, and then try to break each one.
The agents also test as several users, with accounts you supply. With two accounts of the same role, they test whether one user can read the other's data. One account per higher role lets them test whether a customer can reach admin functions.
For multi-factor authentication (MFA), the agents pass email verification and email one-time passwords (OTP) sent to a Haxset test mailbox. For SMS codes, authenticator apps, passkeys and CAPTCHA, you sign in yourself and paste a session that outlasts the engagement.
For Android apps, the agents install the build you ship on Haxset's emulators. While the app runs, they use Haxset's own Frida scripts and custom tooling to try to get past root detection and certificate pinning. Then they test the app and its backend API.
What can AI not test yet?
AI cannot yet test what never reaches its agents. By Haxset's estimate, these gaps fall in the 20 to 30% of vulnerabilities that AI does not cover. Haxset's agents test only the business rules they can read, so a rule kept in a contract or in a staff member's memory never reaches them.
The agents cannot complete logins tied to a phone or device. A pasted session lets them test what lies behind such a login, but not the login step itself. They cannot sign in again if the session expires during the engagement.
The Haxset Engine runs no callback server (a server that records when the target connects to it). So it cannot confirm blind vulnerabilities that show only through such a connection, such as some blind server-side request forgery (SSRF). The ARTEMIS authors also found that AI agents "struggle with GUI-based tasks", so flows that work only through a graphical interface remain a gap.1
Android apps add device attestation, where the backend checks a verdict about the device from a service such as Google Play Integrity. Google leaves that verdict blank when "the app is not running on a physical device (such as an emulator that does not pass Google Play integrity checks)".3 Flows gated on it stay untested unless your backend allowlists the test or you use a staging backend. Haxset does not try to forge the verdict. Its agents do not test iOS apps.
What does an AI pentest report contain?
A Haxset AI pentest report contains the findings that passed its validator, proof drawn from recorded traffic and, for Android apps, a list of the gaps the engine detects.
Before a candidate, something an agent reports, becomes a finding, the engine replays each proof of concept (PoC) it can extract. A validator, itself an AI model, judges the recorded response. A PoC the engine cannot replay, such as a script, goes to the validator to reproduce. The validator's instructions are to reject a candidate it cannot reproduce and to downgrade one whose real effect is smaller than claimed. A Haxset reviewer then checks every engagement before you see any finding.
Proof figures are drawn only from recorded requests, responses and commands, never from text a model wrote. Each finding has a CVSS 3.1 score, and the validator merges duplicates and links findings into attack chains. The engine never marks an untested OWASP Top 10:2025 category as Pass. Our post on AI pentest false positives shows how the validator works.
For Android apps, the report carries screenshots from Burp Suite and from the Android emulator the app runs on. Each finding maps to a control in the OWASP Mobile Application Security Verification Standard (MASVS) v2.1. The report's "Could not test" section lists each gap the engine detects, with the reason. A lead that only static analysis of the app package raised, with no confirmation while the app ran, is reported as an observation, not a finding.
Should you choose a fully agentic or AI-assisted pentest?
Choose the fully agentic mode for broad coverage at speed, and the AI-assisted mode when your scope includes business rules or interface flows that agents miss.
| Fully agentic | AI-assisted | |
|---|---|---|
| Who runs the test | Haxset's AI agents, checked by a Haxset reviewer before release | A Haxset tester working with the AI agents |
| Finishes in | Under 6 hours | Under 48 hours |
| Cost | The cheaper of the two modes | Higher, because a tester works on it |
| Fits best | Frequent tests of applications whose rules show in the interface and API | Business rules the application never states, and flows that work only through a graphical interface |
How Haxset can help
Haxset Agentic Pentesting tests web applications and Android apps. 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 and AI-assisted modes for your scope.
Related research
- Will Penetration Testers Be Replaced by AI? The Evidence
- Authenticated AI Pentesting: Getting Past Login and OTP
- Agentic Mobile App Pentesting: Android Apps, Protections On
References
-
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. ↩ ↩2 ↩3
-
OWASP, Web Security Testing Guide v4.2: Introduction to Business Logic, section 4.10.0, December 2020. ↩
-
Google, Integrity verdicts, Android Developers documentation for the Play Integrity API, as archived on 30 September 2026. ↩
Interested in how this research applies to your organization?
Get in touch
