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 条
[31]   A Comprehensive Survey on Graph Neural Networks [J].
Wu, Zonghan ;
Pan, Shirui ;
Chen, Fengwen ;
Long, Guodong ;
Zhang, Chengqi ;
Yu, Philip S. .
IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2021, 32 (01) :4-24
[32]   A Novel Machine Learning-Based Analysis Model for Smart Contract Vulnerability [J].
Xu, Yingjie ;
Hu, Gengran ;
You, Lin ;
Cao, Chengtang .
SECURITY AND COMMUNICATION NETWORKS, 2021, 2021
[33]  
Yuhang Sun, 2021, Journal of Physics: Conference Series, V1820, DOI 10.1088/1742-6596/1820/1/012004
[34]   SPCBIG-EC: A Robust Serial Hybrid Model for Smart Contract Vulnerability Detection [J].
Zhang, Lejun ;
Li, Yuan ;
Jin, Tianxing ;
Wang, Weizheng ;
Jin, Zilong ;
Zhao, Chunhui ;
Cai, Zhennao ;
Chen, Huiling .
SENSORS, 2022, 22 (12)
[35]   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)
[36]  
Zhang Si, 2019, Comput Soc Netw, V6, P11, DOI 10.1186/s40649-019-0069-y
[37]   Toward Vulnerability Detection for Ethereum Smart Contracts Using Graph-Matching Network [J].
Zhang, Yujian ;
Liu, Daifu .
FUTURE INTERNET, 2022, 14 (11)
[38]   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
[39]  
Zhou Jie, 2020, AI OPEN, V1, P57, DOI [DOI 10.1016/J.AIOPEN.2021.01.001, 10.1016/j.aiopen.2021.01.001]
[40]  
Zhuang Y, 2020, PROCEEDINGS OF THE TWENTY-NINTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, P3283