Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: high
Valid

SELECTIVE_PACKING_RANDOM_VULNERABILITY

Summary

Random is vulnerable for the selective packing by miner

Vulnerability Details

Random use block.difficulty as a random source. When miner mines block and knows who would be the winner, he can drop the block if the winner is not the desired. Miner can mine blocks until he generate the block with the correct winner and broadcast it

Impact

Winner can be chose by miner in POW network

Tools Used

Recommendations

Use random oracle

Updates

Lead Judging Commences

patrickalphac Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

weak-randomness

Root cause: bad RNG Impact: manipulate winner

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.