Detection of vulnerabilities in blockchain smart contracts using deep learning

被引:2
作者
Gupta, Namya Aankur [1 ]
Bansal, Mansi [1 ]
Sharma, Seema [1 ]
Mehrotra, Deepti [1 ]
Kakkar, Misha [1 ]
机构
[1] Amity Univ, Noida, India
关键词
Blockchain smart contracts; Deep learning; Vulnerabilities detection; AI for blockchain; NEURAL-NETWORKS;
D O I
10.1007/s11276-024-03755-9
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Blockchain helps to give a sense of security as there is only one history of transactions visible to all the involved parties. Smart contracts enable users to manage significant asset amounts of finances on the blockchain without the involvement of any intermediaries. The conditions and checks that have been written in smart contract and executed to the application cannot be changed again. However, these unique features pose some other risks to the smart contract. Smart contracts have several flaws in its programmable language and methods of execution, despite being a developing technology. To build smart contracts and implement numerous complicated business logics, high-level languages are used by the developers to code smart contracts. Thus, blockchain smart contract is the most important element of any decentralized application, posing the risk for it to be attacked. So, the presence of vulnerabilities are to be taken care of on a priority basis. It is important for detection of vulnerabilities in a smart contract and only then implement and connect it with applications to ensure security of funds. The motive of the paper is to discuss how deep learning may be utilized to deliver bug-free secure smart contracts. Objective of the paper is to detect three kinds of vulnerabilities- reentrancy, timestamp and infinite loop. A deep learning model has been created for detection of smart contract vulnerabilities using graph neural networks. The performance of this model has been compared to the present automated tools and other independent methods. It has been shown that this model has greater accuracy than other methods while comparing the prediction of smart contract vulnerabilities in existing models.
引用
收藏
页码:201 / 217
页数:17
相关论文
共 40 条
[1]  
Aggarwal K., 2022, Iraqi Journal for Computer Science and Mathematics, V3, P115, DOI [DOI 10.52866/IJCSM.2022.01.01.013, 10.52866/ijcsm.2022.01.01]
[2]  
[Anonymous], MYTHX TECH SCENES SM
[3]  
[Anonymous], 2021, GENTLE INTRO GRAPH N
[4]   Deep Learning with Graph Convolutional Networks: An Overview and Latest Applications in Computational Intelligence [J].
Bhatti, Uzair Aslam ;
Tang, Hao ;
Wu, Guilu ;
Marjan, Shah ;
Hussain, Aamir .
INTERNATIONAL JOURNAL OF INTELLIGENT SYSTEMS, 2023, 2023
[5]   Combining GANs and AutoEncoders for efficient anomaly detection [J].
Carrara, Fabio ;
Amato, Giuseppe ;
Brombin, Luca ;
Falchi, Fabrizio ;
Gennaro, Claudio .
2020 25TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2021, :3939-3946
[6]   Propagation Enhanced Neural Message Passing for Graph Representation Learning [J].
Fan, Xiaolong ;
Gong, Maoguo ;
Wu, Yue ;
Qin, A. K. ;
Xie, Yu .
IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (02) :1952-1964
[7]   Slither: A Static Analysis Framework For Smart Contracts [J].
Feist, Josselin ;
Greico, Gustavo ;
Groce, Alex .
2019 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON EMERGING TRENDS IN SOFTWARE ENGINEERING FOR BLOCKCHAIN (WETSEB 2019), 2019, :8-15
[8]   Using human brain activity to guide machine learning [J].
Fong, Ruth C. ;
Scheirer, Walter J. ;
Cox, David D. .
SCIENTIFIC REPORTS, 2018, 8
[9]   EVMFuzzer: Detect EVM Vulnerabilities via Fuzz Testing [J].
Fu, Ying ;
Ren, Meng ;
Ma, Fuchen ;
Shi, Heyuan ;
Yang, Xin ;
Jiang, Yu ;
Li, Huizhong ;
Shi, Xiang .
ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, :1110-1114
[10]   Graph Neural Networks for Recommender System [J].
Gao, Chen ;
Wang, Xiang ;
He, Xiangnan ;
Li, Yong .
WSDM'22: PROCEEDINGS OF THE FIFTEENTH ACM INTERNATIONAL CONFERENCE ON WEB SEARCH AND DATA MINING, 2022, :1623-1625