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

被引:0
|
作者
Han D. [1 ]
Li Q. [2 ]
Zhang L. [1 ]
Xu T. [1 ]
机构
[1] Henan Engineering Research Center of Intelligent Technology and Application, Henan University, Kaifeng
[2] School of Computer and Information Engineering, Henan University, Kaifeng
关键词
D O I
10.1155/2023/9212269
中图分类号
学科分类号
摘要
As a trusted decentralized application, smart contracts manage a large number of digital assets on the blockchain. Vulnerability detection of smart contracts is an important part of ensuring the security of digital assets. At present, many researchers extract features of smart contract source code for vulnerability detection based on deep learning methods. However, the current research mainly focuses on the single representation form of the source code, which cannot fully obtain the rich semantic and structural information contained in the source code, so it is not conducive to the detection of various and complex smart contract vulnerabilities. Aiming at this problem, this paper proposes a vulnerability detection model based on the fusion of syntax and semantic features. The syntactic and semantic representation of the source code is obtained from the abstract syntax tree and control flow graph of the smart contract through TextCNN and Graph Neural Network. The syntactic and semantic features are fused, and the fused features are used to detect vulnerabilities. Experiments show that the detection accuracy and recall rate of this model have been improved on the detection tasks of five types of vulnerabilities, with an average precision of 96% and a recall rate of 90%, which can effectively identify smart contract vulnerabilities. © 2023 Daojun Han et al.
引用
收藏
相关论文
共 50 条
  • [1] Smart Contract Vulnerability Detection Based on Deep Learning and Multimodal Decision Fusion
    Deng, Weichu
    Wei, Huanchun
    Huang, Teng
    Cao, Cong
    Peng, Yun
    Hu, Xuan
    [J]. SENSORS, 2023, 23 (16)
  • [2] A Smart Contract Vulnerability Detection Method Based on Multimodal Feature Fusion and Deep Learning
    Li, Jinggang
    Lu, Gehao
    Gao, Yulian
    Gao, Feng
    [J]. MATHEMATICS, 2023, 11 (23)
  • [3] Smart Contract Vulnerability Detection Based on Multimodal Feature Fusion
    Yu, Jie
    Yu, Xiao
    Li, Jiale
    Sun, Haoxin
    Sun, Mengdi
    [J]. ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, PT III, ICIC 2024, 2024, 14864 : 344 - 355
  • [4] Smart Contract Vulnerability Detection Model Based on Multi-Task Learning
    Huang, Jing
    Zhou, Kuo
    Xiong, Ao
    Li, Dongmeng
    [J]. SENSORS, 2022, 22 (05)
  • [5] Particle Swarm Algorithm for Smart Contract Vulnerability Detection Based on Semantic Web
    Feng, Tao
    Cui, Yuyang
    [J]. INTERNATIONAL JOURNAL ON SEMANTIC WEB AND INFORMATION SYSTEMS, 2024, 20 (01)
  • [6] An integrated deep learning model for Ethereum smart contract vulnerability detection
    Jain, Vikas Kumar
    Tripathi, Meenakshi
    [J]. INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2024, 23 (01) : 557 - 575
  • [7] An integrated deep learning model for Ethereum smart contract vulnerability detection
    Vikas Kumar Jain
    Meenakshi Tripathi
    [J]. International Journal of Information Security, 2024, 23 : 557 - 575
  • [8] Smart Contract Vulnerability Detection Using Code Representation Fusion
    Wang, Ben
    Chu, Hanting
    Zhang, Pengcheng
    Dong, Hai
    [J]. 2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2021), 2021, : 564 - 565
  • [9] A Novel Smart Contract Reentrancy Vulnerability Detection Model based on BiGAS
    Zhang, Lejun
    Li, Yuan
    Guo, Ran
    Wang, Guopeng
    Qiu, Jing
    Su, Shen
    Liu, Yuan
    Xu, Guangxia
    Chen, Huiling
    Tian, Zhihong
    [J]. JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2024, 96 (03): : 215 - 237
  • [10] CBGRU: A Detection Method of Smart Contract Vulnerability Based on a Hybrid Model
    Zhang, Lejun
    Chen, Weijie
    Wang, Weizheng
    Jin, Zilong
    Zhao, Chunhui
    Cai, Zhennao
    Chen, Huiling
    [J]. SENSORS, 2022, 22 (09)