Smart contract technology facilitates self-executing agreements on the blockchain, eliminating dependency on an external trusted authority. However, smart contracts may expose vulnerabilities that can lead to financial losses and disruptions in decentralized applications. In this work, we evaluate deep learning-based approaches for vulnerability scanning of Ethereum smart contracts. We propose VASCOT, a Vulnerability Analyzer for Smart COntracts using Transformers, which performs sequential analysis of Ethereum Virtual Machine (EVM) bytecode and incorporates a sliding window mechanism to overcome input length constraints. To assess VASCOT's detection efficacy, we construct a dataset of 16,469 verified Ethereum contracts deployed in 2022, and annotate it using trace analysis with concrete validation to mitigate false positives. VASCOT's performance is then compared against a state-of-the-art LSTM-based vulnerability detection model on both our dataset and an older public dataset. Our findings highlight the strengths and limitations of each model, providing insights into their detection capabilities and generalizability.


翻译:智能合约技术促进了区块链上自执行协议的实施,消除了对外部可信机构的依赖。然而,智能合约可能暴露漏洞,导致去中心化应用中的财务损失和运行中断。本研究评估了基于深度学习的以太坊智能合约漏洞扫描方法。我们提出了VASCOT,一种基于Transformer的智能合约漏洞分析器,该工具对以太坊虚拟机字节码进行序列分析,并引入滑动窗口机制以克服输入长度限制。为评估VASCOT的检测效能,我们构建了包含16,469个2022年部署的已验证以太坊合约的数据集,并通过结合具体验证的轨迹分析方法进行标注以降低误报率。随后在自建数据集和旧有公共数据集上,将VASCOT的性能与最先进的基于LSTM的漏洞检测模型进行对比。研究结果揭示了两种模型的优势与局限,为理解其检测能力和泛化性提供了新的见解。

0
下载
关闭预览

相关内容

《基于Transformer的智能体的战术决策解释》
专知会员服务
50+阅读 · 2025年12月28日
基于深度学习的程序合成研究进展
专知会员服务
18+阅读 · 2024年11月14日
面向智能博弈的决策Transformer方法综述
专知会员服务
202+阅读 · 2023年4月14日
【Google】高效Transformer综述,Efficient Transformers: A Survey
专知会员服务
66+阅读 · 2022年3月17日
专知会员服务
34+阅读 · 2021年5月8日
智能合约的形式化验证方法研究综述
专知
16+阅读 · 2021年5月8日
基于深度学习的数据融合方法研究综述
专知
37+阅读 · 2020年12月10日
深度学习模型可解释性的研究进展
专知
26+阅读 · 2020年8月1日
【智能金融】机器学习在反欺诈中应用
产业智能官
35+阅读 · 2019年3月15日
区块链隐私保护研究综述——祝烈煌详解
计算机研究与发展
23+阅读 · 2018年11月28日
智能时代如何构建金融反欺诈体系?
数据猿
12+阅读 · 2018年3月26日
国家自然科学基金
4+阅读 · 2017年12月31日
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
18+阅读 · 2009年12月31日
Arxiv
0+阅读 · 1月12日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
20+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
13+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
10+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
11+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
10+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
20+阅读 · 11月25日
相关基金
国家自然科学基金
4+阅读 · 2017年12月31日
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
18+阅读 · 2009年12月31日
Top
微信扫码咨询专知VIP会员