Location: EggHuntGame.sol
, searchForEgg()
function
uint256 random = uint256(
keccak256(abi.encodePacked(block.timestamp, block.prevrandao, msg.sender, eggCounter))
) % 100;
Miners can manipulate block.timestamp and block.prevrandao
Users can predict outcomes by frontrunning transactions
Game fairness can be compromised
manual review
Use a commit-reveal scheme or oracle-based randomness
Consider using Chainlink VRF for verifiable randomness
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.