GAN-Enabled Code Embedding for Reentrant Vulnerabilities Detection

Hui Zhao, Peng Su, Yihang Wei, Keke Gai*, Meikang Qiu

*Corresponding author for this work

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

5 Citations (Scopus)
Plum Print visual indicator of research metrics
  • Citations
    • Citation Indexes: 5
  • Captures
    • Readers: 3
see details

Abstract

As one of the key components of blockchain, smart contract is playing a vital role in achieving auto-functions; however, reentrant attacks are threatening the implementation of smart contracts, which limits the adoption of blockchain systems in various scenarios. To address this issue, we propose a reentrant vulnerability detection model based on word embedding, similarity detection, and Generative Adversarial Networks (GAN). Additionally, we provide a new approach for dynamically preventing reentrant attacks. We also implement experiments to evaluate our model and results show our scheme achieves 92% detecting accuracy for reentrant attack detection.

Original languageEnglish
Title of host publicationKnowledge Science, Engineering and Management - 14th International Conference, KSEM 2021, Proceedings
EditorsHan Qiu, Cheng Zhang, Zongming Fei, Meikang Qiu, Sun-Yuan Kung
PublisherSpringer Science and Business Media Deutschland GmbH
Pages585-597
Number of pages13
ISBN (Print)9783030821524
DOIs
Publication statusPublished - 2021
Event14th International Conference on Knowledge Science, Engineering and Management, KSEM 2021 - Tokyo, Japan
Duration: 14 Aug 202116 Aug 2021

Publication series

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

Conference

Conference14th International Conference on Knowledge Science, Engineering and Management, KSEM 2021
Country/TerritoryJapan
CityTokyo
Period14/08/2116/08/21

Keywords

  • Blockchain
  • Generative adversarial networks
  • Reentrant attack
  • Smart contract
  • Vulnerability detection

Fingerprint

Dive into the research topics of 'GAN-Enabled Code Embedding for Reentrant Vulnerabilities Detection'. Together they form a unique fingerprint.

Cite this

Zhao, H., Su, P., Wei, Y., Gai, K., & Qiu, M. (2021). GAN-Enabled Code Embedding for Reentrant Vulnerabilities Detection. In H. Qiu, C. Zhang, Z. Fei, M. Qiu, & S.-Y. Kung (Eds.), Knowledge Science, Engineering and Management - 14th International Conference, KSEM 2021, Proceedings (pp. 585-597). (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Vol. 12817 LNAI). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-030-82153-1_48