Unknown Vulnerability Detection in Smart Contracts with Multi-Class Model using C-LSTM
Smart contracts have enhanced the blockchain ecosystem, while they have also greatly increased the risk of attack due to their numerous security vulnerabilities. Traditional detection techniques and static analysis methods mainly focus on detecting known vulnerabilities. Aiming at unknown vulnerabilities, we propose a novel detection method and build a multi-class model with C-LSTM (Convolutional Neural Network, Long Short-Term Memory), combining opcode sequences and deep learning. The proposed unknown vulnerabilities detection method leverages the similarity between opcode sequences of unknown and partially known vulnerabilities. It supports a faster response to a large number of contracts that need to be tested, but also can discover unknown vulnerabilities in advance. We conduct trials on 14,150 opcode sequences generated by executing transactions on Ethereum. Extensive experiments have verified the effectiveness and efficiency of the model.
Authors
- Peiqiang Li (ORCID: https://orcid.org/0000-0001-9479-2165)
- Xubin Li (ORCID: https://orcid.org/0000-0002-1547-4052)
- Tao Peng (ORCID: https://orcid.org/0000-0003-1653-4501)
- Mingfei Chen (ORCID: https://orcid.org/0000-0001-5131-6978)
- Yiming Guan (ORCID: https://orcid.org/0000-0002-5958-4878)
- Houji Chen (ORCID: https://orcid.org/0009-0009-5948-6846)
- Wenhao Gu (ORCID: https://orcid.org/0009-0000-9987-2295)
Institutions
- Guangzhou University (CN)
Publication Details
- Published
- 2025-04-18
- DOI
- https://doi.org/10.1109/scecs65243.2025.11065151
- Primary Topic
- Insurance and Financial Risk Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Natural Science Foundation of Guangdong Province