跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:2304.00409 (cs)
[提交于 2023年8月10日]

标题:DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection

作者:Yizheng Chen, Zhoujie Ding, Lamya Alowain, Xinyun Chen, David Wagner
查看论文《DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:We propose and release a new vulnerable source code dataset. We curate the dataset by crawling security issue websites, extracting vulnerability-fixing commits and source codes from the corresponding projects. Our new dataset contains 18,945 vulnerable functions spanning 150 CWEs and 330,492 non-vulnerable functions extracted from 7,514 commits. Our dataset covers 295 more projects than all previous datasets combined. Combining our new dataset with previous datasets, we present an analysis of the challenges and promising research directions of using deep learning for detecting software vulnerabilities. We study 11 model architectures belonging to 4 families. Our results show that deep learning is still not ready for vulnerability detection, due to high false positive rate, low F1 score, and difficulty of detecting hard CWEs. In particular, we demonstrate an important generalization challenge for the deployment of deep learning-based models. We show that increasing the volume of training data may not further improve the performance of deep learning models for vulnerability detection, but might be useful to improve the generalization ability to unseen projects. We also identify hopeful future research directions. We demonstrate that large language models (LLMs) are a promising research direction for ML-based vulnerability detection, outperforming Graph Neural Networks (GNNs) with code-structure features in our experiments. Moreover, developing source code specific pre-training objectives is a promising research direction to improve the vulnerability detection performance.
评论: Published at RAID 2023
主题: 密码学与安全 (cs.CR); 人工智能 (cs.AI); 机器学习 (cs.LG); 软件工程 (cs.SE)
引用方式: arXiv:2304.00409 [cs.CR]
  (或者 arXiv:2304.00409v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2304.00409

提交历史

来自:Yizheng Chen
[v1] 2023年8月10日 星期四 00:00:00 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-08
切换浏览方式为:
cs
cs.AI
cs.LG
cs.SE

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站