An Improved Software Source Code Vulnerability Detection Method: Combination of Multi-Feature Screening and Integrated Sampling Model
Sensors · 14.03.2025 · 25 (6) · 1816
DOI: 10.3390/s25061816 ↗Kurz gefasst
Fachartikel in der Zeitschrift Sensors, online erschienen am 14.03.2025. Verfasst von Xin He und 5 weiteren Autor:innen. Beteiligte Einrichtung: College of Computer and Information Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China. Die Arbeit wurde bisher 8-mal zitiert (Crossref) und nennt 55 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Natural Science Foundation of China, Inner Mongolia Autonomous Region Science and Technology Major Special Project, Inner Mongolia Autonomous Region Natural Science Foundation.
Abstract (Originalsprache)
Vulnerability detection in software source code is crucial in ensuring software security. Existing models face challenges with dataset class imbalance and long training times. To address these issues, this paper introduces a multi-feature screening and integrated sampling model (MFISM) to enhance vulnerability detection efficiency and accuracy. The key innovations include (i) utilizing abstract syntax tree (AST) representation of source code to extract potential vulnerability-related features through multiple feature screening techniques; (ii) conducting analysis of variance (ANOVA) and evaluating feature selection techniques to identify representative and discriminative features; (iii) addressing class imbalance by applying an integrated over-sampling strategy to create synthetic samples from vulnerable code to expand the minority class sample size; (iv) employing outlier detection technology to filter out abnormal synthetic samples, ensuring high-quality synthesized samples. The model employs a bidirectional long short-term memory network (Bi-LSTM) to accurately identify vulnerabilities in the source code. Experimental results demonstrate that MFISM improves the F1 score performance by approximately 10% compared to existing DeepBalance methods and reduces the training time to 2–3 h. These results confirm the effectiveness and superiority of MFISM in source code vulnerability detection tasks.
Schlagwörter
Stichwörter der Autor:innen
Autor:innen und Institutionen
- College of Computer and Information Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China.
ORCID-Profile: Xin He, Daoqi Han, Shuncheng Zhou, Honghui Li
Förderung
- National Natural Science Foundation of China
- Inner Mongolia Autonomous Region Science and Technology Major Special Project
- Inner Mongolia Autonomous Region Natural Science Foundation
- Inner Mongolia Autonomous Region Universities and Colleges Innovative Research Team Program
- Basic Research Business Fund for Inner Mongolia Autonomous Region Directly Affiliated Universities
- Collaborative Innovation Projects between Universities and Institutions in Hohhot
Zitieren
APA
He, X., Asiya, Han, D., Zhou, S., Fu, X., & Li, H. (2025). An Improved Software Source Code Vulnerability Detection Method: Combination of Multi-Feature Screening and Integrated Sampling Model. Sensors, 25(6), 1816. https://doi.org/10.3390/s25061816
Vancouver
He X, Asiya, Han D, Zhou S, Fu X, Li H. An Improved Software Source Code Vulnerability Detection Method: Combination of Multi-Feature Screening and Integrated Sampling Model. Sensors. 2025;25(6):1816. doi:10.3390/s25061816
BibTeX
@article{He2025,
author = {He, Xin and Asiya and Han, Daoqi and Zhou, Shuncheng and Fu, Xueliang and Li, Honghui},
title = {An Improved Software Source Code Vulnerability Detection Method: Combination of Multi-Feature Screening and Integrated Sampling Model},
journal = {Sensors},
year = {2025},
volume = {25},
number = {6},
pages = {1816},
doi = {10.3390/s25061816}
}
EUVIMED