• Home
  • Search
  • Go Source Code Vulnerability Detection Method Based on Graph Neural Network
  • Cite Icon1
  • https://doi.org/10.3390/app15126524Copy DOI Icon

Go Source Code Vulnerability Detection Method Based on Graph Neural Network

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

With the widespread application of the Go language, the demand for vulnerability detection in Go programs is increasing. Existing detection models and methods have deficiencies in extracting source code features of Go programs and mainly focus on detecting concurrency vulnerabilities. In response to these issues, we propose a Go program vulnerability detection method based on a graph neural network (GNN). The core of this approach is to utilize GraphSAGE to extract the global structure and deep semantic information of each concurrent function, maximizing the learning of concurrency vulnerability features. To capture contextual information of fine-grained code fragments in source code, we employ taint analysis to extract taint propagation chains and use a Transformer model with a multi-head attention mechanism, based on lexical analysis, to extract fine-grained vulnerability features. We integrate graph-level and token-level features to maximize the detection of various complex types of vulnerabilities in Go source code. Experimental results on a real-world vulnerability dataset demonstrate that our model outperforms existing detection methods and tools, achieving an F1-score of 91.35%. Furthermore, ablation experiments confirm that the proposed feature fusion method effectively extracts deep vulnerability features.

Similar Papers
  • Research Article
  • Citations3

VISION: Robust and Interpretable Code Vulnerability Detection Leveraging Counterfactual Augmentation

  • Oct 15, 2025
  • Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society
  • David Egea +2
  • Research Article
  • Citations219

BGNN4VD: Constructing Bidirectional Graph Neural-Network for Vulnerability Detection

  • Mar 20, 2021
  • Information and Software Technology
  • Sicong Cao +4
  • Conference Article
  • Citations11

A smart contract vulnerability detection model based on graph neural networks

  • Dec 02, 2022
  • Daojun Han +3
  • PDF
  • Research Article
  • Citations22

VulEye: A Novel Graph Neural Network Vulnerability Detection Approach for PHP Application

  • Jan 06, 2023
  • Applied Sciences
  • Chun Lin +3
  • Research Article
  • Citations40

Vulnerability Detection via Multiple-Graph-Based Code Representation

  • Aug 01, 2024
  • IEEE Transactions on Software Engineering
  • Fangcheng Qiu +5
  • Research Article
  • Citations6

A Smart Contract Vulnerability Detection Model Based on Syntactic and Semantic Fusion Learning

  • Feb 03, 2023
  • Wireless Communications and Mobile Computing
  • Daojun Han +3
  • Conference Article

A Multi-Scale Code Representation Framework for Vulnerability Detection

  • Sep 12, 2025
  • Zhihong Liang +3
  • Research Article
  • Citations19

MhaGNN: A Novel Framework for Wearable Sensor-Based Human Activity Recognition Combining Multi-Head Attention and Graph Neural Networks

  • Jan 01, 2023
  • IEEE Transactions on Instrumentation and Measurement
  • Yan Wang +6
  • Research Article
  • Citations2

Position-Sensing Graph Neural Networks: Proactively Learning Nodes Relative Positions.

  • Mar 01, 2025
  • IEEE transactions on neural networks and learning systems
  • Yiqun Zhang +6
  • Conference Article
  • Citations35

EtherGIS: A Vulnerability Detection Framework for Ethereum Smart Contracts Based on Graph Learning Features

  • Jun 01, 2022
  • Qingren Zeng +6
  • Research Article
  • Citations18

Adaptive Kernel Graph Neural Network

  • Jun 28, 2022
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Mingxuan Ju +5
  • Conference Article
  • Citations8

Code Vulnerability Identification and Code Improvement using Advanced Machine Learning

  • Dec 01, 2019
  • Laneesha Ruggahakotuwa +2
  • PDF
  • Research Article
  • Citations81

Automated Vulnerability Detection in Source Code Using Minimum Intermediate Representation Learning

  • Mar 02, 2020
  • Applied Sciences
  • Xin Li +4
  • Conference Article
  • Citations22

Explaining Graph Neural Networks for Vulnerability Discovery

  • Nov 15, 2021
  • Tom Ganz +3
  • Research Article
  • Citations15

Vulnerability detection through cross-modal feature enhancement and fusion

  • Jun 18, 2023
  • Computers & Security
  • Wenxin Tao +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.