Mystery Box

First Flight #25
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Invalid

wrong mechanism for generating random number

Summary

Randomness generation mechanism is wrong

Vulnerability Details

never use block.number , block.timestamp for generating the random number becuase it can be easily exploited by attacker

Impact

any user can generate random number on its own and can get type of coin what user wants

Tools Used

Manual

Recommendations

not use block.timestamp , block,number for random value generation

Updates

Appeal created

inallhonesty Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality
parmakhanm786 Submitter
11 months ago
inallhonesty Lead Judge
11 months ago
inallhonesty Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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