Automated Vulnerability Detection in Source Code Using Deep Representation Learning
By Rebecca L. Russell, Louis Y. Kim, Lei H. Hamilton, Tomo Lazovich, Jacob A. Harer, Onur Ozdemir, Paul M. Ellingwood, M. McConley. 2018
695 citations recorded by the source corpus.
Increasing numbers of software vulnerabilities are discovered every year whether they are reported publicly or discovered internally in proprietary code. These vulnerabilities can pose serious risk of exploit and result in system compromise, information leaks, or denial of service. We leveraged the wealth of C and C++ open-source code available to develop a largescale function-level vulnerability detection system using machine learning. To supplement existing labeled vulnerability datasets, we compiled a vast dataset of millions of open-source functions and labeled it with carefully-selected findings from three different static analyzers that indicate potential exploits. Using these datasets, we developed a fast and scalable vulnerability detection tool based on deep feature representation learning that directly interprets lexed source code. We evaluated our tool on code from both real software packages and the NIST SATE IV benchmark dataset. Our results demonstrate that deep feature representation learning on source code is a promising approach for automated software vulnerability detection.
Subfields: Information Systems, Software, Representation & Self-Supervised Learning, Program Analysis & Verification, Signal Processing
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Information Systems
- Shaohua Wang
- Yi Li
- Tien Nhut Nguyen
- Chakkrit Kla Tantithamthavorn
- Michael Fu
- Xinyun Chen
- Baishakhi Ray
- Saikat Chakraborty
In Software
- Chakkrit Kla Tantithamthavorn
- Michael Fu
- Shaohua Wang
- Yi Li
- Tien Nhut Nguyen
- Yangruibo Ding
- Baishakhi Ray
- Wasi Uddin Ahmad
In Representation & Self-Supervised Learning
- Xinyun Chen
- Sheng Wen
- Qing-Long Han
- Yangruibo Ding
- Guanjun Lin
- David A. Wagner
- Shaohua Wang
- Jesús Martínez del Rincón
In Program Analysis & Verification
- Chakkrit Kla Tantithamthavorn
- Michael Fu
- Tien Nhut Nguyen
- Shaohua Wang
- Yi Li
- Xinyun Chen
- Yangruibo Ding
- Baishakhi Ray
In Signal Processing
- Xinyun Chen
- Sheng Wen
- Yangruibo Ding
- Shaohua Wang
- Tien Nhut Nguyen
- Kai-Wei Chang
- Baishakhi Ray
- Jun Zhang
Citations in the corpus
- Unified Pre-training for Program Understanding and Generation (2021, background): “, 2020), Bug Detection (Ray et al., 2016; Li et al., 2018b; Russell et al., 2018; Zhou et al., 2019; Chakraborty et al., 2020), Program Repair (Chen et al.”
- A C/C++ Code Vulnerability Dataset with Code Changes and CVE Summaries (2020, methodology): “Recently, the detection of security vulnerabilities has been a crucial topic of interest to the research community [3, 4, 7, 10, 11].”
- CVEfixes: automated collection of vulnerabilities and their fixes from open-source software (2021, methodology): “Similarly, Draper’s VDISC dataset [7] consists of C/C++ source code of 1.”
- Software Vulnerability Detection Using Deep Neural Networks: A Survey (2020, methodology): “A similar approach that applied the CNN for function-level vulnerability detection was developed in [86].”
- LineVul: A Transformer-based Line-Level Vulnerability Prediction (2022, methodology): “[43], VulDeePecker [33], and BoW+RF), and evaluated on both coarse-grained (i.”
- Lucid: A Practical, Lightweight Deep Learning Solution for DDoS Attack Detection (2020, background): “code analysis [18], network traffic analysis [4], [19]–[21] and intrusion detection in industrial control systems [22].”
- Deep Learning Based Vulnerability Detection: Are We There Yet? (2020, methodology): “[5], and Devign [31], where we classify the function.”
- Vulnerability detection with fine-grained interpretations (2021, methodology): “[28]: this DL approach encodes source code as matrices of code tokens and leverages convolution model with random forest (RF) via ensemble classifier.”
- DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection (2023, methodology): “Static Analyzer Labels: The Draper [24] dataset generated labels by selecting the alert categories from three static analyzers: Clang, Cppcheck, and Flawfinder.”