← Lab /Security & privacy

MazeRunner completes 47.7% of pentest subtasks and gains root on two targets, outperforming baselines

MazeRunner achieves higher subtask completion and root access than prior LLM agents in black-box penetration testing

Security & privacy arXiv 14 Aug 2026 Method Prototype evidence

Published as “MazeRunner: Nonlinear Task and Clue Orchestration for LLM-driven Black-Box Automated Penetration Testing”

Why it matters

The approach demonstrates that persistent state and failure-aware multi-agent orchestration can materially improve autonomous black-box pentesting, suggesting a path toward more reliable, zero-intervention security assessments.

Summary

MazeRunner achieves a 47.7% subtask completion rate and gains user-level or higher access on 6 of 10 HTB targets (including root on 2), outperforming PentestGPT-V2 (36.2% completion, user-level on 2) and Claude Code (34.2% completion, user-level on 2). The evidence comes from a controlled 20 M-token budget evaluation on ten real-world-style targets, but the system still fails on four targets and required manual password-cracking for one step, indicating incomplete automation.

What they found 3

  1. Higher subtask completion rate than baselines

    “With Claude Sonnet 4.5, MazeRunner completes 47.7% of the annotated subtasks, compared with 36.2% for PentestGPT-V2 and 34.2% for Claude Code.”

  2. More privileged access achieved

    “MazeRunner obtains user-level or higher access on 6 targets, including root access on 2, whereas each same-model baseline obtains user-level access on 2 targets and fails to reach root access.”

  3. Improved shell-acquisition efficiency per token

    “Analysis of the complete execution traces further shows that MazeRunner explores a broader range of attack branches and achieves higher shell-acquisition efficiency per token than the same-model baselines.”

Caveats 3

  • In one representative run, it obtains root access using 79 commands, of which 7 are classified as invalid.
  • MazeRunner still fails to obtain any access on 4 of the 10 evaluated targets.
  • Manual intervention was required for a password-brute-force step because automating it with the LLM incurred prohibitive token overhead and latency.

What’s new here 3

  • Introduces a persistent Task & Clue Cache to maintain state across long-horizon attacks.
  • Adds an independent Reviewer Agent for failure diagnosis and corrective replanning.
  • Implements a three-agent Strategist-Executor-Reviewer cycle to avoid depth-first traps and enable branch switching.