ReJection: A AST-Based Reentrancy Vulnerability Detection Method

智能合约 脆弱性(计算) 编译程序 计算机科学 树遍历 信号量 块链 程序设计语言 计算机安全
作者
Rui Ma,Zefeng Jian,Guangyuan Chen,Ke Ma,Yujia Chen
出处
期刊:Communications in computer and information science [Springer Science+Business Media]
卷期号:: 58-71 被引量:7
标识
DOI:10.1007/978-981-15-3418-8_5
摘要

Blockchain is deeply integrated into the vertical industry, and gradually forms an application ecosphere of blockchain in various industries. However, the security incidents of blockchain occur frequently, and especially smart contracts have become the badly-disastered area. So avoiding security incidents caused by smart contracts has become an essential topic for blockchain developing. Up to now, there is not generic method for the security auditing of smart contracts and most researchers have to use existing vulnerability detection technology. To reduce the high false rate of smart contract vulnerability detection, we use ReJection, a detection method based on abstract syntax tree (AST), to focus on the reentrancy vulnerability with obvious harm and features in smart contracts. ReJection consists of four steps. Firstly, ReJection obtains the AST corresponding to the contract by the smart contract compiler solc. Then, AST is preprocessed to eliminate redundant information. Thirdly, ReJection traverses the nodes of the AST and records the notations related to reentrancy vulnerabilities during the traversal, such as Danger-Transfer function, Checks-Effects-Interactions pattern and mutex mechanism. Finally, ReJection uses record information and predefined rules to determine whether the reentrancy vulnerability is occurred. ReJection is implemented based on Slither, which is an open-source smart contract vulnerability detection tool. Furthermore, we also use the open-source smart contract code as the test program to compare experimental results to verify the effects with the ReJection and Slither. The result highlights that the ReJection has higher detection accuracy for reentrancy vulnerability.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
小趴菜发布了新的文献求助10
1秒前
全智贤发布了新的文献求助10
1秒前
彭佳丽发布了新的文献求助10
1秒前
浅辞完成签到,获得积分20
2秒前
靓仔xxx完成签到,获得积分10
3秒前
4秒前
科研通AI6.2应助wangxiu采纳,获得10
4秒前
5秒前
小二郎应助qaz123采纳,获得10
5秒前
6秒前
6秒前
XYT发布了新的文献求助10
7秒前
抹宁完成签到,获得积分10
7秒前
7秒前
蛋蛋完成签到,获得积分20
7秒前
DcQiu科研小白完成签到,获得积分10
8秒前
英俊的铭应助倾千奚山采纳,获得10
8秒前
peace完成签到,获得积分10
8秒前
8秒前
lulululi发布了新的文献求助10
9秒前
9秒前
傲娇映雁发布了新的文献求助50
9秒前
wxd完成签到,获得积分20
10秒前
脑洞疼应助哒哒采纳,获得10
10秒前
科研通AI6.4应助小趴菜采纳,获得10
10秒前
Xingyinshi发布了新的文献求助10
11秒前
11秒前
11秒前
jiege完成签到 ,获得积分10
11秒前
jinjin完成签到,获得积分10
11秒前
11秒前
12秒前
科研通AI6.4应助哩哩采纳,获得10
13秒前
13秒前
慕青应助冷艳的裙子采纳,获得10
14秒前
shen发布了新的文献求助10
14秒前
jitanxiang完成签到,获得积分10
14秒前
传奇3应助小丁同学采纳,获得10
14秒前
YDSG完成签到,获得积分10
15秒前
15秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
48V Low-voltage Power Distribution Network (PDN) Architecture Industry Report, 2024 800
ズームレンズの光学設計に関する研究 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
Matrix Methods in Data Mining and Pattern Recognition Second Edition 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7296568
求助须知:如何正确求助?哪些是违规求助? 8914913
关于积分的说明 18877119
捐赠科研通 6962654
什么是DOI,文献DOI怎么找? 3210451
关于科研通互助平台的介绍 2379695
邀请新用户注册赠送积分活动 2186822