arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.07624cs.SE
收藏

基于程序分析的LLM代理证明概念生成

Program Analysis Guided LLM Agent for Proof-of-Concept Generation

University of California, Santa Barbara(加州大学圣塔芭芭拉分校)

Achintya Desai, Md Shafiuzzaman, Wenbo Guo, Tevfik Bultan

AI总结:

本文提出PAGENT方法,结合静态和动态分析指导,提升自动化PoC生成成功率,实验显示比现有方法提升132%。

摘要:

软件开发者常需生成可复现漏洞的证明概念(PoC)输入。给定源代码和潜在漏洞位置,自动生成PoC一直是挑战。符号执行和模糊测试需要专家指导和手动步骤,且扩展性差。尽管LLM进展提高了自动化水平,但PoC生成成功率仍较低。本文提出PAGENT,整合轻量静态分析和规则基于的分析,结合sanitizer基于的配置文件和覆盖信息,提供动态分析指导。实验表明,混合方法在PoC生成任务中显著优于现有最佳方法,提升132%。

英文摘要:

Software developers frequently receive vulnerability reports that require them to reproduce the vulnerability in a reliable manner by generating a proof-of-concept (PoC) input that triggers it. Given the source code for a software project and a specific code location for a potential vulnerability, automatically generating a PoC for the given vulnerability has been a challenging research problem. Symbolic execution and fuzzing techniques require expert guidance and manual steps and face scalability challenges for PoC generation. Although recent advances in LLMs have increased the level of automation and scalability, the success rate of PoC generation with LLMs remains quite low. In this paper, we present a novel approach called Program Analysis Guided proof of concept generation agENT (PAGENT) that is scalable and significantly improves the success rate of automated PoC generation compared to prior results. PAGENT integrates lightweight and rule-based static analysis phases for providing static analysis guidance and sanitizer-based profiling and coverage information for providing dynamic analysis guidance with a PoC generation agent. Our experiments demonstrate that the resulting hybrid approach significantly outperforms the prior top-performing agentic approach by 132% for the PoC generation task.

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

↑