Hackers or Hallucinators? A Comprehensive Analysis of LLM-Based Automated Penetration Testing
Not on the map. Why?
Abstract (arXiv)
The rapid advancement of Large Language Models (LLMs) has created new opportunities for Automated Penetration Testing (AutoPT), spawning numerous frameworks aimed at achieving end-to-end autonomous attacks. However, despite the proliferation of related studies, existing research generally lacks systematic architectural analysis and large-scale empirical comparisons under a unified benchmark. Therefore, this paper presents the first Systematization of Knowledge (SoK) focusing on the architectural design and comprehensive empirical evaluation of current LLM-based AutoPT frameworks. At systematization level, we comprehensively review existing framework designs across six dimensions: agent architecture, agent plan, agent memory, agent execution, external knowledge, and benchmarks. At empirical level, we conduct large-scale experiments on 13 representative open-source AutoPT frameworks and 2 baseline frameworks utilizing a unified benchmark. The experiments consumed over 10 billion tokens in total and generated more than 1,500 execution logs, which were manually reviewed and analyzed over four months by a panel of more than 15 researchers with expertise in cybersecurity. By investigating the latest progress in this rapidly developing field, we provide researchers with a structured taxonomy to understand existing LLM-based AutoPT frameworks and a large-scale empirical benchmark, along with promising directions for future research.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 41 of its 136 references that are in the map. First posted on arXiv 7 Apr 2026.
Builds on
41 of 136 references.
References · 41
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2019Passage Re-ranking with BERTcited by 645
- 2025Why Do Multi-Agent LLM Systems Fail?cited by 604
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 205
- 2024Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Modelscited by 164
- 2026SoK: Agentic Skills -- Beyond Tool Use in LLM Agentscited by 130
- 2024LLM Agents can Autonomously Exploit One-day Vulnerabilitiescited by 128
- 2025From Human Memory to AI Memory: A Survey on Memory Mechanisms in the Era of LLMscited by 124
- 2026Agent Skills for Large Language Models: Architecture, Acquisition, Security, and the Path Forwardcited by 113
29 more
- 2024GUI Agents with Foundation Models: A Comprehensive Surveycited by 111
- 2024LLM Agents can Autonomously Hack Websitescited by 109
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 96
- 2025CVE-Bench: A Benchmark for AI Agents' Ability to Exploit Real-World Web Application Vulnerabilitiescited by 96
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 50
- 2024HackSynth: LLM Agent and Evaluation Framework for Autonomous Penetration Testingcited by 37
- 2024An Empirical Evaluation of LLMs for Solving Offensive Security Challengescited by 35
- 2025VulnBot: Autonomous Penetration Testing for A Multi-Agent Collaborative Frameworkcited by 31
- 2023LLMs as Hackers: Autonomous Linux Privilege Escalation Attackscited by 27
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 25
- 2025Multi-Agent Penetration Testing AI for the Webcited by 20
- 2026Toward Efficient Agents: Memory, Tool learning, and Planningcited by 16
- 2025CAI: An Open, Bug Bounty-Ready Cybersecurity AIcited by 14
- 2025RapidPen: Fully Automated IP-to-Shell Penetration Testing with LLM-based Agentscited by 11
- 2025On the Surprising Efficacy of LLMs for Penetration-Testingcited by 10
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?cited by 10
- 2025AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agentscited by 9
- 2024AutoPT: How Far Are We from the End2End Automated Web Penetration Testing?cited by 8
- 2025Shell or Nothing: Real-World Benchmarks and Memory-Activated Agents for Automated Penetration Testingcited by 8
- 2025RedTeamLLM: an Agentic AI framework for offensive securitycited by 7
- 2025PACEbench: A Framework for Evaluating Practical AI Cyber-Exploitation Capabilitiescited by 7
- 2025PentestEval: Benchmarking LLM-based Penetration Testing with Modular and Stage-Level Designcited by 7
- 2024BreachSeek: A Multi-Agent Automated Penetration Testercited by 6
- 2025ARACNE: An LLM-Based Autonomous Shell Pentesting Agentcited by 5
- 2025Pentest-R1: Towards Autonomous Penetration Testing Reasoning Optimized via Two-Stage Reinforcement Learningcited by 5
- 2025Automated Penetration Testing with LLM Agents and Classical Planningcited by 5
- 2025RefPentester: A Knowledge-Informed Self-Reflective Penetration Testing Framework Based on Large Language Modelscited by 3
- 2025xOffense: An Autonomous Multi-Agent Framework for Penetration Testing with Domain-Adapted Large Language Modelscited by 3
- 2024MobFuzz: Adaptive Multi-objective Optimization in Gray-box Fuzzingcited by 2
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026SysEvolve: An AI-native, safe, autonomous adversarial attack-defense co-evolutionary systemcited by 0
- 2026SWE-Test: Benchmarking LLM Vulnerability Discovery via Input Predictioncited by 0
- 2026Big Enough to Break Out: Tracking the Rising Capability of LLM Penetration-Testing Agentscited by 0
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectivescited by 0
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives15 Sep 2026
- 2026Big Enough to Break Out: Tracking the Rising Capability of LLM Penetration-Testing Agents9 Sep 2026
- 2026SWE-Test: Benchmarking LLM Vulnerability Discovery via Input Prediction5 Sep 2026
- 2026SysEvolve: An AI-native, safe, autonomous adversarial attack-defense co-evolutionary system15 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2025AutoPentester: An LLM Agent-based Framework for Automated Pentesting
- 2025Construction and Evaluation of LLM-based agents for Semi-Autonomous penetration testing
- 2025From Capabilities to Performance: Evaluating Key Functional Properties of LLM Architectures in Penetration Testing
- 2024PentestAgent: Incorporating LLM Agents to Automated Penetration Testing
- 2025Guided Reasoning in LLM-Driven Penetration Testing Using Structured Attack Trees
- 2024AutoPenBench: Benchmarking Generative Agents for Penetration Testing
- 2026LLM-Based Agents for Software and Systems Security: Approaches, Applications, and Assessment
- 2026APT-Agent: Automated Penetration Testing using Large Language Models