SmartOracle: Generating Smart Contract Oracle via Fine-Grained Invariant Detection

计算机科学 甲骨文公司 程序设计语言 不变(物理) 智能合约 随机预言 分布式计算 软件工程 操作系统 数据库事务 加密 物理 公钥密码术 数学物理
作者
Jianzhong Su,Jiachi Chen,Zhiyuan Fang,Xingwei Lin,Yutian Tang,Zibin Zheng
出处
期刊:IEEE Transactions on Software Engineering [IEEE Computer Society]
卷期号:51 (4): 947-959 被引量:13
标识
DOI:10.1109/tse.2025.3534567
摘要

As decentralized applications (DApps) proliferate, the increased complexity and usage of smart contracts have heightened their susceptibility to security incidents and financial losses. Although various vulnerability detection tools have been developed to mitigate these issues, they often suffer poor performance in detecting vulnerabilities, as they either rely on simplistic and general-purpose oracles that may be inadequate for vulnerability detection, or require user-specified oracles, which are labor-intensive to create. In this paper, we introduce SmartOracle, a dynamic invariant detector that automatically generates fine-grained invariants as application-specific oracles for vulnerability detection. From historical transactions, SmartOracle uses pattern-based detection and advanced inference to construct comprehensive properties, and mines multi-layerlikelyinvariants to accommodate the complicated contract functionalities. After that, SmartOracle identifies smart contract vulnerabilities by hunting the violated invariants in new transactions. In the field of invariant detection, SmartOracle detects 50% more ERC20 invariants than existing dynamic invariant detection and achieves 96% precision rate. Furthermore, we build a dataset that contains vulnerable contracts from real-world security incidents. SmartOracle successfully detects 466 abnormal transactions with an acceptable precision rate 96%, involving 31 vulnerable contracts. The experimental results demonstrate its effectiveness in detecting smart contract vulnerabilities, especially those related to complicated contract functionalities.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
嘻嘻嘻发布了新的文献求助10
1秒前
2秒前
马牧原1224完成签到 ,获得积分10
2秒前
天天快乐的应助被狄扬采纳,获得10
2秒前
不嘻嘻嘻发布了新的文献求助10
2秒前
2秒前
我就吃一口完成签到,获得积分10
3秒前
旺仔TT发布了新的文献求助10
4秒前
4秒前
鲤鱼完成签到,获得积分10
5秒前
sty发布了新的文献求助10
6秒前
李健的小迷弟的应助被Lei采纳,获得10
6秒前
胖大海仙发布了新的文献求助10
7秒前
XunGe完成签到,获得积分10
7秒前
平常水卉发布了新的文献求助10
8秒前
Wangchao的应助被NIHAO采纳,获得10
8秒前
9秒前
冷傲书萱发布了新的文献求助10
9秒前
大个的应助被花甲采纳,获得10
10秒前
11秒前
旺仔TT完成签到,获得积分20
11秒前
zhaozhao发布了新的文献求助10
13秒前
14秒前
14秒前
14秒前
14秒前
15秒前
李丽丽完成签到 ,获得积分10
15秒前
15秒前
Lorin完成签到,获得积分10
15秒前
15秒前
lujiajia发布了新的文献求助10
15秒前
15秒前
lujiajia发布了新的文献求助10
15秒前
15秒前
15秒前
15秒前
15秒前
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
METTL3-Mediated m6A Modification of PSAT1 mRNA Promotes HER2-Positive Breast Cancer Resistance to Trastuzumab 1000
The Martian climate revisited : atmosphere and environment of a desert planet 600
Bonding in Metal(IV) Hexafluorides Examined Using Fluorine K-edge X-ray Absorption Spectroscopy 500
Trend and Out-of-Trend Analysis for Pharmaceutical Quality and Manufacturing Using Minitab 500
初発骨髄異形成腫瘍におけるIPSS-RとIPSS-Mの比較:単施設での検討 500
Sleisenger and Fordtran's Gastrointestinal and Liver Disease - 2 Volume Set Pathophysiology, Diagnosis, Management 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8233042
求助须知:如何正确求助?哪些是违规求助? 9609536
关于积分的说明 22050574
捐赠科研通 7846022
什么是DOI,文献DOI怎么找? 3451064
关于科研通互助平台的介绍 2570972
邀请新用户注册赠送积分活动 2500290