The openBox function uses block.timestamp and msg.sender to generate a "random" number, which is vulnerable to manipulation by miners or adversarial users, as these values can be influenced or predicted.
The random number is predictable due to weak entropy sources.
manual review
While true randomness is difficult to achieve on-chain, you can improve randomness by incorporating more unpredictable inputs like block.difficulty or an external randomness oracle such as 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.