RNVulDet
RNVulDet copied to clipboard
Demystifying Random Number in Ethereum Smart Contract: Taxonomy, Vulnerability Identification, and Attack Detection (TSE Accepted)
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 BYTECODE_FILE [-o OUTPUT_FILE]
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.