Research on Smart Contract Vulnerability Detection Based on Graph Neural Networks

With the widespread application of blockchain technology, the security issues of smart contracts have become increasingly prominent. Traditional contract vulnerability detection methods mostly depend on source code, making it hard to adapt to the actual situation where only bytecode is available on-chain. This paper presents a novel bytecode-based vulnerability detection method for smart contracts (BC-GNN). By parsing the contract bytecode, it extracts opcode sequences, control flow graphs (CFGs), and data flow graphs (DFGs), integrates them into a unified heterogeneous graph structure, and uses graph neural networks (GNNs) to automatically detect multiple types of vulnerabilities. Experimental results show that BC-GNN achieves excellent performance on multiple actual and enhanced datasets. In particular, it demonstrates strong applicability and generalization ability in scenarios where source code is unavailable. This approach offers new ideas and technical pathways for blockchain smart contract security detection.

Authors

Institutions

Publication Details

Published
2025-06-20
DOI
https://doi.org/10.1109/caibda65784.2025.11183399
Primary Topic
Financial Distress and Bankruptcy Prediction
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on Smart Contract Vulnerability Detection Based on Graph Neural Networks

Li An
Financial Distress and Bankruptcy Prediction
article

Research on Smart Contract Vulnerability Detection Based on Graph Neural Networks

Li An
article en

Abstract

With the widespread application of blockchain technology, the security issues of smart contracts have become increasingly prominent. Traditional contract vulnerability detection methods mostly depend on source code, making it hard to adapt to the actual situation where only bytecode is available on-chain. This paper presents a novel bytecode-based vulnerability detection method for smart contracts (BC-GNN). By parsing the contract bytecode, it extracts opcode sequences, control flow graphs (CFGs), and data flow graphs (DFGs), integrates them into a unified heterogeneous graph structure, and uses graph neural networks (GNNs) to automatically detect multiple types of vulnerabilities. Experimental results show that BC-GNN achieves excellent performance on multiple actual and enhanced datasets. In particular, it demonstrates strong applicability and generalization ability in scenarios where source code is unavailable. This approach offers new ideas and technical pathways for blockchain smart contract security detection.

Ministry of Public Security of the People's Republic of China (CN)
Openalex Percentile: Top 59%
Financial Distress and Bankruptcy Prediction
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.

Research on Smart Contract Vulnerability Detection Based on Graph Neural Networks — Li An · (2025) | TGRS Research Map | TGRS