mlsanityData to 14 Oct 2026

AutoPentester: An LLM Agent-based Framework for Automated Pentesting

arXiv 2510.05605 ↗First posted 7 Oct 2025cs.CR cs.AIcited by 6

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

Abstract (arXiv)

Penetration testing and vulnerability assessment are essential industry practices for safeguarding computer systems. As cyber threats grow in scale and complexity, the demand for pentesting has surged, surpassing the capacity of human professionals to meet it effectively. With advances in AI, particularly Large Language Models (LLMs), there have been attempts to automate the pentesting process. However, existing tools such as PentestGPT are still semi-manual, requiring significant professional human interaction to conduct pentests. To this end, we propose a novel LLM agent-based framework, AutoPentester, which automates the pentesting process. Given a target IP, AutoPentester automatically conducts pentesting steps using common security tools in an iterative process. It can dynamically generate attack strategies based on the tool outputs from the previous iteration, mimicking the human pentester approach. We evaluate AutoPentester using Hack The Box and custom-made VMs, comparing the results with the state-of-the-art PentestGPT. Results show that AutoPentester achieves a 27.0% better subtask completion rate and 39.5% more vulnerability coverage with fewer steps. Most importantly, it requires significantly fewer human interactions and interventions compared to PentestGPT. Furthermore, we recruit a group of security industry professional volunteers for a user survey and perform a qualitative analysis to evaluate AutoPentester against industry practices and compare it with PentestGPT. On average, AutoPentester received a score of 3.93 out of 5 based on user reviews, which was 19.8% higher than PentestGPT.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 10 of its 43 references that are in the map. First posted on arXiv 7 Oct 2025.

Builds on

10 of 43 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024PentestAgent: Incorporating LLM Agents to Automated Penetration Testing7 Nov
  2. 2023LLMs Killed the Script Kiddie: How Agents Supported by Large Language Models Change the Landscape of Network Threat Testing10 Oct

Other references · 8

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  5. 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
  6. 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 96
  7. 2024PenHeal: A Two-Stage LLM Framework for Automated Pentesting and Optimal Remediationcited by 30
  8. 2021Deep hierarchical reinforcement agents for automated penetration testingcited by 19

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 5.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agents
  2. 2026Hackers or Hallucinators? A Comprehensive Analysis of LLM-Based Automated Penetration Testing
  3. 2025RapidPen: Fully Automated IP-to-Shell Penetration Testing with LLM-based Agents
  4. 2024HackSynth: LLM Agent and Evaluation Framework for Autonomous Penetration Testing
  5. 2024AutoPenBench: Benchmarking Generative Agents for Penetration Testing
  6. 2026Big Enough to Break Out: Tracking the Rising Capability of LLM Penetration-Testing Agents
  7. 2026APT-Agent: Automated Penetration Testing using Large Language Models
  8. 2025PentestJudge: Judging Agent Behavior Against Operational Requirements