paper-with-me

Papers

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

2023-04-01 · Yizheng Chen, Zhoujie Ding, Lamya Alowain, Xinyun Chen, David Wagner

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.

📄 PDF Abstract BibTeX arXiv:2304.00409

Code (1)

wagner-group/diversevul 공식 구현

Tasks

Deep LearningFeature EngineeringVulnerability Detection

Similar Papers 제목 키워드 기반

Evaluating LLaMA 3.2 for Software Vulnerability Detection

2025-03-10 · José Gonçalves, Miguel Silva, Bernardo Cabral, Tiago Dias 외

Deep Learning (DL) has emerged as a powerful tool for vulnerability detection, often outperforming traditional solutions. However, developing effective DL models requires large amounts of real-world data, which can be di…

Language ModelingLanguage ModellingLarge Language ModelVulnerability Detection

Learning Generalizable Multimodal Representations for Software Vulnerability Detection

2026-04-28 · Zeming Dong, Yuejun Guo, Qiang Hu, Yao Zhang 외 arxiv

Source code and its accompanying comments are complementary yet naturally aligned modalities-code encodes structural logic while comments capture developer intent. However, existing vulnerability detection methods mostly…

Vulnerability Detection

VulStyle: A Multi-Modal Pre-Training for Code Stylometry-Augmented Vulnerability Detection

2026-04-29 · Chidera Biringa, Ajmal Abbas, Vishnu Selvaraj, Gokhan Kul arxiv

We present VulStyle, a multi-modal software vulnerability detection model that jointly encodes function-level source code, non-terminal Abstract Syntax Tree (AST) structure, and code stylometry (CStyle) features. Prior w…

Vulnerability Detection

CGP-Tuning: Structure-Aware Soft Prompt Tuning for Code Vulnerability Detection

2025-01-08 · Ruijun Feng, Hammond Pearce, Pietro Liguori, Yulei Sui

Large language models (LLMs) have been proposed as powerful tools for detecting software vulnerabilities, where task-specific fine-tuning is typically employed to provide vulnerability-specific knowledge to the LLMs for …

Computational Efficiencycross-modal alignmentVulnerability Detection

Can Neural Decompilation Assist Vulnerability Prediction on Binary Code?

2024-12-10 · D. Cotroneo, F. C. Grasso, R. Natella, V. Orbinato

Vulnerability prediction is valuable in identifying security issues efficiently, even though it requires the source code of the target software system, which is a restrictive hypothesis. This paper presents an experiment…

Prediction