Rock Paper Scissors

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

Players can see each other's commit transactions

Summary

Players can see each other's commit transactions in the mempool

A malicious player could wait to see the opponent's commit before submitting their own

Vulnerability Details

because games mapping are public any opposing player can search for the round ID to see their opponent's moves from the struct and defeat them

Impact

the whole purpose of the game is destroyed because it is always the one who wins the opponent's move

Tools Used

Manual review

Recommendations

game mapping should not be public

Updates

Appeal created

m3dython Lead Judge 2 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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