paperbot · PL 论文追踪

全部论文 待读 收藏

P2 VulRepair: a T5-based automated software vulnerability repair

VulRepair:一种基于T5的自动化软件漏洞修复方法
FSE Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2022匹配度 2/10 · 该论文属于基于T5的自动漏洞修复,属于PL+ML的宽泛邻近领域,但未涉及用户核心关注的静态分析、Agentic程序分析、浮点程序分析、贝叶斯程序分析,也未将LLM/Agent用于改进静态分析或形式化验证。引用 199 inbox
Michael Fu, Chakkrit Tantithamthavorn, Trung Le, Van Nguyen, Dinh Phung
crossref: 2026-09-12

AI 速览

一句话:提出基于T5的漏洞修复方法VulRepair,利用预训练和BPE提升自动修复准确率。

软件漏洞数量与复杂度不断增长,现有AI方法多用于发现和定位漏洞,但漏洞函数的手工修复仍耗费大量安全分析师精力。已有基于NMT的自动漏洞修复效果有限。本文提出VulRepair,一种基于T5的自动化软件漏洞修复方法,借助预训练和BPE组件克服前人技术限制。作者在来自1,754个真实软件项目的8,482个漏洞修复上开展实验,取得44%的Perfect Prediction,比竞争基线高13%–21%;并在1,706个知名真实漏洞中成功修复745个(如Use After Free、Improper Input Validation、OS Command Injection),表明其可生成有效漏洞修复,减轻安全分析师负担。

问题
如何自动修复软件漏洞函数,减少安全分析师手工修复成本,并克服已有NMT方法的技术限制。
方法
提出VulRepair,基于T5预训练模型并利用BPE组件进行自动化软件漏洞修复。
评估
在1,754个真实项目、8,482个漏洞修复上开展实验,并与竞争基线比较;还在1,706个知名真实漏洞上测试修复效果。
原文摘要(Abstract)

As software vulnerabilities grow in volume and complexity, researchers proposed various Artificial Intelligence (AI)-based approaches to help under-resourced security analysts to find, detect, and localize vulnerabilities. However, security analysts still have to spend a huge amount of effort to manually fix or repair such vulnerable functions. Recent work proposed an NMT-based Automated Vulnerability Repair, but it is still far from perfect due to various limitations. In this paper, we propose VulRepair, a T5-based automated software vulnerability repair approach that leverages the pre-training and BPE components to address various technical limitations of prior work. Through an extensive experiment with over 8,482 vulnerability fixes from 1,754 real-world software projects, we find that our VulRepair achieves a Perfect Prediction of 44%, which is 13%-21% more accurate than competitive baseline approaches. These results lead us to conclude that our VulRepair is considerably more accurate than two baseline approaches, highlighting the substantial advancement of NMT-based Automated Vulnerability Repairs. Our additional investigation also shows that our VulRepair can accurately repair as many as 745 out of 1,706 real-world well-known vulnerabilities (e.g., Use After Free, Improper Input Validation, OS Command Injection), demonstrating the practicality and significance of our VulRepair for generating vulnerability repairs, helping under-resourced security analysts on fixing vulnerabilities.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot7050,
  title = {VulRepair: a T5-based automated software vulnerability repair},
  author = {Michael Fu and Chakkrit Tantithamthavorn and Trung Le and Van Nguyen and Dinh Phung},
  booktitle = {FSE},
  year = {2022},
  doi = {10.1145/3540250.3549098}
}