TY - JOUR
T1 - Reentrancy vulnerability detection based on graph convolutional networks and expert patterns under subspace mapping
AU - Guo, Longtao
AU - Huang, Huakun
AU - Zhao, Lingjun
AU - Wang, Peiliang
AU - Jiang, Shan
AU - Su, Chunhua
N1 - Publisher Copyright:
© 2024 Elsevier Ltd
PY - 2024/7
Y1 - 2024/7
N2 - Smart contracts with automatic execution capability provide a vast development space for transactions in Blockchain. However, due to the vulnerabilities in smart contracts, Blockchain has suffered huge economic losses, which greatly undermines people's trust in Blockchain and smart contracts. In this paper, we explore a vulnerability detection method based on graph neural networks and combine both contract source code and opcode. The structure of the method consists of four modules, i.e., preprocessing, subspace mapping, feature extraction, and detection modules. In the feature mapping module, we use a multi-subspace mapping approach to explore the impact of different subspace mappings on the detection method. For reentrancy vulnerability, we conducted extensive experiments. The experiments prove that our method achieves 95% accuracy and 94% F1-Score on average.
AB - Smart contracts with automatic execution capability provide a vast development space for transactions in Blockchain. However, due to the vulnerabilities in smart contracts, Blockchain has suffered huge economic losses, which greatly undermines people's trust in Blockchain and smart contracts. In this paper, we explore a vulnerability detection method based on graph neural networks and combine both contract source code and opcode. The structure of the method consists of four modules, i.e., preprocessing, subspace mapping, feature extraction, and detection modules. In the feature mapping module, we use a multi-subspace mapping approach to explore the impact of different subspace mappings on the detection method. For reentrancy vulnerability, we conducted extensive experiments. The experiments prove that our method achieves 95% accuracy and 94% F1-Score on average.
KW - Blockchain
KW - Graph neural network
KW - Smart contract
KW - Subspace mapping
KW - Vulnerability detection
UR - http://www.scopus.com/inward/record.url?scp=85193203417&partnerID=8YFLogxK
U2 - 10.1016/j.cose.2024.103894
DO - 10.1016/j.cose.2024.103894
M3 - Journal article
AN - SCOPUS:85193203417
SN - 0167-4048
VL - 142
SP - 1
EP - 9
JO - Computers and Security
JF - Computers and Security
M1 - 103894
ER -