Back to Search
Start Over
Vulnerability Prediction From Source Code Using Machine Learning
- Source :
- IEEE Access, Vol 8, Pp 150672-150684 (2020)
- Publication Year :
- 2020
- Publisher :
- Institute of Electrical and Electronics Engineers (IEEE), 2020.
-
Abstract
- As the role of information and communication technologies gradually increases in our lives, software security becomes a major issue to provide protection against malicious attempts and to avoid ending up with noncompensable damages to the system. With the advent of data-driven techniques, there is now a growing interest in how to leverage machine learning (ML) as a software assurance method to build trustworthy software systems. In this study, we examine how to predict software vulnerabilities from source code by employing ML prior to their release. To this end, we develop a source code representation method that enables us to perform intelligent analysis on the Abstract Syntax Tree (AST) form of source code and then investigate whether ML can distinguish vulnerable and nonvulnerable code fragments. To make a comprehensive performance evaluation, we use a public dataset that contains a large amount of function-level real source code parts mined from open-source projects and carefully labeled according to the type of vulnerability if they have any.We show the effectiveness of our proposed method for vulnerability prediction from source code by carrying out exhaustive and realistic experiments under different regimes in comparison with state-of-art methods.
- Subjects :
- source code
Source code
General Computer Science
Computer science
media_common.quotation_subject
Vulnerability
Machine learning
computer.software_genre
Software
Code (cryptography)
Leverage (statistics)
General Materials Science
AST
media_common
business.industry
General Engineering
vulnerability prediction
machine learning
Software security assurance
lcsh:Electrical engineering. Electronics. Nuclear engineering
Artificial intelligence
business
Abstract syntax tree
lcsh:TK1-9971
computer
Software assurance
Subjects
Details
- ISSN :
- 21693536
- Volume :
- 8
- Database :
- OpenAIRE
- Journal :
- IEEE Access
- Accession number :
- edsair.doi.dedup.....2fe34e9e3723f7e748076ca7cc109fd5
- Full Text :
- https://doi.org/10.1109/access.2020.3016774