CoChat

AutoPT: How Far Are We From the Fully Automated Web Penetration Testing?

Wu, Benlong, Chen, Guoqiang, Chen, Kejiang, Shang, Xiuwei, Han, Jiapeng, He, Yanru, Zhang, Weiming, Yu, Nenghai · 2025 · IEEE Transactions on Information Forensics and Security
Cited by 11

The DOI matches its Crossref record; 10 of the 10 references it cites were found in a registry or an index.

Abstract

Penetration testing is essential for ensuring Web security by identifying and mitigating vulnerabilities in advance, and the rapid progress of large language models (LLMs) shows great potential to revolutionize this process through intelligent, automated agents. In this work, we establish a comprehensive end-to-end penetration testing benchmark using a real-world penetration testing environment to explore the capabilities of LLM-based agents in this domain. Our results reveal that the agents are familiar to procedures of penetration testing tasks, but they still face limitations in generating accurate commands and executing complete processes. Accordingly, we summarize the current challenges, including the difficulty of maintaining the entire message history and the tendency for the agent to become stuck. Based on the above insights, we propose a Penetration testing State Machine (PSM) that utilizes the Finite State Machine (FSM) methodology to address these limitations. Then, we introduce AutoPT, an automated penetration testing agent based on the principle of PSM driven by LLMs, which utilizes the inherent inference ability of LLM and the constraint framework of state machines. Our evaluation results show that AutoPT outperforms the the ReAct-based baseline and improves the task completion rate from 22% to 41% on the benchmark target. Compared with the baseline and manual work, AutoPT also reduces time and economic costs further. In general, our AutoPT has facilitated the development of automated penetration testing and bring new findings and insights for both academia and industry.

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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/tifs.2025.3601343

Cites

10 of 10 references verified0 citation errors · 0 not checkable

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.

A few free checks a day · papers already verified open instantly · results are public

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

Show all 10 references

Research works printed but not linked: 27

  1. Stock, How the web tangled itself: Uncovering the history of client-side web (in) security, 971
  2. 10.1109/TIFS.2024.3461950 · DOI
  3. 2017, Information Supplement: Penetration Testing Guidance
  4. 10.1109/MSP.2005.23 · DOI · Paper page
  5. Deng, NAUTILUS: Automated RESTful API vulnerability detection, 5593
  6. 10.1109/CYBER.2015.7288225 · doi:10.1109/cyber.2015.7288225
  7. 10.1109/TIFS.2024.3372809 · DOI · Paper page
  8. 10.1109/TIFS.2024.3374558 · DOI · Paper page
  9. Deng, PentestGPT: Evaluating and harnessing large language models for automated penetration testing, 847
  10. Yao, 2022, ReAct: Synergizing reasoning and acting in language models, arXiv:2210.03629 · arXiv
  11. 10.1109/5.533956 · DOI · Paper page
  12. 10.1007/978-3-642-40597-6_20 · DOI
  13. 10.1109/TLA.2015.7069095 · doi:10.1109/tla.2015.7069095
  14. 10.1145/2610384.2610403 · DOI
  15. 10.1109/TIFS.2023.3322319 · doi:10.1109/tifs.2023.3322319
  16. 10.1109/EuroSPW51379.2020.00010 · DOI
  17. Yuan, 2024, LLM inference unveiled: Survey and roofline model insights, arXiv:2402.16363 · arXiv
  18. Li, 2024, Personal LLM agents: Insights and survey about the capability, efficiency and security, arXiv:2401.05459 · arXiv
  19. Happe, 2023, LLMs as hackers: Autonomous Linux privilege escalation attacks, arXiv:2310.11409 · arXiv
  20. 10.1109/CSR61664.2024.10679480 · DOI
  21. Muzsai, 2024, HackSynth: LLM agent and evaluation framework for autonomous penetration testing, arXiv:2412.01778 · arXiv
  22. Goyal, 2024, Hacking, the lazy way: LLM augmented pentesting, arXiv:2409.09493 · arXiv
  23. 10.1145/103418.103468 · doi:10.1145/103418.103468
  24. Rich, 2008, Automata, Computability and Complexity: Theory and Applications
  25. 10.1007/978-3-642-05089-3_14 · doi:10.1007/978-3-642-05089-3_14
  26. 10.1007/s10009-019-00544-0 · DOI
  27. Jin, 2024, GUARD: Role-playing to generate natural-language jailbreakings to test guideline adherence of large language models, arXiv:2402.03299 · arXiv

Metadata

Authors
Wu, B., Chen, G., Chen, K., Shang, X., Han, J., He, Y., Zhang, W., & Yu, N.
Venue
IEEE Transactions on Information Forensics and Security
Published
2025
Volume
20
Pages
9657-9672
ISSN
  • 1556-6013
  • 1556-6021
Cited by
11
References
10
Funders
National Natural Science Foundation of China (U2336206, 62472398, U2436601, 62402469)

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: AutoPT: How Far Are We From the Fully Automated Web Penetration Testing? https://app.cochat.ai/papers/10.1109/tifs.2025.3601343
The paper
Wu, B., Chen, G., Chen, K., Shang, X., Han, J., He, Y., Zhang, W., & Yu, N. (2025). AutoPT: How Far Are We From the Fully Automated Web Penetration Testing? IEEE Transactions on Information Forensics and Security. https://doi.org/10.1109/tifs.2025.3601343

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.