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

Insecure randomness that can get rare NFT as much as possible

Summary

Insecure randomness that use block timestamp and address as input.

Vulnerability Details

Since the malicious user can manipulate the block.timestamp or use certain msg.sender address value to manipulate the final result.

Impact

Hacker can get rarity NFT as much as possible if the value is block.timestamp and block.difficulty is manipulated.

Tools Used

manual review

Recommendations

Use Chainlink VRF to get random number from off-chain method.

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.