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

AIBugHunter:一个用于预测、分类和修复软件漏洞的实用工具

AIBugHunter: A Practical Tool for Predicting, Classifying and Repairing Software Vulnerabilities

Michael Fu, Chakkrit Tantithamthavorn, Trung Le, Yuki Kume, Van Nguyen, Dinh Phung, John Grundy

AI总结:

AIBugHunter 是一个集成到 VS Code 的 ML 漏洞分析工具,通过多目标优化分类和 Transformer 估计实现实时漏洞检测、分类、严重性评估与修复建议,并在 188K+ 函数数据集和用户研究中验证了其准确性与实用性。

摘要:

许多基于机器学习的方法已被提出用于自动检测、定位和修复软件漏洞。虽然基于机器学习的方法比基于程序分析的漏洞分析工具更有效,但很少有方法被集成到现代集成开发环境(IDE)中,这阻碍了其实际应用。为了弥合这一关键差距,我们提出了 AIBugHunter,这是一种新颖的基于机器学习的 C/C++ 语言软件漏洞分析工具,已集成到 Visual Studio Code 中。AIBugHunter 帮助软件开发人员在编程过程中实现实时的漏洞检测、解释和修复。具体而言,AIBugHunter 扫描开发人员的源代码,以(1)定位漏洞,(2)识别漏洞类型,(3)估计漏洞严重程度,以及(4)建议漏洞修复方案。在本文中,我们提出了一种新颖的基于多目标优化(MOO)的漏洞分类方法和一种基于 Transformer 的估计方法,以帮助 AIBugHunter 准确识别漏洞类型并估计严重程度。我们在一个包含 188K+ 个 C/C++ 函数的大型数据集上进行的实证实验证实,我们提出的方法在漏洞分类和估计方面比其他最先进的基线方法更准确。此外,我们进行了定性评估,包括一项问卷调查和一项用户研究,以了解软件从业者对我们 AIBugHunter 工具的看法,并评估 AIBugHunter 在安全方面可能对开发人员生产力产生的影响。我们的问卷调查显示,我们的 AIBugHunter 被认为是有用的,90% 的参与者考虑采用我们的 AIBugHunter。最后但同样重要的是,我们的用户研究表明,我们的 AIBugHunter 有可能提高开发人员在软件开发过程中应对网络安全问题的生产力。

英文摘要:

Many ML-based approaches have been proposed to automatically detect, localize, and repair software vulnerabilities. While ML-based methods are more effective than program analysis-based vulnerability analysis tools, few have been integrated into modern IDEs, hindering practical adoption. To bridge this critical gap, we propose AIBugHunter, a novel ML-based software vulnerability analysis tool for C/C++ languages that is integrated into Visual Studio Code. AIBugHunter helps software developers to achieve real-time vulnerability detection, explanation, and repairs during programming. In particular, AIBugHunter scans through developers' source code to (1) locate vulnerabilities, (2) identify vulnerability types, (3) estimate vulnerability severity, and (4) suggest vulnerability repairs. In this article, we propose a novel multi-objective optimization (MOO)-based vulnerability classification approach and a transformer-based estimation approach to help AIBugHunter accurately identify vulnerability types and estimate severity. Our empirical experiments on a large dataset consisting of 188K+ C/C++ functions confirm that our proposed approaches are more accurate than other state-of-the-art baseline methods for vulnerability classification and estimation. Furthermore, we conduct qualitative evaluations including a survey study and a user study to obtain software practitioners' perceptions of our AIBugHunter tool and assess the impact that AIBugHunter may have on developers' productivity in security aspects. Our survey study shows that our AIBugHunter is perceived as useful where 90% of the participants consider adopting our AIBugHunter. Last but not least, our user study shows that our AIBugHunter could possibly enhance developers' productivity in combating cybersecurity issues during software development.

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

↑