Demystifying Random Number in Ethereum Smart Contract: Taxonomy, Vulnerability Identification, and Attack Detection
Peng QianJianting HeLingling LuSiwei WuZhipeng Lu
Lei Wu
Yajin ZhouQHQinming He
Peng Qian
Jianting He
Lingling Lu
Siwei Wu
Zhipeng Lu

Lei Wu

Yajin Zhou
QHQinming He
+8
This paper presents the first systematic taxonomy of pseudo-random number generation in Ethereum smart contracts, categorizing bad randomness attacks into four types. It introduces RNVulDet, a tool using taint analysis to automatically identify bad randomness vulnerabilities and detect corresponding attack transactions. Evaluated on three new datasets, RNVulDet outperforms three state-of-the-art detectors in both accuracy and speed, averaging 2.98 seconds per contract and discovering 44,264 attack transactions.

arXiv ·
· April 25, 2023