ECSEXCELON CYBER SOLUTIONS

AI-Assisted Penetration Testing: What Automation Finds and What It Invents

A practical look at where AI helps penetration testers, where it hallucinates findings, and how human validation keeps reports accurate. Includes illustrative lab metrics.

By Excelon Cyber Solutions Security Team4 min read

Every vendor now claims "AI-powered penetration testing". Some of it is genuinely useful. Some of it produces confident reports about vulnerabilities that do not exist. If you are buying or commissioning a security assessment, it helps to know which is which. This article describes where AI earns its place in a test, where it fails, and the validation step that separates a real finding from a plausible story.

Key takeaways

  • AI speeds up reconnaissance, code reading and drafting, but it also invents findings.
  • Authorization and business logic flaws need human judgement and business context.
  • A finding should enter a report only after a person has reproduced it with evidence.
  • Ask any vendor who validates each finding and how your data is handled.

Where AI genuinely helps

  • Reconnaissance at scale. Summarising large asset lists, spotting patterns in subdomains and technology fingerprints, and prioritising what to look at first.
  • Reading code and configuration. Pointing a reviewer at risky functions, such as raw SQL, unsafe deserialisation or missing authorization checks, much faster than scrolling.
  • Payload variation. Suggesting encodings and bypass variants for a known injection point.
  • Drafting. Turning a confirmed finding and its evidence into a clear first draft of the write-up.
  • Triage of scanner output. Grouping thousands of tool results into a short list of candidates.

Where it goes wrong

  • Hallucinated findings. The model reports "SQL injection in /api/user" because the endpoint name sounds risky, without a working proof.
  • Wrong severity. A reflected parameter on a static page becomes "Critical".
  • No business context. Authorization flaws such as IDOR depend on who owns which record, which a model has not been told.
  • Over-confident exploitation steps that do not work on the real target, or that would be unsafe on a live system.
  • Missed chains. Individually minor issues that combine into a serious one need an attacker's judgement.

An illustrative lab comparison

We built a demo web application with 40 planted vulnerabilities of varied types and ran three approaches against it.

ApproachTrue findings confirmedFalse positivesMissedBusiness logic flaws found
Scanner only22 of 4014181 of 8
AI agent, unsupervised27 of 4019133 of 8
AI plus analyst validating every item36 of 400 in the final report47 of 8

Two things stand out. Unsupervised AI found more real issues than the scanner, and it also produced the most false positives in absolute terms. The combination with a human who reproduces each finding delivered the best result and a clean report.

The validation rule

A finding does not enter a report until a person has reproduced it. In practice that means:

  1. A working request and response, or a screenshot sequence, that proves the behaviour.
  2. A stated impact tied to the business: what data, which users, what an attacker gains.
  3. Minimum-footprint evidence, with no unnecessary extraction of personal data.
  4. A re-test after the fix to confirm it is gone.

This is the difference between "the tool says" and "we demonstrated". It is also why reports that claim zero false positives should show their proof-of-concept evidence.

Questions to ask when buying an AI-assisted test

  • Who validates each finding, and what are their qualifications?
  • Can I see sample proof-of-concept evidence, not just a list of CVE names?
  • How is my data handled? Is code or traffic sent to third-party AI services?
  • What is tested manually, such as authorization and business logic?
  • How do you handle scope, rate limits and safe testing on production?

Our view

AI shortens the boring parts of a test: sorting, summarising and drafting. Judgement about impact, chaining and business rules stays with experienced analysts. We use automation to widen coverage and people to guarantee the accuracy of what you receive. A tool can raise a hand; only a reproducible proof closes the ticket.

Frequently asked questions

Will AI replace penetration testers?

It changes the workflow rather than removing the need. Validation, chaining issues and understanding business rules still depend on experienced analysts.

Is it safe to send source code to AI tools?

That depends on the provider's terms and data handling. Ask where data is processed and stored, use approved or self-hosted options where needed, and consider contractual and DPDP obligations.

How can I tell a real finding from a hallucinated one?

A real finding has a reproducible proof: the exact request and response or a clear step sequence, a stated impact, and a successful re-test after the fix.

Further reading

Need this tested?

Have our senior analysts test your application

Excelon Cyber Solutions runs web application, API and network penetration tests across India, with every finding reproduced and documented before it reaches your report.

WHATSAPP