arXiv:2609.10780cs.CRSep 2026

Manuscript Offprint

arXiv:2609.10780

Big Enough to Break Out: Tracking the Rising Capability of LLM Penetration-Testing Agents

Victoria Lovelace, Cameron Berryman, Yuhan You, Suhas Reddy Adavelly, Joel Sadler, Daniel Graham

Victoria Lovelace, Cameron Berryman, Yuhan You, Suhas Reddy Adavelly, Joel Sadler, and Daniel Graham

University of Virginia, Charlottesville VA, USA

{bwg4mg, kqe6rf, mxr9et, xee3yr, wmx9vg, dgg6b}@virginia.edu

Abstract. Large language model (LLM) agents are increasingly applied to penetration testing, but we still know little about what they can do or how they fail. We compare two PentestGPT-based systems: a legacy human-in-the-loop system running the open-weight Kimi K2.5, and a newer autonomous system running Claude Opus 4.8. Across three public targets, the autonomous system solves all three, including the two the legacy system never finishes. The legacy result is the more surprising of the two. Even on the machines the legacy system fails to solve, it completes about half the subtasks, while running on ordinary university GPUs with no provider guardrails. We can describe the trend but not explain it, since model, harness, autonomy, and memory architecture all change together. Its direction still points to the next question: what will limit these agents as they take on more complex tasks? The usual answer is long-horizon memory, the loss of access to earlier findings during long attack chains. We test it by adding a coverage-memory layer to both systems, and neither improves outcomes. In the legacy stalled runs we could review, the limiting factor appeared to be planning and commitment rather than lost memory: agents held the evidence for a route forward and never turned it into a concrete exploitation hypothesis, which may suggest that offensive capability will advance with agents' ability to plan rather than with better memory. The same subtask scoring that tracks this capability is available to defenders, who can measure it as it rises instead of waiting to meet it in the field.

Keywords: Penetration testing · LLM agents · Autonomous agents · Offensive security · Open-weight models · AI safety

1 Introduction

Large language models can now automate parts of penetration testing that once required sustained human reasoning. An LLM agent can read tool output, propose commands, revise a plan, and coordinate work across the stages of an assessment. PentestGPT is an influential example. Its original evaluation found that LLMs could handle specific subtasks, such as operating tools and interpreting results. But the models struggled to hold the overall context of an assessment [3].

V. Lovelace et al.

Newer systems push for more autonomy through persistent state, automated execution, and updated architectures [6,7].

For a defender, the question is no longer only whether these agents can complete an attack, but how fast that capability is rising and what will limit it next. This paper takes a projection-oriented view: we measure two points on a capability trajectory, then use the gap between them, together with an analysis of the failures that remain, to reason about where the capability is heading.

The first point is a legacy human-in-the-loop PentestGPT harness driven by Kimi K2.5, an openly available model that we ran on ordinary university computing. The second is a newer autonomous harness driven by Claude, a frontier model accessed through a commercial provider. The autonomous configuration completes attack chains the legacy one does not, yet the legacy configuration still works through roughly half the subtasks on machines it never solves. Two features make this progression relevant to future risk. First, that level of capability is already easy to reach, needing only openly available weights and commodity GPUs. Recent work shows that even small models running locally can drive real intrusion behavior [10], and the models now in open circulation are considerably larger. Second, the gap points in one direction: better models and harnesses should extend attack depth further.

We are careful about what this comparison can show. No single variable is isolated between the two setups: model, framework, execution, autonomy, and memory all differ, and the targets have public walkthroughs that may appear in training data. We therefore treat the progression as descriptive rather than causal (Section 8), and use it to ask a narrower question: what stops these agents from carrying an assessment through to a more complex objective?

In the original PentestGPT evaluation, loss of session context was the most frequent cause of failed trials [3], and more recent work finds that agents can exhaust their context on low-value branches before finishing a chain [4]. The autonomous PentestGPT maintainers call a related loss of progress controller convergence. If losing access to earlier findings is what bounds depth, then preserving those findings should help. We test that directly by adding a coverage-memory layer to both harnesses. Each keeps a record of the attack surfaces already explored and makes it available during planning, using different integration points because the two frameworks manage memory differently.

This paper makes three contributions.

  1. We measure how far two generations of PentestGPT get on the same three targets, from a legacy human-in-the-loop system to an autonomous one. The gap between them gives a concrete starting point for tracking how quickly this capability is advancing.

  2. We design and evaluate a coverage-memory implementation for each Pentest-GPT framework. Neither improves outcomes, and the legacy version nearly triples reasoning time per cycle. We also show why: in the autonomous trials, where both conditions ran on every target, the retrieval failure they address never occurs.

  3. We extend the original PentestGPT subtask evaluation with repeated-trial scoring, a transcript-based failure analysis, and exploratory runs on a longer target. The analysis suggests the long-horizon bottleneck may lie in planning rather than memory.