The EggHuntGame::setEggFindThreshold function allows the contract owner to arbitrarily change the egg-finding probability without restrictions or transparency, creating a centralization risk that undermines game fairness.
The owner can set the egg-finding threshold to any value between 0-100% at any time:
This function:
Has no cooldown between changes
Has no limits on how drastically the threshold can change
Emits no events to notify players of changes
Can be called even during active gameplay
Owner can silently manipulate game outcomes to favor specific players
Players have no visibility into threshold changes
Game fairness is entirely dependent on owner's trustworthiness
Potential for abuse if there are economic incentives tied to egg collection
Manual code review
Implement constraints on the owner's ability to manipulate game mechanics:
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.