Source Code Vulnerability Detection Based on Joint Graph and Multimodal Feature Fusion

被引:0
作者
Jin, Dun [1 ]
He, Chengwan [1 ]
Zou, Quan [1 ]
Qin, Yan [1 ]
Wang, Boshu [1 ]
机构
[1] Wuhan Inst Technol, Sch Comp Sci & Engn, Hubei Key Lab Intelligent Robot, Wuhan 430205, Peoples R China
来源
ELECTRONICS | 2025年 / 14卷 / 05期
关键词
deep learning; vulnerability detection; joint graph; multimodal; feature fusion; FRAMEWORK;
D O I
10.3390/electronics14050975
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Code vulnerability detection is a crucial approach to ensuring software security, aiming to automatically identify potential security vulnerabilities in source code. However, existing static vulnerability detection methods often face challenges such as feature loss and an insufficient expressive power when extracting program features. To address these issues, in this paper, we propose a source code vulnerability detection method based on joint graph and multimodal feature fusion. Innovatively, we construct a joint graph that integrates multiple program dependencies and semantic edges to achieve more comprehensive feature extraction. Additionally, by combining Graph Attention Networks (GATs) with the Transformer architecture, both structural and sequential features of code snippets are captured, further enhancing the model's expressive capabilities. Finally, we introduce pre-fusion and post-fusion strategies to fully integrate multimodal features, thereby improving the accuracy and performance of vulnerability detection. Experimental results on the SARD dataset demonstrate the method's excellent performance in detecting various types of vulnerabilities, achieving an F1 score of 85.20% and an accuracy of 86.50%. On the Real-Vul real-world dataset, the method achieves an F1 score of 73.9% and an accuracy of 86.50%. The detection results exhibit remarkable stability, ensuring a reliable and consistent performance. Overall, the proposed method surpasses the performance of existing mainstream detection approaches.
引用
收藏
页数:20
相关论文
共 50 条
[41]   Multimodal Topic Detection in Social Networks with Graph Fusion [J].
Zhang, Yuhao ;
Song, Kehui ;
Cai, Xiangrui ;
Tuergong, Yierxiati ;
Yuan, Ling ;
Zhang, Ying .
WEB INFORMATION SYSTEMS AND APPLICATIONS (WISA 2021), 2021, 12999 :28-38
[42]   Software Vulnerability Detection Method Based on Code Property Graph and Bi-GRU [J].
Xiao T. ;
Guan J. ;
Jian S. ;
Ren Y. ;
Zhang J. ;
Li B. .
Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2021, 58 (08) :1668-1685
[43]   A Novel Seizure Detection Method Based on the Feature Fusion of Multimodal Physiological Signals [J].
Wu, Duanpo ;
Wei, Jun ;
Vidal, Pierre-Paul ;
Wang, Danping ;
Yuan, Yixuan ;
Cao, Jiuwen ;
Jiang, Tiejia .
IEEE INTERNET OF THINGS JOURNAL, 2024, 11 (16) :27545-27556
[44]   Survey of source code vulnerability analysis based on deep learning [J].
Liang, Chen ;
Wei, Qiang ;
Du, Jiang ;
Wang, Yisen ;
Jiang, Zirui .
COMPUTERS & SECURITY, 2025, 148
[45]   Combining Graph-Based Learning With Automated Data Collection for Code Vulnerability Detection [J].
Wang, Huanting ;
Ye, Guixin ;
Tang, Zhanyong ;
Tan, Shin Hwei ;
Huang, Songfang ;
Fang, Dingyi ;
Feng, Yansong ;
Bian, Lizhong ;
Wang, Zheng .
IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2021, 16 :1943-1958
[46]   Vulnerability Detection for Source Code Using Contextual LSTM [J].
Xu, Aidong ;
Dai, Tao ;
Chen, Huajun ;
Ming, Zhe ;
Li, Weining .
2018 5TH INTERNATIONAL CONFERENCE ON SYSTEMS AND INFORMATICS (ICSAI), 2018, :1225-1230
[47]   Vulnsense: efficient vulnerability detection in ethereum smart contracts by multimodal learning with graph neural network and language model [J].
Duy, Phan The ;
Khoa, Nghi Hoang ;
Quyen, Nguyen Huu ;
Trinh, Le Cong ;
Kien, Vu Trung ;
Hoang, Trinh Minh ;
Pham, Van-Hau .
INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2025, 24 (01)
[48]   Multimodal Hierarchical CNN Feature Fusion for Stress Detection [J].
Kuttala, Radhika ;
Subramanian, Ramanathan ;
Oruganti, Venkata Ramana Murthy .
IEEE ACCESS, 2023, 11 :6867-6878
[49]   Joint Detection and Matching of Feature Points in Multimodal Images [J].
Ben Baruch, Elad ;
Keller, Yosi .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2022, 44 (10) :6585-6593
[50]   Driver Drowsiness Detection based on Multimodal using Fusion of Visual-feature and Bio-signal [J].
Choi, Hyung-Tak ;
Back, Moon-Ki ;
Lee, Kyu-Chul .
2018 INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY CONVERGENCE (ICTC), 2018, :1249-1251