Estimating Software Vulnerabilities from Git Project Open Source: A Machine Learning Approach
This study investigates the use of machine learning, specifically linear regression, to estimate software vulnerabilities in open-source GitHub projects. A dataset comprising 30 PHP projects was developed through static analysis to generate 53 features, including metrics related to the size and complexity of the codebase. Feature selection was performed using Pearson correlation, with features exhibiting a correlation above 0.75 with the target variable being included in the model. The study highlights the importance of the number of paths and executable statements in predicting vulnerabilities, suggesting that the complexity of execution paths and the number of executable statements significantly influence the presence of software vulnerabilities. The model’s performance was evaluated using Mean Squared Error (MSE) and R-squared metrics, with improvements observed following hyperparameter tuning and regularization.
Authors
- Lindung Parningotan Manik (ORCID: https://orcid.org/0000-0001-8637-2881)
- Muhidin Muhidin (ORCID: https://orcid.org/0000-0003-4030-8758)
- Fadlan Hamid Alfebi
- Ady Hermawan
- Denada Ragil Adimas
- Kartika Puspita
- Happid Ridwan Ilmi
- Mery Oktaviyanti Puspitaningtyas
- Yulita Ayu Wardani
Institutions
- Universitas Katolik Widya Mandira (ID)
Publication Details
- Published
- 2024-09-05
- DOI
- https://doi.org/10.1109/icitri62858.2024.10699087
- Primary Topic
- Software Reliability and Analysis Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00