Author:
Qian Shenyi,Ning Haohan,He Yaqiong,Chen Mengqi
Abstract
Smart contracts are decentralized applications running on blockchain platforms and have been widely used in a variety of scenarios in recent years. However, frequent smart contract security incidents have focused more and more attention on their security and reliability, and smart contract vulnerability detection has become an urgent problem in blockchain security. Most of the existing methods rely on fixed rules defined by experts, which have the disadvantages of single detection type, poor scalability, and high false alarm rate. To solve the above problems, this paper proposes a method that combines Bi-LSTM and an attention mechanism for multiple vulnerability detection of smart contract opcodes. First, we preprocessed the data to convert the opcodes into a feature matrix suitable as the input of the neural network and then used the Bi-LSTM model based on the attention mechanism to classify smart contracts with multiple labels. The experimental results show that the model can detect multiple vulnerabilities at the same time, and all evaluation indicators exceeded 85%, which proves the effectiveness of the method proposed in this paper for multiple vulnerability detection tasks in smart contracts.
Funder
Major public welfare projects in Henan Province Research on key technologies of blockchain system security
Subject
Electrical and Electronic Engineering,Computer Networks and Communications,Hardware and Architecture,Signal Processing,Control and Systems Engineering
Reference48 articles.
1. Blockchain: Blueprint for a New Economyhttp://www.abbeys.com.au/book/bitcoin-a-blueprint-for-a-new-world-currency.do
2. Bitcoin: A Peer-to-Peer Electronic Cash System. Rochester, NY, USA. 21 August 2008https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3440802
3. Smart contracts: Building blocks for digital markets;Szabo;EXTROPY J. Transhumanist Thought,1996
Cited by
9 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献