Text Filtering and Ranking for Security Bug Report Prediction
- 27 December 2017
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 45 (6) , 615-631
Abstract
Security bug reports can describe security critical vulnerabilities in software. Bug tracking systems may contain thousands of bug reports, where relatively few of them are security related. Therefore finding unlabelled security bugs among them can be challenging. To help security engineers identify these reports quickly and accurately, text-based prediction models have been proposed. These can often mislabel security bug reports due to a number of reasons such as class imbalance, where the ratio of non-security to security bug reports is very high. More critically, we have observed that the presence of security related keywords in both security and non-security bug reports can lead to the mislabelling of security bug reports. This paper proposes FARSEC, a framework for filtering and ranking bug reports for reducing the presence of security related keywords. Before building prediction models, our framework identifies and removes non-security bug reports with security related keywords. We demonstrate that FARSEC improves the performance of text-based prediction models for security bug reports in 90% of cases. Specifically, we evaluate it with 45,940 bug reports from Chromium and four Apache projects. With our framework, we mitigate the class imbalance issue and reduce the number mislabelled security bug reports by 38%.Keywords
Funding Information
- Science Foundation Ireland (13/RC/2094)
- H2020 European Research Council (291652 - ASAP)
- EPSRC
This publication has 41 references indexed in Scilit:
- Transfer learning for cross-company software defect predictionInformation and Software Technology, 2012
- Can traditional fault prediction models be used for vulnerability prediction?Empirical Software Engineering, 2011
- An investigation on the feasibility of cross-project defect predictionAutomated Software Engineering, 2011
- The WEKA data mining softwareACM SIGKDD Explorations Newsletter, 2009
- On the relative value of cross-company and within-company data for defect predictionEmpirical Software Engineering, 2009
- Techniques for evaluating fault prediction modelsEmpirical Software Engineering, 2008
- Do too many cooks spoil the broth? Using the number of developers to enhance defect prediction modelsEmpirical Software Engineering, 2008
- Stacked generalizationNeural Networks, 1992
- Algorithm 64: QuicksortCommunications of the ACM, 1961
- On a Test of Whether one of Two Random Variables is Stochastically Larger than the OtherThe Annals of Mathematical Statistics, 1947