Trick or Treat

First Flight #27

Trick or Treat

Beginner FriendlyFoundry
100 EXP
Submission Details
Severity: low
Invalid

[H-1] Weak Randomness in `SpookySwap::trickOrTreat` which allows anyone to manipulate the outcome to get the treat half the price.

Updates

Appeal created

bube Lead Judge 18 days ago
Submission Judgement Published
Invalidated
Reason: Known issue
Assigned finding tags:

[invalid] Weak randomness

It's written in the README: "We're aware of the pseudorandom nature of the current implementation. This will be replaced with Chainlink VRF in later builds." This is a known issue.

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.

Cyfrin
Updraft
CodeHawks
Solodit
Resources