Baselines Before Architecture: Evaluating Coding Agents for Autonomous Penetration Testing

Ananda Dhakal, Krish Neupane, Aarjan Chaudhary
7/13/2026
cs.CRcs.AI

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dhakal2026baselines,
  title  = {Baselines Before Architecture: Evaluating Coding Agents for Autonomous Penetration Testing},
  author = {Ananda Dhakal and Krish Neupane and Aarjan Chaudhary},
  year   = {2026},
  eprint = {2607.13085},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.13085v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.13085.svg)](https://codeofpaper.com/paper/2607.13085)

Discussion