Predicting Vulnerable Software Components via Text Mining

Abstract

This paper presents an approach based on machine learning to predict which components of a software application contain security vulnerabilities. The approach is based on text mining the source code of the components. Namely, each component is characterized as a series of terms contained in its source code, with the associated frequencies. These features are used to forecast whether each component is likely to contain vulnerabilities. In an exploratory validation with 20 Android applications, we discovered that a dependable prediction model can be built. Such model could be useful to prioritize the validation activities, e.g., to identify the components needing special scrutiny.

Publication
IEEE Transactions on Software Engineering, 40(10), 2014
Avatar
Riccardo Scandariato
Professor

Software security, Privacy, Machine learning for secure development