The searchForEgg() function is vulnerable to front-running due to its reliance on publicly visible inputs.
The pseudo-random number depends on block.timestamp, block.prevrandao, and msg.sender, which can be observed in the mempool.
Miners or bots can replicate favorable conditions to guarantee egg findings.
Players can be outcompeted by bots, undermining fairness.
Manual reviews
Implement commit-reveal schemes or use Chainlink VRF.
Add a small ETH fee per attempt to discourage spam.
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.