What is autonomous penetration testing?

Autonomous penetration testing is security testing where AI agents do the work a human pentester would do: map the target, form a hypothesis about how it breaks, attempt the exploit, and confirm the result. A human sets scope and authorization, then reviews what comes back. The agent chooses what to try next, and that choice is what separates it from a scanner.

Scanner, pentest, autonomous pentest.

The three get used interchangeably and they are not the same thing. The difference is what each one hands you at the end.

 ScannerHuman pentestAutonomous pentest
FindsKnown patternsWhatever the tester thinks to tryWhatever the agent can reach and chain
OutputA list to triageA report, at the endA reproduction, or nothing
CadenceEvery commitQuarterly or annuallyContinuous, or on demand
Novel bugsNoYes, bounded by hoursYes, bounded by compute
Business logicNoStrongest hereWeakest here

Where it goes wrong.

We run this in production against real targets, so these are failure modes we have hit, not hypotheticals.

A crash is not an exploit

Most tooling stops at "the target misbehaved". The distance between a crash and a working exploit is large, and skipping it is how false claims get made. Verification has to re-derive the result, not restate it.

Novelty is harder than discovery

An agent will happily rediscover a bug that was fixed in 2019, or one a public fuzzer reports weekly. Deciding whether a finding is new needs a corpus check against what has already been reported, and that check is separate from the hunt.

Authorization cannot be automated

Scope is a legal boundary, not a config value. Agents should be given a fenced target and no ability to widen it. Every serious deployment of this puts the fence outside the agent.

The harness beats the model

Most of the gap between a demo and a system that works is context management, tool output handling and verification structure. Swapping in a smarter model changes less than fixing the loop around it.

Common questions.

What is autonomous penetration testing?

Autonomous penetration testing is security testing where AI agents perform the work a human pentester would do: mapping a target, forming hypotheses about how it could break, attempting exploitation, and confirming the result. A human sets the scope and authorization, then reviews what comes back. The agent decides what to try next, which is the part that separates it from a scanner.

How is it different from a vulnerability scanner?

A scanner matches known patterns and reports anything that looks like one, which is why scanner output needs triage. An autonomous pentest attempts the attack. It either produces a working reproduction or it does not, so the output is evidence rather than a list of possibilities.

Is autonomous pentesting the same as agentic security?

Agentic security is the broader term for any security work driven by AI agents, including defensive work like triage, detection engineering and incident response. Autonomous pentesting is the offensive subset: agents attacking a target you own or are authorized to test.

Can AI agents find vulnerabilities nobody knew about?

Yes. Agents have produced novel findings in widely-reviewed code, including the Linux kernel, and those fixes have gone upstream through normal maintainer review. Finding a bug is not the hard part, though. Knowing it is new, and proving it is real, is where most of the work is.

Does it replace human pentesters?

No, and anyone selling that is overselling. Agents are good at breadth, at never getting bored, and at running the same rigorous verification on every candidate. Humans are better at business logic, at judging what actually matters to a specific company, and at the authorization and scoping decisions that should never be automated.

What are the open-source autonomous pentesting tools?

The open-source options in this category include the 0sec harness, Strix, PentestGPT, CAI, PentAGI and hackingBuddyGPT, alongside classic non-agentic tooling like Nuclei and OWASP ZAP that agents often drive. 0sec publishes its harness under MIT OR Apache-2.0.

Is it safe to run against production?

Only with explicit written authorization and an agreed test plan. An agent that can exploit a vulnerability can also break the thing it is exploiting. Scope, rate limits and a staging environment are the controls that matter, and they are decisions for a human, not the agent.