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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Estimating Software Vulnerabilities from Git Project Open Source: A Machine Learning Approach

Lindung Parningotan Manik, Muhidin Muhidin, Fadlan Hamid Alfebi, Ady Hermawan et al.
Software Reliability and Analysis Research
article

Estimating Software Vulnerabilities from Git Project Open Source: A Machine Learning Approach

Lindung Parningotan Manik, Muhidin Muhidin, Fadlan Hamid Alfebi, Ady Hermawan, Denada Ragil Adimas, Kartika Puspita, Happid Ridwan Ilmi, Mery Oktaviyanti Puspitaningtyas, Yulita Ayu Wardani
article en

Abstract

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.

Universitas Katolik Widya Mandira (ID)
Openalex Percentile: Top 83%
Software Reliability and Analysis Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.