[Paper Review] Vulnerability Detection in Smart Contracts: A Comprehensive Survey
This systematic review analyzes how machine learning (ML) and deep learning (DL) techniques improve vulnerability detection in smart contracts, comparing ML models to traditional static tools and highlighting hybrid approaches. The study consolidates current methods, identifies gaps, and suggests future research directions for ML-enabled smart contract security.
In the growing field of blockchain technology, smart contracts exist as transformative digital agreements that execute transactions autonomously in decentralised networks. However, these contracts face challenges in the form of security vulnerabilities, posing significant financial and operational risks. While traditional methods to detect and mitigate vulnerabilities in smart contracts are limited due to a lack of comprehensiveness and effectiveness, integrating advanced machine learning technologies presents an attractive approach to increasing effective vulnerability countermeasures. We endeavour to fill an important gap in the existing literature by conducting a rigorous systematic review, exploring the intersection between machine learning and smart contracts. Specifically, the study examines the potential of machine learning techniques to improve the detection and mitigation of vulnerabilities in smart contracts. We analysed 88 articles published between 2018 and 2023 from the following databases: IEEE, ACM, ScienceDirect, Scopus, and Google Scholar. The findings reveal that classical machine learning techniques, including KNN, RF, DT, XG-Boost, and SVM, outperform static tools in vulnerability detection. Moreover, multi-model approaches integrating deep learning and classical machine learning show significant improvements in precision and recall, while hybrid models employing various techniques achieve near-perfect performance in vulnerability detection accuracy. By integrating state-of-the-art solutions, this work synthesises current methods, thoroughly investigates research gaps, and suggests directions for future studies. The insights gathered from this study are intended to serve as a seminal reference for academics, industry experts, and bodies interested in leveraging machine learning to enhance smart contract security.
Motivation & Objective
- Create a comprehensive repository of ML-based smart contract vulnerability detection studies.
- Analyze and synthesize how ML models improve detection and mitigation of vulnerabilities in smart contracts.
- Identify research gaps and propose directions for future ML-enabled security research in smart contracts.
Proposed method
- Systematic literature review of 88 articles (2018–2023) from IEEE, ACM, ScienceDirect, Scopus, and Google Scholar.
- Classification of papers by machine learning family and vulnerability type.
- Data extraction via a standardized matrix covering contributions, ML techniques, vulnerabilities targeted, limitations and future work.
Experimental results
Research questions
- RQ1What are the state-of-the-art ML techniques for identifying and mitigating specific vulnerabilities in smart contracts?
- RQ2What ML algorithms have been applied to smart contract vulnerability detection, and how do they differ in efficacy and limitations?
- RQ3What are the current research gaps and future work opportunities in applying ML to smart contract vulnerability detection?
Key findings
- Classical ML techniques (e.g., KNN, RF, DT, XGBoost, SVM) outperform traditional static analysis tools in vulnerability detection.
- Multi-model approaches that combine deep learning with classical ML yield improvements in precision and recall.
- Hybrid models employing multiple techniques achieve near-perfect performance in vulnerability detection accuracy (as reported in the survey).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.