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 条
  • [41] CrossFuzz: Cross-contract fuzzing for smart contract vulnerability detection
    Yang, Huiwen
    Gu, Xiguo
    Chen, Xiang
    Zheng, Liwei
    Cui, Zhanqi
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2024, 234
  • [42] SCVD-SA: A Smart Contract Vulnerability Detection Method based on Hybrid Deep Learning Model and Self-attention Mechanism
    Wang, Dongjie
    Chen, Jinfu
    Cai, Saihua
    Feng, Qiaowei
    Chen, Yuhao
    Hu, Xinyi
    [J]. 2024 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING-COMPANION, SANER-C 2024, 2024, : 207 - 214
  • [43] Vulnerability Detection of Ethereum Smart Contract Based on SolBERT-BiGRU-Attention Hybrid Neural Model
    Xu, Guangxia
    Liu, Lei
    Dong, Jingnan
    [J]. CMES-COMPUTER MODELING IN ENGINEERING & SCIENCES, 2023, 137 (01): : 903 - 922
  • [44] Smart Contract Vulnerability Detection Techniques for Hyperledger Fabric
    Centre for Development of Advanced Computing, Applied Artificial Intelligence Group, Maharashtra, Pune, India
    [J]. IEEE Int. Conf. Converg. Technol., I2CT, 2023,
  • [45] A Survey of Vulnerability Detection Techniques by Smart Contract Tools
    Khan, Zulfiqar Ali
    Namin, Akbar Siami
    [J]. IEEE ACCESS, 2024, 12 : 70870 - 70910
  • [46] SoliAudit: Smart Contract Vulnerability Assessment Based on Machine Learning and Fuzz Testing
    Liao, Jian-Wei
    Tsai, Tsung-Ta
    He, Chia-Kang
    Tien, Chin-Wei
    [J]. 2019 SIXTH INTERNATIONAL CONFERENCE ON INTERNET OF THINGS: SYSTEMS, MANAGEMENT AND SECURITY (IOTSMS), 2019, : 458 - 465
  • [47] PSCVFinder: A Prompt-Tuning Based Framework for Smart Contract Vulnerability Detection
    Yu, Lei
    Lu, Junyi
    Liu, Xianglong
    Yang, Li
    Zhang, Fengjun
    Ma, Jiajia
    [J]. 2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, ISSRE, 2023, : 556 - 567
  • [48] Smart Contract Vulnerability Detection Method Based on Capsule Network and Attention Mechanism
    Lu L.
    Lai J.
    [J]. Huanan Ligong Daxue Xuebao/Journal of South China University of Technology (Natural Science), 2023, 51 (05): : 36 - 44
  • [49] Smart Contract Vulnerability Detection Based on Automated Feature Extraction and Feature Interaction
    Li, Lina
    Liu, Yang
    Sun, Guodong
    Li, Nianfeng
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2024, 36 (09) : 4916 - 4929
  • [50] SCGformer: Smart contract vulnerability detection based on control flow graph and transformer
    Gong K.
    Song X.
    Wang N.
    Wang C.
    Zhu H.
    [J]. IET Blockchain, 2023, 3 (04): : 213 - 221