mlsanityData to 14 Oct 2026

PentestGPT: An LLM-empowered Automatic Penetration Testing Tool

arXiv 2308.06782 ↗First posted 13 Aug 2023cs.SE cs.CRcited by 97

Not on the map. Why?

Cited by 46 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Penetration testing, a crucial industrial practice for ensuring system security, has traditionally resisted automation due to the extensive expertise required by human professionals. Large Language Models (LLMs) have shown significant advancements in various domains, and their emergent abilities suggest their potential to revolutionize industries. In this research, we evaluate the performance of LLMs on real-world penetration testing tasks using a robust benchmark created from test machines with platforms. Our findings reveal that while LLMs demonstrate proficiency in specific sub-tasks within the penetration testing process, such as using testing tools, interpreting outputs, and proposing subsequent actions, they also encounter difficulties maintaining an integrated understanding of the overall testing scenario. In response to these insights, we introduce PentestGPT, an LLM-empowered automatic penetration testing tool that leverages the abundant domain knowledge inherent in LLMs. PentestGPT is meticulously designed with three self-interacting modules, each addressing individual sub-tasks of penetration testing, to mitigate the challenges related to context loss. Our evaluation shows that PentestGPT not only outperforms LLMs with a task-completion increase of 228.6% compared to the gptthree model among the benchmark targets but also proves effective in tackling real-world penetration testing challenges. Having been open-sourced on GitHub, PentestGPT has garnered over 4,700 stars and fostered active community engagement, attesting to its value and impact in both the academic and industrial spheres.

Key facts. Cited by 97 papers in the map (data through 14 Oct 2026). First posted on arXiv 13 Aug 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 7; 2024: 28; 2025: 34; 2026: 28.

97 papers.

Sort:

By area:

  1. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  2. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
  3. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
  4. 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
  5. 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 96
  6. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 86
  7. 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
  8. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 68
  9. 2024EnIGMA: Interactive Tools Substantially Assist LM Agents in Finding Security Vulnerabilitiescited by 52
  10. 2024HackSynth: LLM Agent and Evaluation Framework for Autonomous Penetration Testingcited by 37
  11. 2024Large Language Models in Cybersecurity: State-of-the-Artcited by 34
  12. 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Taskscited by 33
38 more
  1. 2024Glitch Tokens in Large Language Models: Categorization Taxonomy and Effective Detectioncited by 29
  2. 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 28
  3. 2023LLMs as Hackers: Autonomous Linux Privilege Escalation Attackscited by 27
  4. 2023LLM for SoC Security: A Paradigm Shiftcited by 22
  5. 2024LLMs for Relational Reasoning: How Far are We?cited by 21
  6. 2023Can Large Language Models Provide Security & Privacy Advice? Measuring the Ability of LLMs to Refute Misconceptionscited by 20
  7. 2024Depending on yourself when you should: Mentoring LLM with RL agents to become the master in cybersecurity gamescited by 20
  8. 2025A Framework for Evaluating Emerging Cyberattack Capabilities of AIcited by 16
  9. 2024Hacking Back the AI-Hacker: Prompt Injection as a Defense Against LLM-driven Cyberattackscited by 15
  10. 2025AutoAdvExBench: Benchmarking autonomous exploitation of adversarial example defensescited by 15
  11. 2025Comparing AI Agents to Cybersecurity Professionals in Real-World Penetration Testingcited by 15
  12. 2024CTINexus: Automatic Cyber Threat Intelligence Knowledge Graph Construction Using Large Language Modelscited by 14
  13. 2025CRAKEN: Cybersecurity LLM Agent with Knowledge-Based Executioncited by 14
  14. 2025OCCULT: Evaluating Large Language Models for Offensive Cyber Operation Capabilitiescited by 12
  15. 2025Cybersecurity AI Benchmark (CAIBench): A Meta-Benchmark for Evaluating Cybersecurity AI Agentscited by 12
  16. 2023Cyber Sentinel: Exploring Conversational Agents in Streamlining Security Tasks with GPT-4cited by 9
  17. 2024Review of Generative AI Methods in Cybersecuritycited by 9
  18. 2024Hackphyr: A Local Fine-Tuned LLM Agent for Network Security Environmentscited by 9
  19. 2025AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agentscited by 9
  20. 2024A Survey of Large Language Models in Cybersecuritycited by 8
  21. 2024AutoPT: How Far Are We from the End2End Automated Web Penetration Testing?cited by 8
  22. 2025Dynamic Risk Assessments for Offensive Cybersecurity Agentscited by 8
  23. 2025Can Language Models Falsify? Evaluating Algorithmic Reasoning with Counterexample Creationcited by 7
  24. 2024CIPHER: Cybersecurity Intelligent Penetration-testing Helper for Ethical Researchercited by 6
  25. 2024BreachSeek: A Multi-Agent Automated Penetration Testercited by 6
  26. 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agentscited by 6
  27. 2025Benchmarking LLM-Assisted Blue Teaming via Standardized Threat Huntingcited by 6
  28. 2024Hacking, The Lazy Way: LLM Augmented Pentestingcited by 5
  29. 2025LLMs unlock new paths to monetizing exploitscited by 5
  30. 2024Research and application of artificial intelligence based webshell detection model: A literature reviewcited by 4
  31. 2024Artificial Intelligence as the New Hacker: Developing Agents for Offensive Securitycited by 4
  32. 2025Inducing Personality in LLM-Based Honeypot Agents: Measuring the Effect on Human-Like Agenda Generationcited by 4
  33. 2025DefenderBench: A Toolkit for Evaluating Language Agents in Cybersecurity Environmentscited by 4
  34. 2025Improving LLM Agents with Reinforcement Learning on Cryptographic CTF Challengescited by 4
  35. 2025LLM Agents for Automated Web Vulnerability Reproduction: Are We There Yet?cited by 4
  36. 2025Hiding in the AI Traffic: Abusing MCP for LLM-Powered Agentic Red Teamingcited by 4
  37. 2026The Authorization-Execution Gap Is a Major Safety and Security Problem in Open-World Agentscited by 4
  38. 2024AI-Augmented Ethical Hacking: A Practical Examination of Manual Exploitation and Privilege Escalation in Linux Environmentscited by 3

50 most cited of 97 All 97 (JSON)