亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
科研通AI6应助科研通管家采纳,获得10
6秒前
NattyPoe应助科研通管家采纳,获得10
6秒前
科研通AI2S应助科研通管家采纳,获得20
6秒前
9秒前
852应助一碗鱼采纳,获得10
22秒前
wanci应助andrele采纳,获得10
26秒前
27秒前
量子星尘发布了新的文献求助10
28秒前
35秒前
一碗鱼发布了新的文献求助10
39秒前
44秒前
theo完成签到 ,获得积分10
49秒前
糕冷草莓完成签到,获得积分10
1分钟前
英姑应助一碗鱼采纳,获得10
1分钟前
1分钟前
1分钟前
1分钟前
一碗鱼发布了新的文献求助10
1分钟前
一碗鱼完成签到,获得积分10
2分钟前
2分钟前
科研通AI6应助科研通管家采纳,获得10
2分钟前
2分钟前
小糊涂仙儿完成签到 ,获得积分10
2分钟前
2分钟前
Isabelle发布了新的文献求助10
3分钟前
Timelapse发布了新的文献求助10
3分钟前
ZhiyunXu2012完成签到 ,获得积分10
3分钟前
3分钟前
3分钟前
惘然111222发布了新的文献求助10
4分钟前
4分钟前
4分钟前
4分钟前
4分钟前
beginnerofsci发布了新的文献求助10
4分钟前
科研通AI6应助科研通管家采纳,获得10
4分钟前
toutou应助科研通管家采纳,获得10
4分钟前
toutou应助科研通管家采纳,获得10
4分钟前
toutou应助科研通管家采纳,获得10
4分钟前
惘然111222完成签到,获得积分10
4分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Forensic and Legal Medicine Third Edition 5000
Introduction to strong mixing conditions volume 1-3 5000
Agyptische Geschichte der 21.30. Dynastie 3000
Aerospace Engineering Education During the First Century of Flight 2000
从k到英国情人 1700
„Semitische Wissenschaften“? 1510
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5772792
求助须知:如何正确求助?哪些是违规求助? 5602544
关于积分的说明 15430087
捐赠科研通 4905627
什么是DOI,文献DOI怎么找? 2639585
邀请新用户注册赠送积分活动 1587478
关于科研通互助平台的介绍 1542423