arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.14700cs.SEcs.CR
收藏

LLM 智能体用于自动化 Web 漏洞复现:我们做到了吗?

LLM Agents for Automated Web Vulnerability Reproduction: Are We There Yet?

Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Huazhong University of Science and Technology(华中科技大学)

Bin Liu, Yanjie Zhao, Guoai Xu, Haoyu Wang

AI总结:

本文首次全面评估20个LLM智能体在80个真实CVE上的Web漏洞复现能力,发现其在复杂服务型漏洞上失败,性能受输入指导影响超33%,凸显环境适应与自主求解能力的不足。

摘要:

大语言模型(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑