Vulnerability Detection in Ethereum Smart Contracts via Machine Learning: A Qualitative Analysis
Not on the map. Why?
Abstract (arXiv)
Smart contracts are central to a myriad of critical blockchain applications, from financial transactions to supply chain management. However, their adoption is hindered by security vulnerabilities that can result in significant financial losses. Most vulnerability detection tools and methods available nowadays leverage either static analysis methods or machine learning. Unfortunately, as valuable as they are, both approaches suffer from limitations that make them only partially effective. In this survey, we analyze the state of the art in machine-learning vulnerability detection for Ethereum smart contracts, by categorizing existing tools and methodologies, evaluating them, and highlighting their limitations. Our critical assessment unveils issues such as restricted vulnerability coverage and dataset construction flaws, providing us with new metrics to overcome the difficulties that restrain a sound comparison of existing solutions. Driven by our findings, we discuss best practices to enhance the accuracy, scope, and efficiency of vulnerability detection in smart contracts. Our guidelines address the known flaws while at the same time opening new avenues for research and development. By shedding light on current challenges and offering novel directions for improvement, we contribute to the advancement of secure smart contract development and blockchain technology as a whole.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 44 of its 126 references that are in the map. First posted on arXiv 26 Jul 2024.
Builds on
44 of 126 references.
References · 44
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AIcited by 1,543
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2020Graph Neural Networks in Recommender Systems: A Surveycited by 493
- 2015Adversarial Autoencoderscited by 359
- 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
- 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
- 2017Natural Language Processing: State of The Art, Current Trends and Challengescited by 114
- 2019Slither: A Static Analysis Framework For Smart Contractscited by 88
- 2018Securify: Practical Security Analysis of Smart Contractscited by 61
- 2019Manticore: A User-Friendly Symbolic Execution Framework for Binaries and Smart Contractscited by 36
32 more
- 2019Empirical Review of Automated Analysis Tools on 47,587 Ethereum Smart Contractscited by 35
- 2021Combining Graph Neural Networks with Expert Knowledge for Smart Contract Vulnerability Detectioncited by 34
- 2019A Survey on Ethereum Systems Security: Vulnerabilities, Attacks and Defensescited by 25
- 2021Smart Contract Vulnerability Detection: From Pure Neural Network to Interpretable Graph Feature and Expert Pattern Fusioncited by 24
- 2020How Effective are Smart Contract Analysis Tools? Evaluating Smart Contract Static Analysis Tools Using Bug Injectioncited by 20
- 2018Vandal: A Scalable Security Analysis Framework for Smart Contractscited by 18
- 2020SmartBugs: A Framework to Analyze Solidity Smart Contractscited by 18
- 2021Bag-of-Words vs. Graph vs. Sequence in Text Classification: Questioning the Necessity of Text-Graphs and the Surprising Strength of a Wide MLPcited by 17
- 2020A Survey of Smart Contract Formal Specification and Verificationcited by 14
- 2019The Art of The Scam: Demystifying Honeypots in Ethereum Smart Contractscited by 13
- 2020eThor: Practical and Provably Sound Static Analysis of Ethereum Smart Contractscited by 11
- 2020Multi-Class classification of vulnerabilities in Smart Contracts using AWD-LSTM, with pre-trained encoder inspired from natural language processingcited by 7
- 2021Eth2Vec: Learning Contract-Wide Code Representations for Vulnerability Detection on Ethereum Smart Contractscited by 7
- 2024Improving Smart Contract Security with Contrastive Learning-based Vulnerability Detectioncited by 7
- 2020A comprehensive survey on smart contract construction and execution: paradigms, tools, and systemscited by 4
- 2021ESCORT: Ethereum Smart COntRacTs Vulnerability Detection using Deep Neural Network and Transfer Learningcited by 4
- 2021xFuzz: Machine Learning Guided Cross-Contract Fuzzingcited by 4
- 2023VulnSense: Efficient Vulnerability Detection in Ethereum Smart Contracts by Multimodal Learning with Graph Neural Network and Language Modelcited by 4
- 2018Hunting the Ethereum Smart Contract: Color-inspired Inspection of Potential Attackscited by 3
- 2019VeriSolid: Correct-by-Design Smart Contracts for Ethereumcited by 3
- 2019Defining Smart Contract Defects on Ethereumcited by 3
- 2023Evolution of Automated Weakness Detection in Ethereum Bytecode: a Comprehensive Studycited by 3
- 2023OpenSCV: An Open Hierarchical Taxonomy for Smart Contract Vulnerabilitiescited by 3
- 2023Consolidation of Ground Truth Sets for Weakness Detection in Smart Contractscited by 3
- 2018sCompile: Critical Path Identification and Analysis for Smart Contractscited by 2
- 2020A Framework and DataSet for Bugs in Ethereum Smart Contractscited by 2
- 2021Towards Self-Adaptive Metric Learning On the Flycited by 2
- 2023An Automated Vulnerability Detection Framework for Smart Contractscited by 2
- 2024Smart Contract Languages: a comparative analysiscited by 2
- 2020Vyper: A Security Comparison with Solidity Based on Common Vulnerabilitiescited by 1
- 2021The Good, the Bad and the Ugly: Pitfalls and Best Practices in Automated Sound Static Analysis of Ethereum Smart Contractscited by 1
- 2021SmartScan: An approach to detect Denial of Service Vulnerability in Ethereum Smart Contractscited by 1
Built on by
Citing papers per year: 2025: 2.
2 papers.
- 2025Prompt to Pwn: Automated Exploit Generation for Smart Contractscited by 4
- 2025Assessing Code Understanding in LLMscited by 2
- 2025Prompt to Pwn: Automated Exploit Generation for Smart Contracts2 Aug 2025
- 2025Assessing Code Understanding in LLMs31 Mar 2025