SC-CCA: A Deep Learning Framework for Smart Contract Vulnerability Detection Based on CNN, BiLSTM, and Self-Attention Mechanism

Smart contracts, one of the most prominent applications of blockchain, are changing the way sectors like finance and law operate. On the flip side, code vulnerabilities on smart contracts are bad news for all, even more for those that trade and resell large amounts of digital assets, since the possible consequences can be disastrous. In this study, we propose SC-CCA, a new deep learning framework that specifically tackles the limitations of conventional methods for detecting smart contract vulnerabilities. SC-CCA embeds CNN combined with Bi-LSTM and Self-Attention Mechanism for further improving the extraction of features from a contract code. In this framework, the use of pre-trained CodeBERT language models for word embedding improves the ability of the feature extraction module to obtain more comprehensive semantic information and context-related information. Feature extraction and pipelined feature concatenation at different levels improve detection and robustness. Experimental results show that, especially in the context of vulnerability detection, SC-CCA achieves higher accuracy, recall and F1-score when compared to existing approaches on the Smart Willed datasets. Our research offers valuable insights for analyzing complex code and detecting a wider range of vul-nerabilities in smart contracts.

Authors

Institutions

Publication Details

Published
2024-12-13
DOI
https://doi.org/10.1109/icftic64248.2024.10913127
Citations
1
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
2.23
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SC-CCA: A Deep Learning Framework for Smart Contract Vulnerability Detection Based on CNN, BiLSTM, and Self-Attention Mechanism

Xiangyang Feng, Wen Chen
1 citations
Artificial Intelligence in Law
2.23
article

SC-CCA: A Deep Learning Framework for Smart Contract Vulnerability Detection Based on CNN, BiLSTM, and Self-Attention Mechanism

Xiangyang Feng, Wen Chen
article en
1 citations

Abstract

Smart contracts, one of the most prominent applications of blockchain, are changing the way sectors like finance and law operate. On the flip side, code vulnerabilities on smart contracts are bad news for all, even more for those that trade and resell large amounts of digital assets, since the possible consequences can be disastrous. In this study, we propose SC-CCA, a new deep learning framework that specifically tackles the limitations of conventional methods for detecting smart contract vulnerabilities. SC-CCA embeds CNN combined with Bi-LSTM and Self-Attention Mechanism for further improving the extraction of features from a contract code. In this framework, the use of pre-trained CodeBERT language models for word embedding improves the ability of the feature extraction module to obtain more comprehensive semantic information and context-related information. Feature extraction and pipelined feature concatenation at different levels improve detection and robustness. Experimental results show that, especially in the context of vulnerability detection, SC-CCA achieves higher accuracy, recall and F1-score when compared to existing approaches on the Smart Willed datasets. Our research offers valuable insights for analyzing complex code and detecting a wider range of vul-nerabilities in smart contracts.

Donghua University (CN)
Openalex Percentile: Top 8%
Artificial Intelligence in Law
2.23
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

SC-CCA: A Deep Learning Framework for Smart Contract Vulnerability Detection Based on CNN, BiLSTM, and Self-Attention Mechanism — Xiangyang Feng, Wen Chen · (2024) | TGRS Research Map | TGRS