Detecting software vulnerabilities using deep learning

Developing successful of software projects is always a top concern for organizations and enterprises.Among these concerns, ensuring software quality is the highest priority throughout the entire development and operation process.This paper addresses the detection of source code vulnerabilities and focuses on analyzing the syntax and semantics of statements within the source code.The source code vulnerability detection model follows a structured process: (i) syntactic and semantic representation; (ii) feature extraction from source code; (iii) data balancing; and (iv) source code classification.The model's output indicates whether the source code is normal or contains vulnerabilities.The model is trained using the SART dataset and incorporates deep learning approaches.Specifically, it employs the BERT model, the Word2Vec model combined with LSTM, and the Word2Vec model with BiLSTM across three scenarios.Classification results are passed through a softmax function to generate a vector containing the probability predictions for each type of vulnerability.The detection model achieves an accuracy rate of up to 82.63% for identifying source code vulnerabilities, with a corresponding omission rate of only 17.37%.This result is considered acceptable and demonstrates the superior effectiveness of the approach in the task of source code vulnerability detection

Authors

Publication Details

Journal
Ministry of Science and Technology Vietnam
Published
2024-12-03
DOI
https://doi.org/10.31276/vjst.2024.0019
Citations
1
Primary Topic
Software Reliability and Analysis Research
Type
article
Field-Weighted Citation Impact
0.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detecting software vulnerabilities using deep learning

Phuong Anh Nguyen, Tam Vu, Duy Vu, Van Bui
1 citations
Ministry of Science and Technology Vietnam
Software Reliability and Analysis Research
0.49
article

Detecting software vulnerabilities using deep learning

Phuong Anh Nguyen, Tam Vu, Duy Vu, Van Bui
article en
1 citations

Abstract

Developing successful of software projects is always a top concern for organizations and enterprises.Among these concerns, ensuring software quality is the highest priority throughout the entire development and operation process.This paper addresses the detection of source code vulnerabilities and focuses on analyzing the syntax and semantics of statements within the source code.The source code vulnerability detection model follows a structured process: (i) syntactic and semantic representation; (ii) feature extraction from source code; (iii) data balancing; and (iv) source code classification.The model's output indicates whether the source code is normal or contains vulnerabilities.The model is trained using the SART dataset and incorporates deep learning approaches.Specifically, it employs the BERT model, the Word2Vec model combined with LSTM, and the Word2Vec model with BiLSTM across three scenarios.Classification results are passed through a softmax function to generate a vector containing the probability predictions for each type of vulnerability.The detection model achieves an accuracy rate of up to 82.63% for identifying source code vulnerabilities, with a corresponding omission rate of only 17.37%.This result is considered acceptable and demonstrates the superior effectiveness of the approach in the task of source code vulnerability detection

Ministry of Science and Technology VietnamVol. online first
Reduced inequalities
Openalex Percentile: Top 28%
Software Reliability and Analysis Research
0.49
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.