Combining Graph-Based Learning With Automated Data Collection for Code Vulnerability Detection
Top Cited Papers
- 14 December 2020
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 16 (15566013) , 1943-1958
Abstract
This paper presents FUNDED (Flow-sensitive vUl-Nerability coDE Detection), a novel learning framework for building vulnerability detection models. Funded leverages the advances in graph neural networks (GNNs) to develop a novel graph-based learning method to capture and reason about the program's control, data, and call dependencies. Unlike prior work that treats the program as a sequential sequence or an untyped graph, Funded learns and operates on a graph representation of the program source code, in which individual statements are connected to other statements through relational edges. By capturing the program syntax, semantics and flows, Funded finds better code representation for the downstream software vulnerability detection task. To provide sufficient training data to build an effective deep learning model, we combine probabilistic learning and statistical assessments to automatically gather high-quality training samples from open-source projects. This provides many real-life vulnerable code training samples to complement the limited vulnerable code samples available in standard vulnerability databases. We apply Funded to identify software vulnerabilities at the function level from program source code. We evaluate Funded on large real-world datasets with programs written in C, Java, Swift and Php, and compare it against six state-of-the-art code vulnerability detection models. Experimental results show that Funded significantly outperforms alternative approaches across evaluation settings.Keywords
Funding Information
- National Natural Science Foundation of China (61972314, 61672427, 61872294)
- International Cooperation Projects of Shaanxi Province (2019KW-009, 2020KWZ-013)
- Ant Financial Science
- Alibaba Innovative Research Program
This publication has 50 references indexed in Scilit:
- Combining Deep Learning with Information Retrieval to Localize Buggy Files for Bug Reports (N)2015
- VCCFinder2015
- Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation2014
- Symbolic execution for software testingCommunications of the ACM, 2013
- PyCP: An Open-Source Conformal Predictions Toolkit2013
- Transfer Learning2010
- Long Short-Term MemoryNeural Computation, 1997
- On the definition of speedup1994
- Adaptive Mixtures of Local ExpertsNeural Computation, 1991
- Dependence graphs and compiler optimizations1981