已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!祝你早点完成任务,早点休息,好梦!

A Comparative Evaluation of Deep Learning Techniques for Smart Contract Vulnerability Classification

脆弱性(计算) 人工智能 计算机科学 深度学习 计算机安全
作者
Martina Rossini,Stefano Ferretti
标识
DOI:10.1145/3703462
摘要

Smart contracts are self-executing digital contracts that run on a blockchain network. They enable the automation and decentralization of various operations and have become increasingly popular in recent years. However, smart contracts are susceptible to vulnerabilities, and their deployment without proper security testing can result in severe consequences, such as financial losses and reputational damage. In this paper, we explore the use of deep learning techniques, particularly Convolutional Neural Networks (CNNs), for detecting and classifying vulnerabilities in smart contracts deployed on the Ethereum main net. We compare different kinds of neural architectures, i.e., a baseline LSTM, multiple 1D CNNs working on the smart contracts’ bytecode, a Vision Transformer (Swin v2 Tiny), and various 2D CNNs that work on RGB images obtained from the bytecode (i.e., ResNet-50, ResNeXt-50, Inception v3, and EfficientNetv2 Small). We provide an in-depth analysis of these techniques to classify a dataset of smart contracts we have collected. Our study shows that the use of deep neural networks can represent a promising technique to automatically assess smart contracts’ correctness and classify potential vulnerabilities. According to our experiments, the ResNet 1D CNN working directly on the smart contract bytecode offers the best results in terms of classification capabilities. Moreover, due to the unbalanced sizes of the different classes, the classification resulted in more effectiveness for the unchecked calls and reentrancy vulnerability classes, while still providing good results for others.

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
共享精神应助我爱科研采纳,获得10
刚刚
缥缈的芷卉完成签到 ,获得积分10
1秒前
breeze2000发布了新的文献求助10
1秒前
量子星尘发布了新的文献求助10
1秒前
敏感的百招完成签到,获得积分10
1秒前
青阳完成签到,获得积分10
3秒前
吉吉吉完成签到 ,获得积分10
4秒前
刘雪完成签到 ,获得积分10
5秒前
大大怪完成签到 ,获得积分10
5秒前
6秒前
7秒前
NexusExplorer应助jackscu采纳,获得10
8秒前
9秒前
跳跃的千亦完成签到 ,获得积分10
9秒前
10秒前
云气仙灵完成签到,获得积分10
11秒前
11秒前
tmrrr发布了新的文献求助30
12秒前
newplayer发布了新的文献求助10
13秒前
元宵发布了新的文献求助20
13秒前
14秒前
852应助一部船采纳,获得10
14秒前
俏皮的安萱完成签到 ,获得积分10
17秒前
Owen应助tabor采纳,获得10
18秒前
小夭发布了新的文献求助10
22秒前
newplayer完成签到,获得积分10
23秒前
紫色翡翠完成签到,获得积分10
23秒前
lj完成签到 ,获得积分10
23秒前
25秒前
27秒前
28秒前
所所应助Robin采纳,获得10
30秒前
科目三应助小夭采纳,获得10
30秒前
博弈春秋应助慈祥的冰露采纳,获得10
31秒前
一部船发布了新的文献求助10
32秒前
爱听歌时光完成签到,获得积分10
32秒前
32秒前
熠熠生辉完成签到 ,获得积分20
32秒前
CAOHOU应助灯飞采纳,获得10
33秒前
Ebony发布了新的文献求助10
34秒前
高分求助中
Picture Books with Same-sex Parented Families: Unintentional Censorship 1000
A new approach to the extrapolation of accelerated life test data 1000
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 500
Indomethacinのヒトにおける経皮吸収 400
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 310
宽量程高线性度柔性压力传感器的逆向设计 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3980612
求助须知:如何正确求助?哪些是违规求助? 3524503
关于积分的说明 11221754
捐赠科研通 3261938
什么是DOI,文献DOI怎么找? 1800981
邀请新用户注册赠送积分活动 879568
科研通“疑难数据库(出版商)”最低求助积分说明 807320