mlsanityData to 7 Oct 2026

AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agents

arXiv 2505.10321 ↗First posted 15 May 2025cs.CR cs.AIcited by 8

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

Abstract (arXiv)

A recent area of increasing research is the use of Large Language Models (LLMs) in penetration testing, which promises to reduce costs and thus allow for higher frequency. We conduct a review of related work, identifying best practices and common evaluation issues. We then present AutoPentest, an application for performing black-box penetration tests with a high degree of autonomy. AutoPentest is based on the LLM GPT-4o from OpenAI and the LLM agent framework LangChain. It can perform complex multi-step tasks, augmented by external tools and knowledge bases. We conduct a study on three capture-the-flag style Hack The Box (HTB) machines, comparing our implementation AutoPentest with the baseline approach of manually using the ChatGPT-4o user interface. Both approaches are able to complete 15-25 % of the subtasks on the HTB machines, with AutoPentest slightly outperforming ChatGPT. We measure a total cost of 96.20 US when using AutoPentest across all experiments, while a one-month subscription to ChatGPT Plus costs 20. The results show that further implementation efforts and the use of more powerful LLMs released in the future are likely to make this a viable part of vulnerability management.

Key facts. Cited by 8 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 19 of its 67 references that are in the map. First posted on arXiv 15 May 2025.

Builds on

19 of 67 references.

Closest ancestors · 6

Same direction, newest first

  1. 2024HackSynth: LLM Agent and Evaluation Framework for Autonomous Penetration Testing2 Dec
  2. 2024PentestAgent: Incorporating LLM Agents to Automated Penetration Testing7 Nov
  3. 2024EnIGMA: Interactive Tools Substantially Assist LM Agents in Finding Security Vulnerabilities24 Sep
  4. 2024BreachSeek: A Multi-Agent Automated Penetration Tester31 Aug
  5. 2024Teams of LLM Agents can Exploit Zero-Day Vulnerabilities2 Jun
  6. 2023LLMs Killed the Script Kiddie: How Agents Supported by Large Language Models Change the Landscape of Network Threat Testing10 Oct

Other references · 13

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
  3. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 550
  4. 2024Large Language Models: A Surveycited by 506
  5. 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 94
  6. 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 94
  7. 2024An Empirical Evaluation of LLMs for Solving Offensive Security Challengescited by 33
  8. 2023LLMs as Hackers: Autonomous Linux Privilege Escalation Attackscited by 25
  9. 2025CAI: An Open, Bug Bounty-Ready Cybersecurity AIcited by 13
  10. 2025Can LLMs Hack Enterprise Networks? Autonomous Assumed Breach Penetration-Testing Active Directory Networkscited by 12
  11. 2023Understanding Hackers' Work: An Empirical Study of Offensive Security Practitionerscited by 8
  12. 2024CIPHER: Cybersecurity Intelligent Penetration-testing Helper for Ethical Researchercited by 6
1 more
  1. 2024PTHelper: An open source tool to support the Penetration Testing processcited by 2

Built on by

Cited by year (2026 to 7 Oct)

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

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025AutoPentester: An LLM Agent-based Framework for Automated Pentesting
  2. 2026Hackers or Hallucinators? A Comprehensive Analysis of LLM-Based Automated Penetration Testing
  3. 2026Big Enough to Break Out: Tracking the Rising Capability of LLM Penetration-Testing Agents
  4. 2024AutoPenBench: Benchmarking Generative Agents for Penetration Testing
  5. 2025From Capabilities to Performance: Evaluating Key Functional Properties of LLM Architectures in Penetration Testing
  6. 2026What Makes a Good LLM Agent for Real-world Penetration Testing?
  7. 2025RapidPen: Fully Automated IP-to-Shell Penetration Testing with LLM-based Agents
  8. 2025Guided Reasoning in LLM-Driven Penetration Testing Using Structured Attack Trees