e-space
Manchester Metropolitan University's Research Repository

    A Comparative Analysis of Hybrid Deep Learning Models for Reentrancy Vulnerability Detection in Ethereum Smart Contracts

    Akoshile, Ahsan Adeleke ORCID logoORCID: https://orcid.org/0009-0000-3070-7750, Jogunola, Olamide ORCID logoORCID: https://orcid.org/0000-0002-2701-9524, Hammoudeh, Mohammad ORCID logoORCID: https://orcid.org/0000-0003-1058-0996 and Dargahi, Tooska ORCID logoORCID: https://orcid.org/0000-0002-0908-6483 (2025) A Comparative Analysis of Hybrid Deep Learning Models for Reentrancy Vulnerability Detection in Ethereum Smart Contracts. In: Proceedings of the 8th International Conference on Future Networks & Distributed Systems, pp. 915-922. Presented at ICFNDS '24: The 8th International Conference on Future Networks & Distributed Systems, 11 - 12 December 2024, Marakech, Morocco.

    [img]
    Preview
    Accepted Version
    Available under License Creative Commons Attribution.

    Download (714kB) | Preview

    Abstract

    Recent research has exposed significant security vulnerabilities within smart contracts that run on blockchain. Threats, such as, reentrancy attacks, where malicious actors exploit recursive function calls in a smart contract, pose a critical threat. This led to substantial financial losses in organisations. Traditional vulnerability detection methods, largely based on static analysis, showed limitations in effectively identifying reentrancy issues, often yielding high false positive rates and missing complex execution paths. This paper analyses hybrid deep learning models for reentrancy vulnerability detection in Ethereum smart contracts, introducing a unique approach that combines semantic and syntactic feature extraction. Specifically, our approach integrates CodeBERT embeddings for deep semantic insights with pattern-based feature vectors that capture Solidity constructs that are vulnerable to reentrancy attacks. Five hybrid models are evaluated, each selected to provide insights into structural and sequential dependencies within code. Findings highlighted the novelty of using multimodal feature integration in vulnerability detection, with models like Autoencoder-LSTM and CodeBERT-Transformer Encoder achieving high accuracy of and , respectively, demonstrating the effectiveness of hybrid architectures for capturing complex vulnerability patterns. This comparative study advances the smart contract security field, showcasing each model’s strengths and trade-offs, and providing practical guidance for deploying deep learning-based vulnerability detection within blockchain ecosystems.

    Impact and Reach

    Statistics

    Activity Overview
    6 month trend
    9Downloads
    6 month trend
    23Hits

    Additional statistics for this dataset are available via IRStats2.

    Altmetric

    Repository staff only

    Edit record Edit record