paperbot · PL 论文追踪

全部论文 待读 收藏

P1 AutoReview: An LLM-based Multi-Agent System for Security Issue-Oriented Code Review

AutoReview:面向安全问题的基于 LLM 多智能体代码审查系统
FSE Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering2025匹配度 6/10 · 论文将 LLM 多智能体系统应用于安全代码审查,涉及漏洞检测、定位与修复,与“利用 LLM/Agent 改进静态分析/程序分析”方向部分相关,且结合了图基代码切片等程序分析技术;但未涉及浮点或贝叶斯程序分析,更偏向安全应用而非静态分析理论或工具本身的改进。引用 1 inbox
Yujia Chen
crossref: 2026-09-12

AI 速览

一句话:提出三智能体 LLM 系统 AutoReview,实现漏洞检测、定位与修复的安全代码审查。

软件漏洞可能造成数据泄露、经济损失与服务中断,因此面向安全问题的代码审查至关重要。传统方法难以分析复杂代码并给出解释,而现有大语言模型虽在代码审查中展现潜力,却未聚焦安全问题。本文提出 AutoReview——一个基于 LLM 的多智能体安全代码审查系统,包含三个智能体:Issue Detector 利用知识级检索增强生成识别潜在漏洞;Issue Locator 通过基于图的代码切片精确定位漏洞位置;Issue Repairer 借助迭代验证生成上下文感知的修复方案。作者在 ReposVul 数据集上使用三个代码 LLM 进行评估,结果显示 AutoReview 在安全代码审查中效果显著:检测 F1 值提升 18.72%,定位精确率提升 27.75%,修复 BLEU 提升 14.82%。

问题
安全导向的代码审查需要同时完成漏洞检测、定位与修复,传统方法难以处理复杂代码并缺乏解释,现有 LLM 方法又未聚焦安全问题。
方法
构建 LLM 多智能体系统 AutoReview,分别用知识级 RAG 检测漏洞、图代码切片定位漏洞、迭代验证生成修复补丁。
评估
在 ReposVul 数据集上使用三个代码 LLM 进行实验,与基线相比检测 F1、定位精确率与修复 BLEU 均有显著提升。
原文摘要(Abstract)

Software vulnerabilities can lead to severe security issues such as data breaches, financial losses, and service disruptions, making security issue-oriented code review a crucial part of the development process. Traditional approaches struggle with analyzing complex code and providing explanations, while large language models (LLMs) show promise in code review but do not focus on security-related issues. To address these limitations, we propose AutoReview, an LLM-based multi-agent system for security code review. It integrates three agents: (1) Issue Detector identifying potential vulnerabilities using knowledge-level retrieval-augmented generation, (2) Issue Locator pinpoints the vulnerability positions through graph-based code slicing, and (3) Issue Repairer generating context-aware fixes via iterative verification. Evaluated on ReposVul with three code LLMs, AutoReview greatly demonstrates its effectiveness in security code reviews, improving F1-score for detection by 18.72%, precision for location by 27.75%, and BLEU for repair by 14.82% over baselines.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot9126,
  title = {AutoReview: An LLM-based Multi-Agent System for Security Issue-Oriented Code Review},
  author = {Yujia Chen},
  booktitle = {FSE},
  year = {2025},
  doi = {10.1145/3696630.3728618}
}