Affiliation:
1. Department of Computer Science and Engineering, Puducherry Technological University, Puducherry, India
Abstract
Ethereum is one of the popular Blockchain platform. The key component in the Ethereum Blockchain is the smart contract. Smart contracts (SC) are like normal computer programs which are written mostly in solidity high-level object-oriented programming language. Smart contracts allow completing transactions directly between two parties in the network without any middle man or mediator. Modification of the smart contracts are not possible once deployed into the Blockchain. Thus smart contract has to be vulnerable free before deploying into the Blockchain. In this paper, Bayesian Network Model was designed and constructed based on Bayesian learning concept to detect smart contract security vulnerabilities which are Reentrancy, Tx.origin and DOS. The results showed that the proposed BNMC (Bayesian Network Model Construction) design is able to detect the severity of each vulnerability and also suggest the reasons for the vulnerability. The accuracy of the proposed BNMC results are improved (accuracy 8% increased for both Reentracy and Tx.origin, 6% increased for DOS), compared with traditional method LSTM. This proposed BNMS design and implementation is the first attempt to detect smart contract vulnerabilities using Bayesian Networks.
Subject
Artificial Intelligence,General Engineering,Statistics and Probability
Reference15 articles.
1. A Review of Blockchain-Based Applications and Challenges;Sharma;Pers Commun,2022
2. A survey on security and privacy issues of Blockchain technology;Joshi;Mathematical Foundations of Computing,2018
3. Blockchain for IoT Access Control, Security and Privacy: A Review;Patil;Mathematical Foundations of Computing,2021
4. A Survey on Bayesian Deep Learning, In5, Article 108, 37 pages;Hao Wang;ACM Comput Surv
5. Editorial for the Special Issue on Bayesian Networks: Inference Algorithms, Applications, and Software Tools;Codetta-Raiteri;Algorithms,2021