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

通过分析 GitHub Issues 自动化检测代码漏洞

Automating the Detection of Code Vulnerabilities by Analyzing GitHub Issues

RISE AB;Delft University of Technology(代尔夫特理工大学);KTH Royal Institute of Technology(皇家理工学院(KTH));Red Hat(红帽公司)

Daniele Cipollone, Changjie Wang, Mariano Scazzariello, Simone Ferlin, Maliheh Izadi, Dejan Kostic, Marco Chiesa

AI总结:

本文提出利用基于 transformer 的模型分析 GitHub issues 以自动识别软件漏洞,构建专用分类数据集并评估多种分类技术,提供可扩展、高效的早期漏洞检测框架。

摘要:

在当今的数字环境中,及时、准确地检测漏洞的重要性已显著提升。本文提出一种新颖方法,利用基于 transformer 的模型和机器学习技术,通过分析 GitHub issues 来自动化识别软件漏洞。我们引入了一个新数据集,专门用于对与漏洞检测相关的 GitHub issues 进行分类。随后,我们考察了多种分类技术,以确定它们的有效性。结果证明了该方法在早期漏洞检测的实际应用中的潜力,这可能大幅缩短软件漏洞可被利用的时间窗口。本研究通过提供一个可扩展且计算高效的自动化检测框架,为该领域作出了关键贡献,使得在官方通知发布之前阻止使用已遭入侵的软件成为可能。这项工作有望增强开源软件生态系统的安全性。

英文摘要:

In today's digital landscape, the importance of timely and accurate vulnerability detection has significantly increased. This paper presents a novel approach that leverages transformer-based models and machine learning techniques to automate the identification of software vulnerabilities by analyzing GitHub issues. We introduce a new dataset specifically designed for classifying GitHub issues relevant to vulnerability detection. We then examine various classification techniques to determine their effectiveness. The results demonstrate the potential of this approach for real-world application in early vulnerability detection, which could substantially reduce the window of exploitation for software vulnerabilities. This research makes a key contribution to the field by providing a scalable and computationally efficient framework for automated detection, enabling the prevention of compromised software usage before official notifications. This work has the potential to enhance the security of open-source software ecosystems.

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

↑