mlsanityData to 7 Oct 2026

AutoPenBench: Benchmarking Generative Agents for Penetration Testing

arXiv 2410.03225 ↗First posted 4 Oct 2024cs.CR cs.AIcited by 20

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Generative AI agents, software systems powered by Large Language Models (LLMs), are emerging as a promising approach to automate cybersecurity tasks. Among the others, penetration testing is a challenging field due to the task complexity and the diverse strategies to simulate cyber-attacks. Despite growing interest and initial studies in automating penetration testing with generative agents, there remains a significant gap in the form of a comprehensive and standard framework for their evaluation and development. This paper introduces AutoPenBench, an open benchmark for evaluating generative agents in automated penetration testing. We present a comprehensive framework that includes 33 tasks, each representing a vulnerable system that the agent has to attack. Tasks are of increasing difficulty levels, including in-vitro and real-world scenarios. We assess the agent performance with generic and specific milestones that allow us to compare results in a standardised manner and understand the limits of the agent under test. We show the benefits of AutoPenBench by testing two agent architectures: a fully autonomous and a semi-autonomous supporting human interaction. We compare their performance and limitations. For example, the fully autonomous agent performs unsatisfactorily achieving a 21% Success Rate (SR) across the benchmark, solving 27% of the simple tasks and only one real-world task. In contrast, the assisted agent demonstrates substantial improvements, with 64% of SR. AutoPenBench allows us also to observe how different LLMs like GPT-4o or OpenAI o1 impact the ability of the agents to complete the tasks. We believe that our benchmark fills the gap with a standard and flexible framework to compare penetration testing agents on a common ground. We hope to extend AutoPenBench along with the research community by making it available under https://github.com/lucagioacchini/auto-pen-bench.

Key facts. Cited by 20 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 10 of its 31 references that are in the map. First posted on arXiv 4 Oct 2024.

Builds on

10 of 31 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Teams of LLM Agents can Exploit Zero-Day Vulnerabilities2 Jun

Other references · 9

  1. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  2. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  3. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  4. 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 94
  5. 2023Getting pwn'd by AI: Penetration Testing with Large Language Modelscited by 82
  6. 2023Two Failures of Self-Consistency in the Multi-Step Reasoning of LLMscited by 36
  7. 2024AgentQuest: A Modular Benchmark Framework to Measure Progress and Improve LLM Agentscited by 27
  8. 2024Towards interactive evaluations for interaction harms in human-AI systemscited by 27
  9. 2023Improving Zero-shot Reader by Reducing Distractions from Irrelevant Documents in Open-Domain Question Answeringcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 12; 2026: 7.

20 papers.

Sort:

By area:

  1. 2025VulnBot: Autonomous Penetration Testing for A Multi-Agent Collaborative Frameworkcited by 30
  2. 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
  3. 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
  4. 2025Benchmarking Practices in LLM-driven Offensive Security: Testbeds, Metrics, and Experiment Designcited by 13
  5. 2025Cybersecurity AI Benchmark (CAIBench): A Meta-Benchmark for Evaluating Cybersecurity AI Agentscited by 11
  6. 2025A Contemporary Survey of Large Language Model Assisted Program Analysiscited by 10
  7. 2026What Makes a Good LLM Agent for Real-world Penetration Testing?cited by 8
  8. 2025PACEbench: A Framework for Evaluating Practical AI Cyber-Exploitation Capabilitiescited by 6
  9. 2025PentestEval: Benchmarking LLM-based Penetration Testing with Modular and Stage-Level Designcited by 6
  10. 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAIcited by 4
  11. 2025Pentest-R1: Towards Autonomous Penetration Testing Reasoning Optimized via Two-Stage Reinforcement Learningcited by 4
  12. 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunitiescited by 2
8 more
  1. 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelinescited by 2
  2. 2026To Defend Against Cyber Attacks, We Must Teach AI Agents to Hackcited by 1
  3. 2026CritBench: A Framework for Evaluating Cybersecurity Capabilities of Large Language Models in IEC 61850 Digital Substation Environmentscited by 1
  4. 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
  5. 2026From Controlled to the Wild: Evaluation of Pentesting Agents for the Real-Worldcited by 0
  6. 2026CyberEvolver: Structured Self-Evolution for Cybersecurity Agents On the Flycited by 0
  7. 2026Reveree: Diagnosing LLM Reverse-Engineering Agentscited by 0
  8. 2026PentestChain: A Cost-Aware, MCP-Orchestrated Framework for Automated Penetration Testing with Free-Tier LLMscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agents
  2. 2024HackSynth: LLM Agent and Evaluation Framework for Autonomous Penetration Testing
  3. 2025AutoPentester: An LLM Agent-based Framework for Automated Pentesting
  4. 2026Hackers or Hallucinators? A Comprehensive Analysis of LLM-Based Automated Penetration Testing
  5. 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives
  6. 2025Automated Penetration Testing with LLM Agents and Classical Planning
  7. 2025xOffense: An Autonomous Multi-Agent Framework for Penetration Testing with Domain-Adapted Large Language Models
  8. 2025PentestJudge: Judging Agent Behavior Against Operational Requirements