Demystifying Random Number in Ethereum Smart Contract: Taxonomy, Vulnerability Identification, and Attack Detection (TSE Accepted)
Last updated Dec 30, 2025
24
Stars
2
Forks
1
Issues
0
Stars/day
Attention Score
9
Language breakdown
Python 100.0%
▸ Files
click to expand
README
RNVulDet
This repo is a python implementation of our RNVulDet – a tool that incorporates taint analysis techniques to automatically unearth random number vulnerabilities and detect attack transactions.
Overview

Usage
python3.10 main.py BYTECODEFILE [-o OUTPUTFILE]
Dataset
Dataset\_1 contains 34 smart contracts reported to possess the random number bug.Dataset\_2 includes a total of 214 smart contracts that do not have random number vulnerabilities.
Dataset\_3 consists of 4,617 potential victim contracts, 43,051 potential malicious contracts, and 49,951 suspicious transactions for experiments.
🔗 More in this category