AutoPentester: An LLM Agent-based Framework for Automated Pentesting
The DOI matches its Crossref record; 2 of the 2 references it cites were found in a registry or an index.
Abstract
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
PenHeal: A Two-Stage LLM Framework for Automated Pentesting and Optimal Remediation
Huang, J., & Zhu, Q. (2023) · Proceedings of the Workshop on Autonomous Cybersecurity · doi:10.1145/3689933.3690831 · Cited by 25 · cited 3×
“We selected the first two resources as suggested in [12].”
Moskal, S., Laney, S., Hemberg, E., & O'Reilly, U.-M. (2023) · arXiv · doi:10.48550/arxiv.2310.06936 · Cited by 11 · cited 1×
“ScriptKiddie by Moskal et al. [23] is one of the attempts to automate cybersecurity tasks using LLM agent systems.”
Research works printed but not linked: 37
- 10.1109/LISAT.2018.8378035 · doi:10.1109/lisat.2018.8378035
- Bai, 2022, Training a helpful and harmless assistant with reinforcement learning from human feedback, arXiv preprint arXiv:2204.05862 · arXiv
- Brown, 2020, Language models are few-shot learners, Advances in Neural Information Processing Systems, 33, 1877
- 10.1109/WETICE.2018.00012 · doi:10.1109/wetice.2018.00012
- 2024, The 18 CIS controls
- 2016, Cve-2018-20685
- Deng, 2023, PentestGPT on HTB Lame
- Deng, PentestGPT: Evaluating and harnessing large language models for automated penetration testing, USENIX Security 2024, 847
- Signals Directorate, 2023, Threat report 2022-2023
- 10.1016/c2010-0-68339-8 · doi:10.1016/c2010-0-68339-8
- 2024, Fedramp penetration test guidance
- Ginige, TrafficGPT: An LLM approach for open-set encrypted traffic classification
- Hat, 2011, Cve-2011-2523
- 2025, Cve-2017-7494
- 10.1016/j.cose.2024.103999 · DOI
- 10.1109/EuroSPW51379.2020.00010 · DOI
- 2024, Cost of a data breach
- 2025, Cve-2023-44416
- Kennedy, 2011, Metasploit: the penetration tester’s guide.
- Lewis, 2019, The cybersecurity workforce gap
- Mnih, 2013, Playing atari with deep reinforcement learning, preprint arXiv:1312.5602 · arXiv
- 2023, Oracle vm virtualbox
- 2025, Cve-2022-42699
- Ou, Mulval: A logic-based network security analyzer, 8, 113
- 2021, picoctf - picoctf 2021 mini-competition with redpwn
- Burp Suite Community Edition
- Subprocess — subprocess management — python 3.8.5 documentation
- Rafailov, 2023, Direct preference optimization: Your language model is secretly a reward model, Advances in Neural Information Processing Systems, 36, 53728
- 10.60087/jaigs.v6i1.268 · DOI
- Shen, 2024, PentestAgent: Incorporating LLM agents to automated penetration testing, arXiv preprint arXiv:2411.05185 · arXiv
- Team, 2023, Gemini: A family of highly capable multimodal models, arXiv preprint arXiv:2312.11805 · arXiv
- 2018, Textblob: Simplified text processing — textblob 0.15.2 documentation
- Touvron, 2023, LLaMA: Open and efficient foundation language models, arXiv preprint arXiv:2302.13971 · arXiv
- Tran, 2021, Deep hierarchical reinforcement agents for automated penetration testing, arXiv preprint arXiv:2109.06449 · arXiv
- Metasploitable: 2, 29
- Weidman, 2014, Penetration testing: a hands-on introduction to hacking.
- 10.1631/FITEE.1800532 · DOI
Metadata
- Authors
- Ginige, Y., Niroshan, A., Jain, S., & Seneviratne, S.
- Venue
- 2025 IEEE 24th International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom)
- Publisher
- IEEE
- Published
- 2025-11-14
- Pages
- 163-174
- Cited by
- 16
- References
- 2
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: AutoPentester: An LLM Agent-based Framework for Automated Pentesting. https://app.cochat.ai/papers/10.1109/trustcom66490.2025.00026
- The paper
- Ginige, Y., Niroshan, A., Jain, S., & Seneviratne, S. (2025). AutoPentester: An LLM Agent-based Framework for Automated Pentesting. 2025 IEEE 24th International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom). https://doi.org/10.1109/trustcom66490.2025.00026
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.