大语言模型(LLM)智能体在软件工程和网络安全任务中已展现出卓越的能力,包括代码生成、漏洞发现和自动化测试。一个关键但尚未充分探索的应用是自动化 Web 漏洞复现,它将漏洞报告转化为可用的利用代码。尽管最近的进展显示出有希望的潜力,但在将 LLM 智能体应用于真实世界的 Web 漏洞复现场景中仍存在挑战。在本文中,我们首次对用于自动化 Web 漏洞复现的最先进 LLM 智能体进行了全面评估。我们系统地评估了来自软件工程、网络安全和通用领域的 20 个智能体,涵盖 16 个维度,包括技术能力、环境适应性和用户体验因素,针对 3 个代表性的 Web 漏洞。基于评估结果,我们选择了三个表现最佳的智能体(OpenHands、SWE-agent 和 CAI)在我们的基准数据集上进行深入评估,该数据集包含 80 个真实世界的 CVE,涵盖 7 种漏洞类型和 6 种 Web 技术。我们的结果表明,虽然 LLM 智能体在简单的基于库的漏洞上取得了合理的成功,但在需要多组件环境的复杂基于服务的漏洞上始终失败。复杂的环境配置和认证障碍造成了一个差距,即智能体可以执行利用代码但无法触发实际漏洞。我们观察到对输入指导的高度敏感性,在不完整的认证信息下性能下降超过 33%。我们的发现凸显了当前 LLM 智能体能力与可靠自动化漏洞复现需求之间的显著差距,强调了对环境适应性和自主问题解决能力进行改进的必要性。
英文摘要:
Large language model (LLM) agents have demonstrated remarkable capabilities in software engineering and cybersecurity tasks, including code generation, vulnerability discovery, and automated testing. One critical but underexplored application is automated web vulnerability reproduction, which transforms vulnerability reports into working exploits. Although recent advances suggest promising potential, challenges remain in applying LLM agents to real-world web vulnerability reproduction scenarios. In this paper, we present the first comprehensive evaluation of state-of-the-art LLM agents for automated web vulnerability reproduction. We systematically assess 20 agents from software engineering, cybersecurity, and general domains across 16 dimensions, including technical capabilities, environment adaptability, and user experience factors, on 3 representative web vulnerabilities. Based on the results, we select three top-performing agents (OpenHands, SWE-agent, and CAI) for in-depth evaluation on our benchmark dataset of 80 real-world CVEs spanning 7 vulnerability types and 6 web technologies. Our results reveal that while LLM agents achieve reasonable success on simple library-based vulnerabilities, they consistently fail on complex service-based vulnerabilities requiring multi-component environments. Complex environment configurations and authentication barriers create a gap where agents can execute exploit code but fail to trigger actual vulnerabilities. We observe high sensitivity to input guidance, with performance degrading by over 33% under incomplete authentication information. Our findings highlight the significant gap between current LLM agent capabilities and the demands of reliable automated vulnerability reproduction, emphasizing the need for advances in environmental adaptation and autonomous problem-solving capabilities.
TPSQLi: Test Prioritization for SQL Injection Vulnerability Detection in Web Applications
National Taiwan University(台湾大学);CyberLink Corporation(网路家庭资讯事业股份有限公司);National Yang Ming Chiao Tung University(国立阳明交通大学);National Dong Hwa University(国立东华大学)
AutoVulnPHP: LLM-Powered Two-Stage PHP Vulnerability Detection and Automated Localization
Beijing Electronic Science and Technology Institute(北京电子科技学院);Nankai University(南开大学);The 15th Research Institute of China Electronics Technology Group Corporation(中国电子科技集团公司第十五研究所)
Automated Exploit and Security Test Generation: A Systematic Literature Review
Hamburg University of Technology(汉堡工业大学);University of Trento(特伦托大学);University of Szeged(塞格德大学);University of Salerno(萨莱诺大学);FrontEndART Ltd.(FrontEndART有限公司);Vrije Universitiet Amsterdam(阿姆斯特丹自由大学)