A Smart Contract Vulnerability Detection Mechanism Based on Deep Learning and Expert Rules
Authors:
Open Access
- 24 July 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 77990-77999
Abstract
Traditional techniques for smart contract vulnerability detection rely on fixed expert criteria to discover vulnerabilities, which are less generalizable, scalable, and accurate. Deep learning algorithms help to address these issues, but most fail to encode true expert knowledge and remain interpretable. In this paper, we present a smart contract vulnerability detection mechanism that operates in phases with graph neural networks and expert patterns in deep learning to mutually address the deficiencies of the two detection approaches and improve smart contract vulnerability detection capabilities. Experiments show that our vulnerability detection mechanism outperforms the original deep learning model by an average of 6 points in detecting vulnerabilities and that the second stage of the checking mechanism can also block contract transactions containing dangerous actions at the Ethernet Virtual Machine (EVM) level and generate error reports for submission. This strategy helps to construct more stable smart contracts and to create a secure environment for smart contracts.Keywords
Funding Information
- National Natural Science Foundation of Hebei province, China (F2019201427)
- Ministry of Education of China’s Fund for Integration of Cloud Computing and Big Data, Innovation of Science and Education (2017A20004)
This publication has 25 references indexed in Scilit:
- Long short-term memory recurrent neural network architectures for Urdu acoustic modelingInternational Journal of Speech Technology, 2018
- Securify2018
- A Survey of Symbolic Execution TechniquesACM Computing Surveys, 2018
- Formal Verification of Smart Contracts2016
- XGBoost2016
- Learning task-dependent distributed representations by backpropagation through structure2002
- Random ForestsMachine Learning, 2001
- Least Squares Support Vector Machine ClassifiersNeural Processing Letters, 1999
- A Decision-Theoretic Generalization of On-Line Learning and an Application to BoostingJournal of Computer and System Sciences, 1997
- Nearest neighbor pattern classificationIEEE Transactions on Information Theory, 1967