Description: game owner can set the eggFindThreshold at any time, when it is 0, all searchEgg calls will fail, when it is 100, all searchEgg calls will succeed.
game owner can use MEV to manipulate the outcome of any users searchEgg calls.
Impact: This breaks the fairness of the game, allowing the game owner to control the outcome of the egg hunt.
Proof of Concept: add following test and run it
Recommended Mitigation:
reconsider the game logic, like once game start, the game should not be stop till end time and the eggFindThreshold should not be changed.
Owner is trusted and is not expected to interact in ways that would compromise security
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.