Smart contract vulnerability detection using wide and deep neural network

被引:1
作者
Osei, Samuel Banning [1 ]
Ma, Zhongchen [1 ]
Huang, Rubing [2 ]
机构
[1] Jiangsu Univ, Sch Comp Sci & Commun Engn, Zhenjiang 212013, Jiangsu, Peoples R China
[2] Macau Univ Sci & Technol, Sch Comp Sci & Engn, Taipa 999078, Macau, Peoples R China
基金
中国国家自然科学基金;
关键词
Smart contract; Vulnerability detection; Reentrancy; Timestamp; Wide and deep neural network;
D O I
10.1016/j.scico.2024.103172
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Smart contracts, integral to blockchain technology, automate agreements without intermediaries, ensuring transparency and security across various sectors. However, the immutable nature of blockchain exposes deployed contracts to potential risks if they contain vulnerabilities. Current approaches, including symbolic execution and graph-based machine learning, aim to ensure smart contract security. However, these methods suffer from limitations such as high false positive rates, heavy reliance on trained data, and over-generalization. The goal of this paper is to investigate the application of Wide and Deep Neural Networks in identifying vulnerabilities within smart contracts. We introduce WIDENNET, a method based on deep neural networks, designed to detect reentrancy and timestamp dependence vulnerabilities in smart contracts. Our approach involves extracting bytecodes from the contracts and converting them into Operational Codes (OPCODES), which are then transformed into distinct vector representations. These vectors are subsequently fed into the neural network to extract both complex and simple patterns for vulnerability detection. Testing on real-world datasets yielded an average accuracy of 83.07% and a precision of 83.13%. Our method offers a potential solution to mitigate vulnerabilities in blockchain applications.
引用
收藏
页数:11
相关论文
共 50 条
  • [21] Smart Contract Vulnerability Detection Using Code Representation Fusion
    Wang, Ben
    Chu, Hanting
    Zhang, Pengcheng
    Dong, Hai
    2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2021), 2021, : 564 - 565
  • [22] SNOW: An Effective Smart Contract Reentrancy Vulnerability Detection Method Based on Joint Feature Graph and Hybrid Graph Neural Network
    Lian, Wenjuan
    Zhang, Xinze
    Bao, Zikang
    Jia, Bin
    SOFTWARE-PRACTICE & EXPERIENCE, 2025,
  • [23] Efficient Vulnerability Detection for Smart Contracts Using Gated Graph Neural Network
    Zhai, Yiwen
    Yang, Jia
    Zhang, Mingwu
    INFORMATION SECURITY AND PRIVACY, PT III, ACISP 2024, 2024, 14897 : 44 - 63
  • [24] Smart contract vulnerability detection combined with multi-objective detection
    Zhang, Lejun
    Wang, Jinlong
    Wang, Weizheng
    Jin, Zilong
    Su, Yansen
    Chen, Huiling
    COMPUTER NETWORKS, 2022, 217
  • [25] Smart Contract Vulnerability Detection Method Based on Edge-Deactivation Graph Convolutional Network
    Fan Dong
    Cheng Jieren
    Tang Xiangyan
    Lu Kai
    8TH INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE, COMMUNICATION AND COMPUTING, 2025, 434 : 120 - 136
  • [26] Smart Contract Vulnerability Detection Method Based on Node Feature Augmentation Graph Convolutional Network
    Fan Dong
    Cheng Jieren
    Tang Xiangyan
    Lu Kai
    8TH INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE, COMMUNICATION AND COMPUTING, 2025, 434 : 102 - 119
  • [27] Smart Contract Vulnerability Detection Method Based on Capsule Network and Attention Mechanism
    Lu L.
    Lai J.
    Huanan Ligong Daxue Xuebao/Journal of South China University of Technology (Natural Science), 2023, 51 (05): : 36 - 44
  • [28] Smart Contract Vulnerability Detection Based on Multimodal Feature Fusion
    Yu, Jie
    Yu, Xiao
    Li, Jiale
    Sun, Haoxin
    Sun, Mengdi
    ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, PT III, ICIC 2024, 2024, 14864 : 344 - 355
  • [29] Smart Contract Vulnerability Detection Based on Symbolic Execution Technology
    Liu, Yiping
    Xu, Jie
    Cui, Baojiang
    CYBER SECURITY, CNCERT 2021, 2022, 1506 : 193 - 207
  • [30] The Impact of Input Types on Smart Contract Vulnerability Detection Performance Based on Deep Learning: A Preliminary Study
    Aldyaflah, Izdehar M.
    Zhao, Wenbing
    Yang, Shunkun
    Luo, Xiong
    INFORMATION, 2024, 15 (06)