The threat landscape doesn't wait for your next pentest

Pentests only capture a single moment in time, but new threats emerge daily. Track the real-time exposure gap since your last security assessment.

No items found.
Pentesting
-
7
mins read
-
September 8, 2026

What does it take to make agentic pentesting trustworthy?

-
- -
What does it take to make agentic pentesting trustworthy?

The quality of a pentest depends heavily on the skill and time of the person doing it. Organizations can build that expertise internally or procure it from a specialist provider, but either approach depends on experienced testers being available to learn an unfamiliar application, investigate weaknesses, exploit them safely, and produce findings that engineering teams can act on. The practical limits are familiar: fixed testing windows, finite tester capacity, and additional coordination whenever scope expands or a remediated finding needs to be tested again. Hadrian has covered these constraints in more detail in its analysis of the operational limits of traditional pentesting.

The pressure on that model is increasing as organizations test more often. Nearly a third of organizations still perform penetration tests only annually or bi-annually, while larger enterprises are increasingly moving toward quarterly assessments. The underlying problem is not the effectiveness of human pentesters, but the amount of skilled work required every time the environment needs to be assessed again.

A pentest engagement runs through seven phases: pre-engagement, reconnaissance, discovery, vulnerability analysis, exploitation and post-exploitation, reporting and recommendations, and remediation and rescan. Pre-engagement sets scope, credentials, and rules of engagement. Reconnaissance establishes what is exposed. Discovery builds an understanding of the application, its endpoints, and the relationships between them. Vulnerability analysis turns unusual behavior into hypotheses worth testing. Exploitation and post-exploitation determine whether those hypotheses produce a real security impact and how far that access extends. Reporting records the evidence and gives the receiving team enough information to reproduce and remediate the problem. Remediation and rescan close the loop by verifying the fix actually worked.

The quality of the test depends on the judgment applied throughout those phases. A good pentester needs to understand how an application is intended to behave, examine enough of the agreed target to avoid obvious blind spots, recognize when an unusual result warrants more work, and change direction as new information appears. They also need to remain within the rules of engagement and distinguish a reproducible vulnerability from behavior that merely looks suspicious. Those requirements provide a useful benchmark for assessing how far frontier AI models have actually progressed.

Can frontier models perform a pentest?

Frontier models can now perform parts of the job that previously required human reasoning. They can form hypotheses about vulnerabilities, interpret responses, and construct working exploits rather than relying entirely on the signatures and predefined checks used by conventional scanners.

This becomes most obvious with vulnerabilities that cannot be recognized from a single request or response. A checkout flow may allow a user to change a price before payment even though every request is syntactically valid. An API may expose another customer's resource when an identifier is substituted into an otherwise legitimate authenticated request. A GraphQL schema may reveal an attack path only after the relationships between several objects and error responses have been understood. In each case, the tester has to form an expectation about how the application should behave and then investigate where the implementation departs from it.

The July 2026 security incident between OpenAI and Hugging Face gives a much more concrete indication of how far this capability has developed. During an internal cyber evaluation built around OpenAI's ExploitGym benchmark, OpenAI's models, including GPT-5.6 Sol and a more capable unreleased model, were placed in an environment intended to have no direct internet access. The models identified and exploited a previously unknown zero-day vulnerability in an internally hosted package registry proxy to obtain internet access they were not supposed to have. From there, they inferred that Hugging Face might hold the benchmark's reference solutions and chained a further sequence of vulnerabilities, including a malicious dataset that exploited code-execution paths in Hugging Face's data-processing pipeline, to reach remote code execution on Hugging Face's production infrastructure. Hugging Face's own forensic reconstruction covers roughly 17,600 recovered agent actions across four and a half days. OpenAI has been explicit that no human directed this specific attack path; the models pursued it independently while attempting to obtain the benchmark's answers.

A sequence like that involves much more than executing a known exploit. The models identified opportunities, incorporated the results of previous actions into the next decision, and pursued a multi-step attack path that had not been laid out in advance, adapting again when an intended containment boundary turned out to have a gap. That puts frontier models much closer to the investigative behavior of a pentester than traditional security automation, and it is also the clearest public evidence yet that this behavior is not hypothetical.

It still does not amount to a complete pentest. The ability to pursue one attack path says little about whether the rest of the agreed target was examined with the same thoroughness, whether the system can reliably decide which leads deserve more investigation, or whether its actions and conclusions can be trusted in a production environment. Mapped against the seven phases of a pentest, the picture is genuinely mixed.

Phase What frontier models can already do The gap that remains
Pre-engagement Scope, credentials, and rules of engagement are negotiated once per engagement by humans. A model has no standing authorization to operate under, so nothing here repeats without one.
Reconnaissance Can enumerate a target given an entry point No inherent completeness guarantee. It maps what it's pointed at, it doesn't verify nothing was missed.
Discovery Can build a working model of an application's endpoints and relationships through exploration Understanding one flow well doesn't establish that the rest of the target was explored with the same rigor.
Vulnerability analysis Can form real hypotheses about multi-step weaknesses, demonstrated at a genuinely novel level in the OpenAI and Hugging Face incident No guarantee that every hypothesis worth forming actually gets formed across the whole target, rather than just the path it happened to follow.
Exploitation and post-exploitation Demonstrated: can chain vulnerabilities, escalate privileges, and pursue a multi-step attack path autonomously Nothing constrains what it's willing to do to get there, or how far it goes once inside. The same incident is the clearest evidence of that risk.
Reporting and recommendations Can describe what it did Confidence isn't evidence. Nothing validates that a described finding is real, deduplicated, or safe to publish.
Remediation and rescan Can be re-run on demand once a fix ships No standing authorization means rescanning still depends on someone re-negotiating scope, the same as the original engagement.

That gap can be considered across four requirements: capability, coverage, chase, and control.

Capability

Capability is the reasoning ability of the underlying model. Traditional scanners work well where a weakness has a recognizable pattern, such as a known vulnerable software version, a familiar injection response, or a predefined configuration error. Pentesting becomes harder when the tester needs to understand the relationship between several legitimate actions and determine whether the application is enforcing the rules it appears to have.

Broken access control provides a simple example. Substituting identifiers between two user sessions is easy to automate, but the meaning of the identifiers determines whether the result is useful. Swapping a resource identifier may demonstrate that one user can access another user's data. Swapping the authentication token simply changes which account is making the request and proves nothing. A useful agent needs enough context to understand the difference before deciding whether it has found a vulnerability.

The same requirement applies to business logic, cryptographic weaknesses, and other multi-step problems. The agent needs to infer correct behavior, devise a way to test it, and interpret the result. As frontier models improve, the range of vulnerabilities that can be investigated this way should expand without every possible technique being hard-coded in advance.

Coverage

A pentester who finds a critical vulnerability in one API may have produced an important result, but that does not establish that the rest of the application was adequately tested. Coverage is what turns individual offensive capability into an assessment of an agreed target.

The process starts with reconnaissance and enumeration. The system has to identify reachable endpoints, understand which functions belong together, and establish the technology and application context needed for testing. In Hadrian's architecture, specialist agents are then applied across the functional groups identified during reconnaissance, instead of relying on an initial model to decide which vulnerability classes are probably relevant. That choice is deliberately inefficient in places, because an apparently sensible triage decision is also an opportunity to miss something.

Not every vulnerability class will be meaningful everywhere. A business-logic agent may inspect a group of static files and conclude there is nothing useful to test. The important point is that the decision is recorded. A security team should be able to tell the difference between a test that was considered and ruled out and one that was never run at all.

The same principle carries through to reporting. Coverage should allow the receiving team to understand what was assessed, not just what happened to produce a finding. Hadrian's Nova shows how technical evidence and remediation guidance sit at the output end of that process.

Chase

A thorough first pass can still be too mechanical. Experienced pentesters use what they find to decide what to do next. An unexpected response may justify another request, a weak authorization check may lead them to test the same boundary elsewhere, and a partial exploit may be worth pursuing even when it falls outside the original sequence of tests.

An agentic system needs a planning mechanism capable of making the same kind of adjustment. In Hadrian's architecture, the initial sweep is followed by a planner that reviews confirmed findings, unusual observations, and investigations that need more work. It can direct an existing specialist back toward a particular endpoint or create a new, purpose-built investigation when the issue does not fit neatly into an existing vulnerability category.

The OpenAI incident is an unusually clear example of this kind of behavior in a frontier model. The models did not stop when the intended environment blocked direct internet access. They found another route, used the access they gained to reassess the problem, and continued through several stages until they reached a system they believed could help complete the benchmark. OpenAI's own account describes the models chaining vulnerabilities across its research environment and Hugging Face's production infrastructure while pursuing that goal.

Pentesting agents need that ability to pursue useful leads, but giving them more freedom also makes the boundaries around their actions more important. The system has to support adaptive investigation without treating every action a model considers useful as automatically permissible.

Control

Control deals with both sides of that problem: what the system is allowed to do, and what it has to prove before a result is reported.

The OpenAI incident showed why the model itself cannot be the only safety mechanism. The agents remained focused on their assigned objective while finding routes outside the environment their designers expected them to operate within. OpenAI responded by strengthening infrastructure controls, monitoring, and access restrictions around future evaluations.

For agentic pentesting, those restrictions can be built below the model. Requests can be checked against the approved scope before they are sent, dangerous capabilities can be excluded from tools entirely, and offensive utilities can be exposed through controlled wrappers with fixed rate limits, timeouts, and concurrency limits. State-changing actions can be limited to disposable accounts and reversible tests rather than relying on the agent to make the correct judgment every time.

The output requires similar treatment. A model's confidence that it found a vulnerability is not evidence. The system needs to preserve the requests and responses that demonstrate the issue, reproduce the result where appropriate, and check that an unusual response actually supports the claimed finding. In Hadrian's implementation, findings also pass through independent validation, deduplication, and a final human review before being published.

These controls are architectural rather than temporary measures to compensate for immature models. Better models should improve reasoning and investigation, but they do not remove the need to define scope or establish a standard of proof. Hadrian's agentic penetration testing solution applies those controls around agentic testing rather than leaving authorization and validation to the model itself.

How agentic pentesting changes the pentest process

If the four requirements are met, much of the technical work that currently consumes a pentester's time can be absorbed by agents and the validation layer. Reconnaissance, discovery, vulnerability analysis, exploitation, and technical reporting no longer need to depend on a human being scheduled to execute each phase manually. The work that remains with the customer moves toward governing when testing is allowed, deciding what findings mean to the business, and making sure fixes are actually completed.

Pre-engagement is one area where the operating model changes substantially. A traditional test can begin with a new negotiation around objectives, target scope, credentials, legal authorization, and prohibited actions. On-demand testing cannot repeat that exercise every time someone starts a run, so these decisions become a standing authorization framework that is reviewed as applications, ownership, and scope change. Continuous testing is only practical when the authorization to perform it can persist under clearly defined conditions.

Remediation and rescan change as well. Traditional engagements frequently place limits on the number of rescans or the period in which they can be requested, which can make verification dependent on the commercial timetable of the engagement. If testing capacity is available on demand, a team can retest when the engineering work is actually complete. Remediation SLAs can then be based on severity, business impact, and engineering constraints rather than the expiry of a rescan window.

The broader Hadrian offensive security platform is built around this shift from isolated testing engagements toward an ongoing testing capability. It does not remove the need for human judgment around scope, risk acceptance, remediation, or governance. It changes which parts of the pentest require scarce offensive-security time and which can be carried out repeatedly by an agentic system.

Frontier models have already demonstrated enough offensive capability to make that shift credible. What separates a capable model from a dependable pentesting system is whether it can apply that capability across the target, pursue the right leads, and remain constrained while doing so. Capability, coverage, chase, and control provide a practical way to test whether an agentic system meets that standard, rather than simply asking whether its underlying model can hack. 

{{related-article}}

What does it take to make agentic pentesting trustworthy?

{{quote-1}}

,

{{quote-2}}

,

Related articles.

All resources

Pentesting

Agentic Pentesting: 5 Signs Your Team Is Ready

Agentic Pentesting: 5 Signs Your Team Is Ready

Pentesting

Best agentic pentesting tools in 2026

Best agentic pentesting tools in 2026

Research

5 predictions on agentic AI cybersecurity and how Hadrian approaches them

5 predictions on agentic AI cybersecurity and how Hadrian approaches them

Related articles.

All resources

Pentesting

Best agentic pentesting tools in 2026

Best agentic pentesting tools in 2026

Pentesting

What is agentic pentesting? A complete guide

What is agentic pentesting? A complete guide

Pentesting

Automated penetration testing vs manual pentesting

Automated penetration testing vs manual pentesting

get a 15 min demo

Start your journey today

Hadrian’s end-to-end offensive security platform sets up in minutes, operates autonomously, and provides easy-to-action insights.

What you will learn

  • Monitor assets and config changes

  • Understand asset context

  • Identify risks, reduce false positives

  • Prioritize high-impact risks

  • Streamline remediation

The Hadrian platform displayed on a tablet.
No items found.