An Automated Vulnerability Detection Framework for Smart Contracts
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.
Authors
- Latifur Khan (ORCID: https://orcid.org/0000-0002-9300-1576)
- Bhavani Thuraisingham (ORCID: https://orcid.org/0000-0003-4653-2080)
- Sadaf MD Halim (ORCID: https://orcid.org/0000-0002-4152-8122)
- Zhouxiang Wu (ORCID: https://orcid.org/0000-0002-4005-9205)
- Xiaodi Li
- Chen Zhao (ORCID: https://orcid.org/0000-0002-6400-0048)
- Zongyu Wang (ORCID: https://orcid.org/0000-0003-2136-5511)
- Feng Mi (ORCID: https://orcid.org/0000-0002-9648-2301)
Institutions
- Baylor University (US)
- The University of Texas at Dallas (US)
Publication Details
- Journal
- Distributed Ledger Technologies Research and Practice
- Published
- 2024-11-23
- DOI
- https://doi.org/10.1145/3705616
- Citations
- 5
- Primary Topic
- Blockchain Technology Applications and Security
- Type
- article
- Field-Weighted Citation Impact
- 2.34