Baselines Before Architecture: Evaluating Coding Agents for Autonomous Penetration Testing
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Recent autonomous penetration testing papers report high benchmark scores while adding multi-component security harnesses around frontier LLMs. Because these systems often change both architecture and backbone model, it is difficult to tell how much performance comes from the harness rather than from the underlying model. This paper presents a controlled study on the 104-task XBOW benchmark using default coding CLI agents as plain-agent baselines. We first run Codex, OpenCode, and Pi with the same GPT-5 model, budget, target interface, and scoring rule. This phase identifies the strongest same-model baseline and tests whether security-specific prompt variants improve its observed score. We then compare the default Codex scaffold with published MAPTA and PentestGPT V2 results under the closest available model matches. Finally, we repeat the plain-agent experiment with GPT-5.2 and GPT-5.5 to measure model scaling inside the same scaffold. The results show a mixed but practical picture. Specialised harnesses can add measurable benchmark lift and may improve cost efficiency, but plain coding agents already solve a large share of the benchmark; repeated plain-agent runs can match or exceed some published architecture scores in union coverage, and newer models substantially improve the same scaffold. Future evaluations should report model-matched plain-agent baselines before attributing benchmark gains to architecture design alone.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 5 of its 19 references that are in the map. First posted on arXiv 13 Jul 2026.
Builds on
5 of 19 references.
Closest ancestors · 4
Same direction, newest first
- 2026Red-MIRROR: Agentic LLM-based Autonomous Penetration Testing with Reflective Verification and Knowledge-augmented Interaction28 Mar
- 2026AWE: Adaptive Agents for Dynamic Web Penetration Testing1 Mar
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?19 Feb
- 2025Multi-Agent Penetration Testing AI for the Web28 Aug
Other references · 1
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024HackSynth: LLM Agent and Evaluation Framework for Autonomous Penetration Testing
- 2026From Capability to Assurance in Autonomous Penetration-Testing Harnesses: A Framework and Reference Implementation
- 2026Big Enough to Break Out: Tracking the Rising Capability of LLM Penetration-Testing Agents
- 2025xOffense: An Autonomous Multi-Agent Framework for Penetration Testing with Domain-Adapted Large Language Models
- 2026Systematic Capability Benchmarking of Frontier Large Language Models for Offensive Cyber Tasks
- 2026Beyond Success Rate: Cost-Aware Evaluation of Offensive and Defensive Security Agents
- 2024AutoPenBench: Benchmarking Generative Agents for Penetration Testing
- 2026Cochise: A Reference Harness for Autonomous Penetration Testing