BlockScope: Detecting and Investigating Propagated Vulnerabilities in Forked Blockchain Projects
Xiao Yi, Yuzhou Fang, Daoyuan Wu, Lingxiao Jiang

TL;DR
This paper introduces BlockScope, a tool for detecting propagated vulnerabilities in forked blockchain projects, significantly improving detection recall and uncovering numerous previously unknown vulnerabilities.
Contribution
The paper presents BlockScope, a novel similarity-based code matching tool that effectively detects cloned vulnerabilities across forked blockchain codebases.
Findings
BlockScope achieves 91.8% recall, 1.8 times higher than ReDeBug.
Discovered 101 previously unknown vulnerabilities in 13 forked projects.
Identified three propagation types and patch delay issues in Bitcoin forks.
Abstract
Due to the open-source nature of the blockchain ecosystem, it is common for new blockchains to fork or partially reuse the code of classic blockchains. For example, the popular Dogecoin, Litecoin, Binance BSC, and Polygon are all variants of Bitcoin/Ethereum. These "forked" blockchains thus could encounter similar vulnerabilities that are propagated from Bitcoin/Ethereum during forking or subsequently commit fetching. In this paper, we conduct a systematic study of detecting and investigating the propagated vulnerabilities in forked blockchain projects. To facilitate this study, we propose BlockScope, a novel tool that can effectively and efficiently detect multiple types of cloned vulnerabilities given an input of existing Bitcoin/Ethereum security patches. Specifically, BlockScope adopts similarity-based code match and designs a new way of calculating code similarity to cover all the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security · Cloud Computing and Resource Management · Advanced Malware Detection Techniques
