Skip to main navigation Skip to search Skip to main content

Smart-Contract Vulnerability Detection Method Based on Deep Learning

  • Zimu Hu*
  • , Wei Tek Tsai
  • , Li Zhang
  • *Corresponding author for this work
  • Beihang University
  • Beijing Tiande Technologies

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

With the rapid development of blockchain technology, smart contracts (SCs) applied in digital currency transactions have been widely used. However, SCs often have vulnerability in their code that allow criminals to exploit them to steal associated digital assets. Benefiting from the development of machine learning technology and the improvement of hardware performance, one can use deep learning techniques to analyze code and detect vulnerabilities. This paper proposes an innovative combination of opcode sequences and abstract syntax trees for source code parsing. And a method based on the combination of self-attention mechanism and bidirectional long-short term memory neural network is proposed to detect the vulnerability of SCs after word embedding. Experimentation results show that the two parsing methods can complement each other and effectively improve the accuracy of vulnerability detection.

Original languageEnglish
Title of host publicationSmart Computing and Communication - 7th International Conference, SmartCom 2022, Proceedings
EditorsMeikang Qiu, Zhihui Lu, Cheng Zhang
PublisherSpringer Science and Business Media Deutschland GmbH
Pages450-460
Number of pages11
ISBN (Print)9783031281235
DOIs
StatePublished - 2023
Event7th International Conference on Smart Computing and Communication, SmartCom 2022 - New York, United States
Duration: 18 Nov 202220 Nov 2022

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13828 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference7th International Conference on Smart Computing and Communication, SmartCom 2022
Country/TerritoryUnited States
CityNew York
Period18/11/2220/11/22

Keywords

  • Blockchain
  • Deep Learning
  • Smart Contract
  • Vulnerability Detection

Fingerprint

Dive into the research topics of 'Smart-Contract Vulnerability Detection Method Based on Deep Learning'. Together they form a unique fingerprint.

Cite this