Multi-Label Vulnerability Detection of Smart Contracts Based on Bi-LSTM and Attention Mechanism

被引:7
|
作者
Qian, Shenyi [1 ]
Ning, Haohan [1 ]
He, Yaqiong [1 ]
Chen, Mengqi [1 ]
机构
[1] Zhengzhou Univ Light Ind, Sch Comp & Commun Engn, Zhengzhou 450001, Peoples R China
关键词
blockchain security; smart contract; vulnerability detection; multi-label classification; BLOCKCHAIN;
D O I
10.3390/electronics11193260
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页数:18
相关论文
共 50 条
  • [1] Text multi-label sentiment analysis based on Bi-LSTM
    Hu, Junlin
    Kang, Xin
    Nishide, Shun
    Ren, Fuji
    [J]. PROCEEDINGS OF 2019 6TH IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTELLIGENCE SYSTEMS (CCIS), 2019, : 16 - 20
  • [2] POSTER: Multi-Block Fusion Mechanism for Multi-label Vulnerability Detection in Smart Contracts
    Van Tong
    Cuong Dao
    Thep Dong
    Hai Anh Tran
    Duc Tran
    Tran, Truong X.
    [J]. PROCEEDINGS OF THE 19TH ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, ACM ASIACCS 2024, 2024, : 1955 - 1957
  • [3] Multi-Label Classification of Chinese Rural Poverty Governance Texts Based on XLNet and Bi-LSTM Fused Hierarchical Attention Mechanism
    Wang, Xin
    Guo, Leifeng
    [J]. APPLIED SCIENCES-BASEL, 2023, 13 (13):
  • [4] Feature Envy Detection based on Bi-LSTM with Self-Attention Mechanism
    Wang, Hongze
    Liu, Jing
    Kang, JieXiang
    Yin, Wei
    Sun, Haiying
    Wang, Hui
    [J]. 2020 IEEE INTL SYMP ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, INTL CONF ON BIG DATA & CLOUD COMPUTING, INTL SYMP SOCIAL COMPUTING & NETWORKING, INTL CONF ON SUSTAINABLE COMPUTING & COMMUNICATIONS (ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM 2020), 2020, : 448 - 457
  • [5] Entity Relationship Extraction Based on Bi-LSTM and Attention Mechanism
    Wei, Ming
    Xu, Zhipeng
    Hu, Jiwei
    [J]. PROCEEDINGS OF 2021 2ND INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND INFORMATION SYSTEMS (ICAIIS '21), 2021,
  • [6] Epileptic Seizure Detection Based on Path Signature and Bi-LSTM Network With Attention Mechanism
    Tang, Yixuan
    Wu, Qianyi
    Mao, Haifeng
    Guo, Lihua
    [J]. IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, 2024, 32 : 304 - 313
  • [7] GNN-based Ethereum Smart Contract Multi-Label Vulnerability Detection
    Cheong, Yoo-Young
    Choi, La Yeon
    Shin, Jihwan
    Kim, Taekyung
    Ahn, Jinhyun
    Im, Dong-Hyuk
    [J]. 38TH INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING, ICOIN 2024, 2024, : 57 - 61
  • [8] Research on Fault Diagnosis of Highway Bi-LSTM Based on Attention Mechanism
    Li, Xueyi
    Su, Kaiyu
    He, Qiushi
    Wang, Xiangkai
    Xie, Zhijie
    [J]. EKSPLOATACJA I NIEZAWODNOSC-MAINTENANCE AND RELIABILITY, 2023, 25 (02):
  • [9] Partial Discharge Detection and Recognition in Insulated Overhead Conductor Based on Bi-LSTM with Attention Mechanism
    Xi, Yanhui
    Zhou, Feng
    Zhang, Weijie
    [J]. ELECTRONICS, 2023, 12 (11)
  • [10] Attention-Based Bi-LSTM Network for Abusive Language Detection
    Nelatoori, Kiran Babu
    Kommanti, Hima Bindu
    [J]. IETE JOURNAL OF RESEARCH, 2023, 69 (11) : 7884 - 7892