EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

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

Dun Jin, Chengwan He, Quan Zou, Yan Qin, Boshu Wang

Electronics · 28.02.2025 · 14 (5) · 975

DOI: 10.3390/electronics14050975 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Electronics, online erschienen am 28.02.2025. Verfasst von Dun Jin und 4 weiteren Autor:innen. Die Arbeit wurde bisher 16-mal zitiert (Crossref) und nennt 33 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: 16th Graduate Education Innovation Fund of Wuhan Institute of Technology.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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.

Förderung

  • 16th Graduate Education Innovation Fund of Wuhan Institute of Technology

Zitieren

APA

Jin, D., He, C., Zou, Q., Qin, Y., & Wang, B. (2025). Source Code Vulnerability Detection Based on Joint Graph and Multimodal Feature Fusion. Electronics, 14(5), 975. https://doi.org/10.3390/electronics14050975

Vancouver

Jin D, He C, Zou Q, Qin Y, Wang B. Source Code Vulnerability Detection Based on Joint Graph and Multimodal Feature Fusion. Electronics. 2025;14(5):975. doi:10.3390/electronics14050975

BibTeX
@article{Jin2025,
  author = {Jin, Dun and He, Chengwan and Zou, Quan and Qin, Yan and Wang, Boshu},
  title = {Source Code Vulnerability Detection Based on Joint Graph and Multimodal Feature Fusion},
  journal = {Electronics},
  year = {2025},
  volume = {14},
  number = {5},
  pages = {975},
  doi = {10.3390/electronics14050975}
}
Kostenlos starten →