Smart Contract Vulnerability Detection Based on Deep Learning and Multimodal Decision Fusion

被引:14
作者
Deng, Weichu [1 ]
Wei, Huanchun [2 ]
Huang, Teng [1 ]
Cao, Cong [1 ]
Peng, Yun [1 ]
Hu, Xuan [3 ,4 ]
机构
[1] Guangzhou Univ, Inst Artificial Intelligence & Blockchain, Guangzhou 510006, Peoples R China
[2] Guangxi Univ Informat Engn, Sch Beidou, Nanning 530299, Peoples R China
[3] Informat Secur Res Ctr, CEPREI Lab, Guangzhou 510610, Peoples R China
[4] Minist Ind & Informat Technol, Key Lab, Guangzhou 510610, Peoples R China
基金
中国国家自然科学基金;
关键词
multimodal fusion; smart contract; vulnerability detection; deep learning; CHALLENGES;
D O I
10.3390/s23167246
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
With the rapid development and widespread application of blockchain technology in recent years, smart contracts running on blockchains often face security vulnerability problems, resulting in significant economic losses. Unlike traditional programs, smart contracts cannot be modified once deployed, and vulnerabilities cannot be remedied. Therefore, the vulnerability detection of smart contracts has become a research focus. Most existing vulnerability detection methods are based on rules defined by experts, which are inefficient and have poor scalability. Although there have been studies using machine learning methods to extract contract features for vulnerability detection, the features considered are singular, and it is impossible to fully utilize smart contract information. In order to overcome the limitations of existing methods, this paper proposes a smart contract vulnerability detection method based on deep learning and multimodal decision fusion. This method also considers the code semantics and control structure information of smart contracts. It integrates the source code, operation code, and control-flow modes through the multimodal decision fusion method. The deep learning method extracts five features used to represent contracts and achieves high accuracy and recall rates. The experimental results show that the detection accuracy of our method for arithmetic vulnerability, re-entrant vulnerability, transaction order dependence, and Ethernet locking vulnerability can reach 91.6%, 90.9%, 94.8%, and 89.5%, respectively, and the detected AUC values can reach 0.834, 0.852, 0.886, and 0.825, respectively. This shows that our method has a good vulnerability detection effect. Furthermore, ablation experiments show that the multimodal decision fusion method contributes significantly to the fusion of different modalities.
引用
收藏
页数:21
相关论文
共 70 条
[61]   A Review on Recent Progress of Smart Contract in Blockchain [J].
Wu, Canghai ;
Xiong, Jie ;
Xiong, Huanliang ;
Zhao, Yingding ;
Yi, Wenlong .
IEEE ACCESS, 2022, 10 :50839-50863
[62]  
[谢豪 Xie Hao], 2021, [数据分析与知识发现, Data Analysis and Knowledge Discovery], V5, P103
[63]  
Yadav Karishma, 2023, Smart Trends in Computing and Communications: Proceedings of SmartCom 2023. Lecture Notes in Networks and Systems (650), P753, DOI 10.1007/978-981-99-0838-7_65
[64]  
Yashavant C, 2022, Arxiv, DOI [arXiv:2202.11409, 10.48550/arXiv.2202.11409, DOI 10.48550/ARXIV.2202.11409]
[65]  
Yin S., 2019, P 9 INT AUD VIS EM C, P65, DOI DOI 10.1145/3347320.3357696
[66]   SVScanner: Detecting smart contract vulnerabilities via deep semantic extraction [J].
Zhang, Hengyan ;
Zhang, Weizhe ;
Feng, Yuming ;
Liu, Yang .
JOURNAL OF INFORMATION SECURITY AND APPLICATIONS, 2023, 75
[67]   A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning [J].
Zhang, Lejun ;
Wang, Jinlong ;
Wang, Weizheng ;
Jin, Zilong ;
Zhao, Chunhui ;
Cai, Zhennao ;
Chen, Huiling .
SENSORS, 2022, 22 (09)
[68]   Blockchain-Enabled Conditional Decentralized Vehicular Crowdsensing System [J].
Zhao, Pincan ;
Li, Changle ;
Fu, Yuchuan ;
Hui, Yilong ;
Zhang, Yao ;
Cheng, Nan .
IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2022, 23 (10) :18937-18950
[69]   An overview on smart contracts: Challenges, advances and platforms [J].
Zheng, Zibin ;
Xie, Shaoan ;
Dai, Hong-Ning ;
Chen, Weili ;
Chen, Xiangping ;
Weng, Jian ;
Imran, Muhammad .
FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2020, 105 :475-491
[70]  
Zhuang Y, 2020, PROCEEDINGS OF THE TWENTY-NINTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, P3283