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

Random Number Generator function can be manipulated

Summary

Random Number Generator function can be manipulated.

Vulnerability Details

msg.sender, block.timestamp and block.difficulty can be manipulated by the validator.

Impact

Validator can manipulate the Random Number Generation function to win lottery.

Tools Used

Manual Review

Recommendations

Use oracle to generate Random Number.

Updates

Lead Judging Commences

Hamiltonite Lead Judge over 1 year 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.