Automatic Feature Learning for Predicting Vulnerable Software Components
Top Cited Papers
- 18 November 2018
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 47 (1) , 67-85
Abstract
Code flaws or vulnerabilities are prevalent in software systems and can potentially cause a variety of problems including deadlock, hacking, information loss and system failure. A variety of approaches have been developed to try and detect the most likely locations of such code vulnerabilities in large code bases. Most of them rely on manually designing code features (e.g., complexity metrics or frequencies of code tokens) that represent the characteristics of the potentially problematic code to locate. However, all suffer from challenges in sufficiently capturing both semantic and syntactic representation of source code, an important capability for building accurate prediction models. In this paper, we describe a new approach, built upon the powerful deep learning Long Short Term Memory model, to automatically learn both semantic and syntactic features of code. Our evaluation on 18 Android applications and the Firefox application demonstrates that the prediction power obtained from our learned features is better than what is achieved by state of the art vulnerability prediction models, for both within-project prediction and cross-project prediction.Keywords
Funding Information
- Samsung (2016 Global Research Outreach Program)
This publication has 43 references indexed in Scilit:
- An Empirical Methodology to Evaluate Vulnerability Discovery ModelsIEEE Transactions on Software Engineering, 2014
- Predicting Vulnerable Software Components via Text MiningIEEE Transactions on Software Engineering, 2014
- A Hitchhiker's guide to statistical tests for assessing randomized algorithms in software engineeringSoftware Testing, Verification and Reliability, 2012
- Can traditional fault prediction models be used for vulnerability prediction?Empirical Software Engineering, 2011
- Evaluating defect prediction approaches: a benchmark and an extensive comparisonEmpirical Software Engineering, 2011
- Using complexity, coupling, and cohesion metrics as early indicators of vulnerabilitiesJournal of Systems Architecture, 2011
- A systematic review of software fault prediction studiesExpert Systems with Applications, 2009
- Reducing the Dimensionality of Data with Neural NetworksScience, 2006
- Learning to Forget: Continual Prediction with LSTMNeural Computation, 2000
- Long Short-Term MemoryNeural Computation, 1997