Using block.timestamp and block.prevrandao as a sources of randomness is not advised, as the outcome can be manipulated by the miners or validators.
https://github.com/Cyfrin/2024-06-Dussehra/blob/main/src/ChoosingRam.sol#L51-L52
Here, we see that block.timestamp and block.prevrandao are used in order to generate a random number. However, use of block.timestamp and block.prevrandao is insecure and not advised.
Incorrect randomness
Manual Review
Using external sources of randomness via oracles like Chainlink VRF.
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.