Rock Paper Scissors

First Flight #38
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: low
Invalid

[L-2] No max `_timeoutInterval` on game creation

Description: The _timeoutInterval parameter in createGameWithEth and createGameWithToken controls how long each reveal phase lasts. While a minimum of 5 minutes is enforced, there is no maximum cap, allowing users to create games with unreasonably large timeout intervals.

Impact: Allows users to lock game state for extended periods (e.g., days, weeks, or even years).

Recommended Mitigation: Consider enforcing a reasonable upper bound for _timeoutInterval.

Updates

Appeal created

m3dython Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational

Code suggestions or observations that do not pose a direct security risk.

m3dython Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational

Code suggestions or observations that do not pose a direct security risk.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.