Description: The RockPaperScissors::createGameWithEth()
and RockPaperScissors::createGameWithToken()
functions don't validate the _timeoutInterval
parameter against a maximum value.
Impact: Players could set excessively long timeout intervals, potentially locking funds in the contract for extended periods.
Proof of Concept:
Recommended Mitigation: Add a maximum timeout value check, e.g., require(_timeoutInterval <= 24 hours, "Timeout too long");
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.