An Automated Vulnerability Detection Framework for Smart Contracts
Top Cited Papers
Open Access
- 6 May 2026
- journal article
- Published by Association for Computing Machinery (ACM) in Distributed Ledger Technologies: Research and Practice
- Vol. 5 (3) , 1-21
Abstract
With the increase of the adoption of blockchain technology in providing decentralized solutions to various problems, smart contracts have become more popular to the point that billions of US Dollars are currently exchanged every day through such technology. Meanwhile, various vulnerabilities in smart contracts have been exploited by attackers to steal cryptocurrencies worth millions of dollars. The automatic detection of smart contract vulnerabilities therefore is an essential research problem. Existing solutions to this problem particularly rely on human experts to define features or different rules to detect vulnerabilities. However, this often causes many vulnerabilities to be ignored, and they are inefficient in detecting new vulnerabilities. In this study, to overcome such challenges, we propose a framework to automatically detect vulnerabilities in smart contracts on the blockchain. More specifically, first, we utilize novel feature vector generation techniques from bytecode of smart contract as source code is rarely publicly available. These feature vectors are then analyzed using our innovative metric learning-based Deep Neural Networks (DNNs) to produce detection results. The framework’s predictions are further refined through a voting mechanism to achieve consensus. We conduct comprehensive experiments on large-scale benchmarks, and the quantitative results demonstrate the effectiveness and efficiency of our approach.Keywords
All Related Versions
Funding Information
- NSF Awards (DMS-1737978, DGE-2039542, OAC-1828467, OAC-1931541, DGE-1906630)
- ONR (N00014-20-1-2738)
This publication has 26 references indexed in Scilit:
- Privacy-Preserving Identity-Based Data Rights Governance for Blockchain-Empowered Human-Centric Metaverse CommunicationsIEEE Journal on Selected Areas in Communications, 2023
- NANO: Cryptographic Enforcement of Readability and Editability Governance in Blockchain DatabasesIEEE Transactions on Dependable and Secure Computing, 2023
- Software Vulnerability Detection Using Deep Neural Networks: A SurveyProceedings of the IEEE, 2020
- SoliAudit: Smart Contract Vulnerability Assessment Based on Machine Learning and Fuzz Testing2019
- Multi-Similarity Loss With General Pair Weighting for Deep Metric Learning2019
- Healthcare Blockchain System Using Smart Contracts for Secure Automated Remote Patient MonitoringJournal of Medical Systems, 2018
- Deep Adversarial Metric Learning2018
- Learning to compare image patches via convolutional neural networks2015
- Control flow-based opcode behavior analysis for Malware detectionComputers & Security, 2014
- Data Mining2011