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

Revealing Hidden Threats: An Empirical Study of Library Misuse in Smart Contracts

计算机科学 坚固性 审计 万维网 智能合约 计算机安全 业务 会计 块链 程序设计语言
作者
Mingyuan Huang,Jiachi Chen,Zigui Jiang,Zibin Zheng
标识
DOI:10.1145/3597503.3623335
摘要

Smart contracts are Turing-complete programs that execute on the blockchain. Developers can implement complex contracts, such as auctions and lending, on Ethereum using the Solidity programming language. As an object-oriented language, Solidity provides libraries within its syntax to facilitate code reusability and reduce development complexity. Library misuse refers to the incorrect writing or usage of libraries, resulting in unexpected results, such as introducing vulnerabilities during library development or incorporating an unsafe library during contract development. Library misuse could lead to contract defects that cause financial losses. Currently, there is a lack of research on library misuse. To fill this gap, we collected more than 500 audit reports from the official websites of five audit companies and 223,336 real-world smart contracts from Etherscan to measure library popularity and library misuse. Then, we defined eight general patterns for library misuse; three of them occurring during library development and five during library utilization, which covers the entire library lifecycle. To validate the practicality of these patterns, we manually analyzed 1,018 real-world smart contracts and publicized our dataset. We identified 905 misuse cases across 456 contracts, indicating that library misuse is a widespread issue. Three patterns of misuse are found in more than 50 contracts, primarily due to developers lacking security awareness or underestimating negative impacts. Additionally, our research revealed that vulnerable libraries on Ethereum continue to be employed even after they have been deprecated or patched. Our findings can assist contract developers in preventing library misuse and ensuring the safe use of libraries.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
嗯哼应助科研通管家采纳,获得20
5秒前
快乐飞丹发布了新的文献求助10
6秒前
星辰大海应助雾非雾采纳,获得50
9秒前
9秒前
13秒前
13秒前
平常芝麻发布了新的文献求助10
13秒前
奋斗的宛白完成签到 ,获得积分10
13秒前
15秒前
Master发布了新的文献求助10
16秒前
yuyu发布了新的文献求助10
17秒前
周再乐发布了新的文献求助10
18秒前
香蕉觅云应助坚强的严青采纳,获得10
20秒前
lightman完成签到,获得积分10
21秒前
yuyu完成签到,获得积分20
26秒前
26秒前
研友_ZelDDn完成签到,获得积分20
28秒前
现代怀蝶发布了新的文献求助10
29秒前
SCZOU完成签到,获得积分10
36秒前
Niki完成签到,获得积分10
38秒前
40秒前
丸子完成签到 ,获得积分10
41秒前
43秒前
Niki发布了新的文献求助10
44秒前
千年主治发布了新的文献求助20
46秒前
1分钟前
huamo发布了新的文献求助10
1分钟前
小萌兽完成签到 ,获得积分10
1分钟前
1分钟前
1分钟前
1分钟前
刘卫朋发布了新的文献求助10
1分钟前
八二力完成签到,获得积分10
1分钟前
wanna发布了新的文献求助10
1分钟前
八二力发布了新的文献求助10
1分钟前
Alanni完成签到 ,获得积分10
1分钟前
1分钟前
杀殿完成签到 ,获得积分10
1分钟前
雾非雾发布了新的文献求助50
1分钟前
1分钟前
高分求助中
Production Logging: Theoretical and Interpretive Elements 2500
Healthcare Finance: Modern Financial Analysis for Accelerating Biomedical Innovation 2000
Applications of Emerging Nanomaterials and Nanotechnology 1111
Agaricales of New Zealand 1: Pluteaceae - Entolomataceae 1040
Les Mantodea de Guyane Insecta, Polyneoptera 1000
Neuromuscular and Electrodiagnostic Medicine Board Review 700
지식생태학: 생태학, 죽은 지식을 깨우다 600
热门求助领域 (近24小时)
化学 医学 材料科学 生物 工程类 有机化学 生物化学 纳米技术 内科学 物理 化学工程 计算机科学 复合材料 基因 遗传学 物理化学 催化作用 细胞生物学 免疫学 电极
热门帖子
关注 科研通微信公众号,转发送积分 3466772
求助须知:如何正确求助?哪些是违规求助? 3059556
关于积分的说明 9066946
捐赠科研通 2750012
什么是DOI,文献DOI怎么找? 1508915
科研通“疑难数据库(出版商)”最低求助积分说明 697115
邀请新用户注册赠送积分活动 696896