Rock Paper Scissors

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

Unbounded game settings

Summary

Unbounded game settings

Vulnerability Details

Game contract implementation does not provide upper limits for the following game settings:

  • timeoutInterval

  • joinTimeout

  • totalTurns

Along with that, there are is no handling of:

  • how many games a single player can create

  • how many games a single opponent can join into

  • how much tokens could be minted

Impact

  • each player can create unlimited number of games

  • each player can join into unlimited number of games

  • unlimited amount of tokens could be minted

Tools Used

Manual review

Recommendations

Implement reasonable and adecuate rate limits for the following game settings:

  • timeoutInterval

  • joinTimeout

  • totalTurns

Along with that should be imlemented a reasonable restrictions for:

  • how many games a single player can create

  • how many games a single opponent can join into

Update implementation of winner token to have total suply.

Updates

Appeal created

m3dython Lead Judge 3 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.