AI-assisted pentesting: more coverage in less time

AI sweeps your attack surface in hours and points out where to look. A pentester decides what is real, approves every intrusive action and chains what no tool can see. There is always a human in the loop: more coverage in the same timeframe, no finding left unreproduced and full control, including in regulated environments. Here AI is our working tool; if what you need is your own models and agents audited, that is pentesting of AI systems.

Last updated:

Scope your project · Request AI-powered pentesting

Rather talk it through? Call us at +34 960 730 013

  • 100% — of findings reproduced by hand by a pentester
  • 0 — intrusive actions without human approval
  • In writing — which models are used and where your data is processed
  • Retest — replayed by an agent, confirmed by a pentester

What does AI bring to pentesting, and where does it need a human?

A scanner hands you hundreds of alerts and leaves you to work out which ones are real. An autonomous agent goes further, but it decides on its own what to launch against your systems and has no idea what your business does. Research draws the line clearly: in a University of Illinois study, GPT-4 exploited 87% of 15 real, already-disclosed vulnerabilities when it was given their description, and only 7% when it had to find them without it. AI executes and sweeps very well; discovering what is not written down is still human work.

That is why there is always a human in the loop. AI handles reconnaissance, correlates signals and proposes candidates; the pentester decides what is real, approves every action that could touch your systems and spends the time AI frees up on what no tool proposes: business logic. The result is more surface covered in the same timeframe, a report without noise and the control that environments with no room for improvisation demand.

One engagement end to end: what AI does and what the pentester decides

AI never works alone at any stage where something could break. This is how the work is split in an AI-assisted web pentest, from the first sweep to the chain that ends up in the report.

  1. Reconnaissance at scale (AI): AI maps subdomains, routes, parameters and APIs in hours, within the signed list of hosts. Closed scope and request limits
  2. Signal correlation (AI): It cross-references hundreds of signals, groups those that form the same chain and proposes prioritized candidates. AI proposes: no findings yet
  3. Human gate (Pentester): The pentester reproduces every candidate. What cannot be demonstrated stays out of the report; severity is adjusted to your context. False positives dropped here
  4. Business logic (Pentester): Coupons, balances, order states, cross-tenant permissions: flaws that require understanding what you do. No signature: no tool proposes it
  5. Chain and impact (Pentester): Two "medium" flaws chained into a critical impact, demonstrated end to end after every intrusive step is approved. Intrusive action approved by a person

Result: More surface covered in the same timeframe and a report where every line is real: your team fixes instead of investigating whether the alert exists.

Illustrative example built from patterns we commonly see in our tests; it does not describe any specific client.

The same AI, with and without a pentester in the middle

Six signals from the same web pentest. Switch modes to see what reaches the report when nobody reviews what the AI proposes, and tap any row to see what was decided.

  • IDOR on /api/v2/invoices/{id} (Confirmed with PoC): The pentester reproduces it with two test accounts: another customer's invoices can be read. It goes into the report with PoC and CVSS. Automation only: It arrives as a "possible IDOR" with no proof of impact. Your team cannot tell whether it is urgent or how to reproduce it.
  • Blind SQLi on /search?q= (Dropped: not exploitable): The delay came from the WAF, not the database. It does not reproduce: dropped before anyone wastes time on it. Automation only: It slips in as critical. Development spends an afternoon finding out it does not exist and stops trusting the report.
  • CORS with wildcard origin (Confirmed with PoC): Confirmed, but the API does not use cookies: the pentester adjusts severity to its real impact, which is low. Automation only: It shows up as high because of its theoretical score, ahead of flaws that matter far more.
  • JavaScript library with a CVE (Dropped: not exploitable): The affected function is not used on any page. It is noted as a maintenance improvement, not a vulnerability. Automation only: Yet another alert on the pile, with the same risk label as the exploitable flaws.
  • Coupon with a negative amount (Found by the pentester): No tool knows a discount cannot exceed the price. The pentester does: the order comes out free. Automation only: Business logic has no signature: nobody proposes it and it never appears in the report.
  • IDOR + coupon: someone else's order at €0 (Found by the pentester): The pentester joins two "medium" flaws into a critical impact and demonstrates it end to end, with prior approval. Automation only: The pieces stay separate and scored on their own. Nobody sees the chain, which is exactly what an attacker would use.

Every finding is reproduced, severity reflects your business and the chain no tool proposes shows up.

The same number of lines in the report, but half of them are noise and the most serious issue is missing. It looks complete and it is not.

Illustrative example built from patterns we commonly see in our tests; it does not describe any specific client.

How we apply AI to pentesting

  • Accelerated reconnaissance: subdomains, exposed services, routes, parameters and APIs
  • LLM-based source-code analysis to flag vulnerable patterns in large repositories
  • Automatic correlation of signals to spot attack chains
  • Prioritization by real impact on your business, not theoretical CVSS
  • Payloads adapted to the detected technology, approved before they are launched
  • API and web application fuzzing within agreed request limits
  • Dependency and CVE analysis during the test
  • Agent-assisted retest: every finding is stored with the affected endpoint and the exact payload, an agent replays the test and the pentester confirms the fix
  • Everything inside a closed scope: authorized hosts, time windows and data handling in writing

Hybrid methodology: AI proposes, the pentester decides

  1. Scope and AI rules: Before starting we agree in writing the authorized hosts, test windows, request limits, which models are used and where your data is processed.
  2. AI-assisted reconnaissance: AI maps the attack surface and correlates signals in hours. There are no findings yet: only candidates.
  3. Human gate: The pentester reproduces every candidate. What cannot be demonstrated does not make it into the report, and severity is adjusted to your context.
  4. Exploitation and business logic: Chaining flaws, escalation and business logic are handled by the pentester. No intrusive action is launched without their approval.
  5. Signed report and retest: Executive and technical report with PoC, reviewed and signed by the pentester. In the retest, an agent replays every test with the original payload and the pentester confirms what is fixed.

What AI does in each task, what could go wrong and how we control it

AI is a great help in controlled environments, and only in them. Every task we give it has its risk identified and a human control agreed in writing.

  • Reconnaissance and enumeration (risk: Medium). What AI brings: Maps subdomains, routes, parameters and APIs in hours, without skipping corners. What could go wrong: Going out of scope or flooding a service with too many requests. The human control: Signed closed list of hosts, requests-per-second limit and agreed time window.
  • Correlation and prioritization (risk: Low). What AI brings: Cross-references hundreds of signals and groups those that form the same attack chain. What could go wrong: Prioritizing by theoretical score instead of impact on your business. The human control: The pentester re-ranks by real impact using the context you give us at kickoff.
  • Payload generation (risk: High). What AI brings: Proposes injection variants adapted to the detected technology. What could go wrong: A destructive payload or a test that alters real data. The human control: No intrusive action without human approval; write tests only with test accounts and test data.
  • Code review (risk: Medium). What AI brings: Reads large repositories and flags dangerous patterns in minutes. What could go wrong: Hallucinations: vulnerabilities that do not exist or that the code never reaches. The human control: Every candidate is verified by hand in the code and, where possible, in the running application.
  • Handling your data (risk: High). What AI brings: Lets us work with evidence, logs and code without losing the thread of the engagement. What could go wrong: Sensitive information ending up in a third-party model or training one. The human control: Which models are used and where data is processed is agreed in writing before starting; without agreement, nothing leaves.
  • Report writing (risk: Low). What AI brings: Organizes evidence and prepares clear drafts for management and for development. What could go wrong: Generic text that does not help your team or that overstates the risk. The human control: The pentester reviews and signs every finding, and the AI usage annex documents which parts it assisted.

Deliverables

  • Executive report prioritized by business impact
  • Technical report with a reproducible PoC for each finding
  • Coverage analysis: which part of the attack surface was assessed
  • AI usage annex: tools, data handled and who approved each intrusive action
  • Efficiency comparison vs. traditional pentesting
  • Agent-assisted retest, with a before and after for every finding, depending on the type of project

Use cases

  • Complex web applications and APIs that need exhaustive coverage within a limited timeframe
  • Regulated entities (DORA, NIS2, ENS) that want more coverage with traceability of who decided what
  • Sensitive production environments where no intrusive test can be launched without control
  • Pre-launch security reviews with tight deadlines
  • Source-code audits of large repositories
  • Companies seeking the best coverage/cost ratio without giving up human judgment

Scanner, autonomous, manual or AI-assisted pentesting: what you are buying

Very different things are sold as "AI pentesting". Before comparing quotes, ask what the machine does and what a person decides.

Automated scannerAutonomous pentesting (agents only)Classic manual pentestingAI-assisted pentesting
Who decidesRules and signaturesThe agent, end to endThe pentesterThe pentester, with AI as a tool
CoverageBroad and shallowBroad on known flawsLimited by available hoursBroad: AI sweeps, the pentester digs deep
False positives in the reportManyFewer if it validates with an exploit, but no judgment about your businessFewNone left unreproduced
Business logicNoLimitedYesYes: that is where the time AI frees up goes
Risk in productionLow: it does not exploitThe agent decides what to launch and whenControlled by the pentesterEvery intrusive action approved by a person
Regulated environments (DORA, NIS2, ENS)Recurring control; does not replace testingHard to defend before an auditor without traceable human decisionsYesYes: signed report and AI usage annex
When to choose itContinuous monitoring between testsFrequent sweeps of very large surfacesSmall or very specific scopesWhen you want more coverage without giving up human judgment

Compare with

Frequently asked questions

What is the difference between AI-assisted pentesting and pentesting AI?

In AI-assisted pentesting, AI is our tool and the target is your applications, APIs and infrastructure. In AI pentesting, the target is your own AI system: a chatbot, an agent or a model, attacked with prompt injection, data leakage or tool abuse. They are different services and QuantumSec has separate pages for each.

Is this agentic pentesting?

Yes: we work with AI agents that chain tasks (reconnaissance, correlation, test preparation and retest), not with a chat you ask questions. The difference from autonomous agentic pentesting is who decides. Here no agent launches an intrusive action without a pentester's approval, and nothing reaches the report without being reproduced by hand. This is what is known as human in the loop.

Does AI replace the pentester?

No. AI speeds up reconnaissance, data correlation and initial prioritization; the pentester defines scope, validates every finding, designs the attack chains, exploits business logic and judges real impact on your operations. There is always a human in the loop, and they sign the report.

Can the AI launch attacks against production on its own?

No. AI works inside a closed scope (authorized hosts, request limits and agreed time windows), and any intrusive action — exploiting, writing data, escalating privileges — requires prior approval from a pentester. That is the difference from autonomous pentesting, where the agent decides what to launch and when.

How do you avoid the false positives AI produces?

No finding reaches the report without manual validation. AI widens reconnaissance coverage and groups evidence, but confirming that something is exploitable is done by a pentester reproducing the attack. A report full of false positives makes the development team stop reading it, and that costs more than not automating at all.

How does the agent-assisted retest work?

Every finding is stored in a structured way: description, affected endpoint and the exact request and payload used. When your team fixes it, an agent replays every test exactly as it was run and the pentester reviews the result before closing it. The retest is faster and leaves a documented before and after you can show a client or an auditor. Its scope is agreed in the proposal, depending on the type of project.

We are wary of an AI agent attacking our systems. What are the risks?

It is a reasonable concern. An unconstrained agent can step outside scope, overload a service or be manipulated by the content it reads in the very application it tests, which is a form of prompt injection. That is why the rules of engagement are agreed in writing before starting: a closed list of hosts, request limits, time windows and human approval for every intrusive action. The agent speeds up the work; decisions that could break something are made by a person.

Is our data sent to third-party models?

Not without prior written agreement. Scope, tooling and data handling are agreed before the engagement starts. When an exercise requires processing sensitive client information, where it is processed and under what conditions is agreed in advance and written into the contract alongside the NDA.

Does it work for DORA, NIS2, ENS or ISO 27001? Who signs the report?

Yes, on the same terms as manual pentesting: an auditor assesses the scope, the methodology, the tester's qualifications and the traceability of the tests, not the tool. That is why the report is reviewed and signed by the pentester and includes an annex describing which part of the work AI assisted. DORA TLPT has its own requirements and is scoped as a separate exercise.

How is it different from a scanner or autonomous pentesting?

A scanner lists known flaws without exploiting them. An autonomous agent exploits, but decides alone and does not know your business. We use AI for the sweep and the correlation, and a pentester decides, approves and looks for what has no signature: business logic and chains of flaws that look minor on their own.

Is AI-assisted pentesting as rigorous as manual testing?

It is more rigorous in coverage (AI does not tire and never skips steps) and less so in pure creativity. That is why we combine both: AI guarantees systematic coverage while the human expert brings creativity, context and advanced exploitation.

Is it cheaper than traditional pentesting?

We do not position it as a cheap version. The price is that of a full pentest for its scope, and AI is our working tool: the same budget covers more surface and the pentester spends more hours on business logic and attack chains. Be wary of offers that cut the price by letting agents work alone: they find known flaws well and miss what requires understanding your business.

Which AI tools do you use?

We combine proprietary tooling with recognized industry solutions, tailored to each type of assessment. We do not rely on a single vendor or on generic AI tools that have not been validated for security work, and the ones used in your project are agreed in writing.

Before hiring

AI and security

Regulated environments

Sources

Ready to protect your business?

Answer the scoping form at your own pace and we'll use it to prepare your proposal. If you'd rather talk first, book a free 30-minute call.

Scope your project · Request AI-powered pentesting