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

Using weak source of randomness for generating winner and NFT rarity

Summary

Using weak source of randomness for generating winner and NFT rarity

Vulnerability Details

Winner and NFT rarity is generated by using block.timestamp and block.difficulty. The block.timestamp and block.difficulty is transparent to anyone. Malicious attacker can predict the winner and NFT rarity.

Impact

Malicious attacker can control the winner and NFT rarity and get the prize and legendary NFT.

Tools Used

manual

Recommendations

Using external sources of randomness via oracles like Chainlink VRF.

Updates

Lead Judging Commences

Hamiltonite Lead Judge about 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.

Give us feedback!