AutoPenBench: Benchmarking Generative Agents for Penetration Testing
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
Other references · 9
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 94
- 2023Getting pwn'd by AI: Penetration Testing with Large Language Modelscited by 82
- 2023Two Failures of Self-Consistency in the Multi-Step Reasoning of LLMscited by 36
- 2024AgentQuest: A Modular Benchmark Framework to Measure Progress and Improve LLM Agentscited by 27
- 2024Towards interactive evaluations for interaction harms in human-AI systemscited by 27
- 2023Improving Zero-shot Reader by Reducing Distractions from Irrelevant Documents in Open-Domain Question Answeringcited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 12; 2026: 7.
20 papers.
Sort:
By area:
- 2025VulnBot: Autonomous Penetration Testing for A Multi-Agent Collaborative Frameworkcited by 30
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
- 2025Benchmarking Practices in LLM-driven Offensive Security: Testbeds, Metrics, and Experiment Designcited by 13
- 2025Cybersecurity AI Benchmark (CAIBench): A Meta-Benchmark for Evaluating Cybersecurity AI Agentscited by 11
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysiscited by 10
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?cited by 8
- 2025PACEbench: A Framework for Evaluating Practical AI Cyber-Exploitation Capabilitiescited by 6
- 2025PentestEval: Benchmarking LLM-based Penetration Testing with Modular and Stage-Level Designcited by 6
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAIcited by 4
- 2025Pentest-R1: Towards Autonomous Penetration Testing Reasoning Optimized via Two-Stage Reinforcement Learningcited by 4
- 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunitiescited by 2
8 more
- 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelinescited by 2
- 2026To Defend Against Cyber Attacks, We Must Teach AI Agents to Hackcited by 1
- 2026CritBench: A Framework for Evaluating Cybersecurity Capabilities of Large Language Models in IEC 61850 Digital Substation Environmentscited by 1
- 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
- 2026From Controlled to the Wild: Evaluation of Pentesting Agents for the Real-Worldcited by 0
- 2026CyberEvolver: Structured Self-Evolution for Cybersecurity Agents On the Flycited by 0
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agentscited by 0
- 2026PentestChain: A Cost-Aware, MCP-Orchestrated Framework for Automated Penetration Testing with Free-Tier LLMscited by 0
- 2026PentestChain: A Cost-Aware, MCP-Orchestrated Framework for Automated Penetration Testing with Free-Tier LLMs16 Sep 2026
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agents1 Sep 2026
- 2026CyberEvolver: Structured Self-Evolution for Cybersecurity Agents On the Fly25 May 2026
- 2026From Controlled to the Wild: Evaluation of Pentesting Agents for the Real-World11 May 2026
- 2026CritBench: A Framework for Evaluating Cybersecurity Capabilities of Large Language Models in IEC 61850 Digital Substation Environments7 Apr 2026
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?19 Feb 2026
- 2026To Defend Against Cyber Attacks, We Must Teach AI Agents to Hack1 Feb 2026
- 2025PentestEval: Benchmarking LLM-based Penetration Testing with Modular and Stage-Level Design16 Dec 2025
- 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelines7 Dec 2025
- 2025Cybersecurity AI Benchmark (CAIBench): A Meta-Benchmark for Evaluating Cybersecurity AI Agents28 Oct 2025
- 2025PACEbench: A Framework for Evaluating Practical AI Cyber-Exploitation Capabilities13 Oct 2025
- 2025A Survey on Agentic Security: Applications, Threats and Defenses7 Oct 2025
8 more
- 2025SoK: Measuring What Matters for Closed-Loop Security Agents2 Oct 2025
- 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunities8 Sep 2025
- 2025Pentest-R1: Towards Autonomous Penetration Testing Reasoning Optimized via Two-Stage Reinforcement Learning10 Aug 2025
- 2025Benchmarking Practices in LLM-driven Offensive Security: Testbeds, Metrics, and Experiment Design14 Apr 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysis5 Feb 2025
- 2025VulnBot: Autonomous Penetration Testing for A Multi-Agent Collaborative Framework23 Jan 2025
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAI14 Oct 2024
- 2025VulnBot: Autonomous Penetration Testing for A Multi-Agent Collaborative Frameworkcited by 30
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
- 2025Cybersecurity AI Benchmark (CAIBench): A Meta-Benchmark for Evaluating Cybersecurity AI Agentscited by 11
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?cited by 8
- 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelinescited by 2
- 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
- 2026From Controlled to the Wild: Evaluation of Pentesting Agents for the Real-Worldcited by 0
- 2026CyberEvolver: Structured Self-Evolution for Cybersecurity Agents On the Flycited by 0
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agentscited by 0
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agents1 Sep 2026
- 2026CyberEvolver: Structured Self-Evolution for Cybersecurity Agents On the Fly25 May 2026
- 2026From Controlled to the Wild: Evaluation of Pentesting Agents for the Real-World11 May 2026
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?19 Feb 2026
- 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelines7 Dec 2025
- 2025Cybersecurity AI Benchmark (CAIBench): A Meta-Benchmark for Evaluating Cybersecurity AI Agents28 Oct 2025
- 2025A Survey on Agentic Security: Applications, Threats and Defenses7 Oct 2025
- 2025SoK: Measuring What Matters for Closed-Loop Security Agents2 Oct 2025
- 2025VulnBot: Autonomous Penetration Testing for A Multi-Agent Collaborative Framework23 Jan 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025Benchmarking Practices in LLM-driven Offensive Security: Testbeds, Metrics, and Experiment Designcited by 13
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysiscited by 10
- 2025PACEbench: A Framework for Evaluating Practical AI Cyber-Exploitation Capabilitiescited by 6
- 2025PentestEval: Benchmarking LLM-based Penetration Testing with Modular and Stage-Level Designcited by 6
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAIcited by 4
- 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunitiescited by 2
- 2026CritBench: A Framework for Evaluating Cybersecurity Capabilities of Large Language Models in IEC 61850 Digital Substation Environmentscited by 1
- 2026PentestChain: A Cost-Aware, MCP-Orchestrated Framework for Automated Penetration Testing with Free-Tier LLMscited by 0
- 2026PentestChain: A Cost-Aware, MCP-Orchestrated Framework for Automated Penetration Testing with Free-Tier LLMs16 Sep 2026
- 2026CritBench: A Framework for Evaluating Cybersecurity Capabilities of Large Language Models in IEC 61850 Digital Substation Environments7 Apr 2026
- 2025PentestEval: Benchmarking LLM-based Penetration Testing with Modular and Stage-Level Design16 Dec 2025
- 2025PACEbench: A Framework for Evaluating Practical AI Cyber-Exploitation Capabilities13 Oct 2025
- 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunities8 Sep 2025
- 2025Benchmarking Practices in LLM-driven Offensive Security: Testbeds, Metrics, and Experiment Design14 Apr 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysis5 Feb 2025
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAI14 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2025AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agents
- 2024HackSynth: LLM Agent and Evaluation Framework for Autonomous Penetration Testing
- 2025AutoPentester: An LLM Agent-based Framework for Automated Pentesting
- 2026Hackers or Hallucinators? A Comprehensive Analysis of LLM-Based Automated Penetration Testing
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives
- 2025Automated Penetration Testing with LLM Agents and Classical Planning
- 2025xOffense: An Autonomous Multi-Agent Framework for Penetration Testing with Domain-Adapted Large Language Models
- 2025PentestJudge: Judging Agent Behavior Against Operational Requirements