mlsanityData to 14 Oct 2026

PentestEval: Benchmarking LLM-based Penetration Testing with Modular and Stage-Level Design

arXiv 2512.14233 ↗First posted 16 Dec 2025cs.SE cs.AI cs.CRcited by 7

Not on the map. Why?

Abstract (arXiv)

Penetration testing is essential for assessing and strengthening system security against real-world threats, yet traditional workflows remain highly manual, expertise-intensive, and difficult to scale. Although recent advances in Large Language Models (LLMs) offer promising opportunities for automation, existing applications rely on simplistic prompting without task decomposition or domain adaptation, resulting in unreliable black-box behavior and limited insight into model capabilities across penetration testing stages. To address this gap, we introduce PentestEval, the first comprehensive benchmark for evaluating LLMs across six decomposed penetration testing stages: Information Collection, Weakness Gathering and Filtering, Attack Decision-Making, Exploit Generation and Revision. PentestEval integrates expert-annotated ground truth with a fully automated evaluation pipeline across 346 tasks covering all stages in 12 realistic vulnerable scenarios. Our stage-level evaluation of 9 widely used LLMs reveals generally weak performance and distinct limitations across the stages of penetration-testing workflow. End-to-end pipelines reach only 31% success rate, and existing LLM-powered systems such as PentestGPT, PentestAgent, and VulnBot exhibit similar limitations, with autonomous agents failing almost entirely. These findings highlight that autonomous penetration testing demands stronger structured reasoning, where modularization enhances each individual stage and improves overall performance. PentestEval provides the foundational benchmark needed for future research on fine-grained, stage-level evaluation, paving the way toward more reliable LLM-based automation.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 9 of its 46 references that are in the map. First posted on arXiv 16 Dec 2025.

Builds on

9 of 46 references.

References · 9

  1. 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 96
  2. 2023Getting pwn'd by AI: Penetration Testing with Large Language Modelscited by 83
  3. 2024PentestAgent: Incorporating LLM Agents to Automated Penetration Testingcited by 47
  4. 2025A Survey on Large Language Models with some Insights on their Capabilities and Limitationscited by 42
  5. 2019Autonomous Penetration Testing using Reinforcement Learningcited by 33
  6. 2025VulnBot: Autonomous Penetration Testing for A Multi-Agent Collaborative Frameworkcited by 31
  7. 2024PenHeal: A Two-Stage LLM Framework for Automated Pentesting and Optimal Remediationcited by 30
  8. 2024AutoPenBench: Benchmarking Generative Agents for Penetration Testingcited by 21
  9. 2024Towards Automated Penetration Testing: Introducing LLM Benchmark, Analysis, and Improvementscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 7.

7 papers.