Randomness in the EggHuntGame is generated on-chain which is totally predictable since blockchains are deterministic:
Additionally, not all EVM-compatible chains implement the PREVRANDO opcode, and even those who does it have different implementations, for example:
Scroll: always returns 0
ZKsync Era: always returns a constant value of 2500000000000000
In the examples above it will be useless to generate a random number but, on other chains that does not support the opcode, the game contract may not be even deployable at all.
Manual review
Use off-chain solutions like ChainLink VRF or Gelato VRF which generate truly random numbers and are supported on most EVM-compatible chains.
Insecure methods to generate pseudo-random numbers
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.