Mystery Box

First Flight #25
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: medium
Valid

Weak randomness

Summary

Weak randomness used in MysteryBox::openBox means that block validators have influence over the rewards people can access.

Vulnerability Details

Weak randomness so a block validator can manipulate the rewards users get, which could be used to negatively impact victims and benefit the block validator's self interest.

Impact

High

Tools Used

Foundry

Recommendations

Use a decentralised oracle (chainlink vrf) for randomness

Updates

Lead Judging Commences

inallhonesty Lead Judge
about 1 year ago

Appeal created

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Weak Randomness

Support

FAQs

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

Give us feedback!