A Data Consistency Insurance Method for Smart Contract

可重入 计算机安全 计算机科学 智能合约 一致性(知识库) 灵活性(工程) 危害 审计 业务 锁(火器) 风险分析(工程) 块链 会计 经济 工程类 法学 操作系统 人工智能 管理 政治学 机械工程
作者
Jing Deng,Xiaofei Xing,Guoqiang Deng,Ning Hu,Shen Su,Le Wang,Md Zakirul Alam Bhuiyan
出处
期刊:Computers, materials & continua 卷期号:76 (3): 3783-3795 被引量:1
标识
DOI:10.32604/cmc.2023.034116
摘要

As one of the major threats to the current DeFi (Decentralized Finance) ecosystem, reentrant attack induces data inconsistency of the victim smart contract, enabling attackers to steal on-chain assets from DeFi projects, which could terribly do harm to the confidence of the blockchain investors. However, protecting DeFi projects from the reentrant attack is very difficult, since generating a call loop within the highly automatic DeFi ecosystem could be very practicable. Existing researchers mainly focus on the detection of the reentrant vulnerabilities in the code testing, and no method could promise the non-existent of reentrant vulnerabilities. In this paper, we introduce the database lock mechanism to isolate the correlated smart contract states from other operations in the same contract, so that we can prevent the attackers from abusing the inconsistent smart contract state. Compared to the existing resolutions of front-running, code audit, and modifier, our method guarantees protection results with better flexibility. And we further evaluate our method on a number of de facto reentrant attacks observed from Etherscan. The results prove that our method could efficiently prevent the reentrant attack with less running cost.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
ZJY发布了新的文献求助10
1秒前
22关注了科研通微信公众号
3秒前
4秒前
4秒前
英姑应助ZJY采纳,获得10
5秒前
小蘑菇应助hhhh采纳,获得30
8秒前
听话的惜梦完成签到,获得积分10
11秒前
cherry bomb完成签到,获得积分10
11秒前
12秒前
14秒前
进步发布了新的文献求助10
15秒前
克林沙星完成签到,获得积分10
16秒前
16秒前
19秒前
李健的小迷弟应助十一采纳,获得10
20秒前
黄耀完成签到,获得积分10
21秒前
21秒前
多情含灵发布了新的文献求助10
22秒前
flow完成签到,获得积分10
24秒前
Kelsey完成签到 ,获得积分10
24秒前
湛湛发布了新的文献求助10
25秒前
dreamer发布了新的文献求助10
26秒前
粒子一号完成签到,获得积分10
27秒前
郭小宝发布了新的文献求助10
27秒前
如泣草芥完成签到,获得积分0
32秒前
卜小卜完成签到,获得积分10
34秒前
科研通AI2S应助留留采纳,获得10
34秒前
坦率白萱应助湛湛采纳,获得10
36秒前
倒霉的芒果完成签到 ,获得积分10
36秒前
Yang发布了新的文献求助10
40秒前
42秒前
麦克阿宇发布了新的文献求助10
43秒前
fengwx完成签到,获得积分10
43秒前
进步完成签到,获得积分10
43秒前
量子星尘发布了新的文献求助10
43秒前
45秒前
45秒前
在水一方应助张建采纳,获得10
46秒前
愤怒的店员完成签到,获得积分10
47秒前
47秒前
高分求助中
A new approach to the extrapolation of accelerated life test data 1000
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 500
‘Unruly’ Children: Historical Fieldnotes and Learning Morality in a Taiwan Village (New Departures in Anthropology) 400
Indomethacinのヒトにおける経皮吸収 400
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 350
Robot-supported joining of reinforcement textiles with one-sided sewing heads 320
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3988975
求助须知:如何正确求助?哪些是违规求助? 3531316
关于积分的说明 11253424
捐赠科研通 3269917
什么是DOI,文献DOI怎么找? 1804830
邀请新用户注册赠送积分活动 882063
科研通“疑难数据库(出版商)”最低求助积分说明 809068