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

使用语言模型检测软件漏洞

Detecting software vulnerabilities using Language Models

Marwan Omar

摘要:

最近,深度学习技术因其准确识别易受攻击的代码模式的能力而获得了大量关注。然而,当前最先进的深度学习模型,如卷积神经网络(CNN)和长短期记忆(LSTM)需要大量的计算资源。这导致一定程度的开销,使得它们的实现不适合在实时设置中部署。这项研究提出了一种新的基于transformer的漏洞检测框架,简称为VulDetect,这是通过微调预训练的大语言模型,(GPT)的各种基准数据集的脆弱代码。我们的实证研究结果表明,我们的框架是能够识别脆弱的软件代码的准确性高达92.65%。我们提出的技术优于SyseVR和VulDeBERT,这两种最先进的漏洞检测技术

英文摘要:

Recently, deep learning techniques have garnered substantial attention for their ability to identify vulnerable code patterns accurately. However, current state-of-the-art deep learning models, such as Convolutional Neural Networks (CNN), and Long Short-Term Memories (LSTMs) require substantial computational resources. This results in a level of overhead that makes their implementation unfeasible for deployment in realtime settings. This study presents a novel transformer-based vulnerability detection framework, referred to as VulDetect, which is achieved through the fine-tuning of a pre-trained large language model, (GPT) on various benchmark datasets of vulnerable code. Our empirical findings indicate that our framework is capable of identifying vulnerable software code with an accuracy of up to 92.65%. Our proposed technique outperforms SyseVR and VulDeBERT, two state-of-the-art vulnerability detection techniques

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

↑