Description: The RockPaperScissors::joinGameWithEth()
and RockPaperScissors::joinGameWithToken()
functions are vulnerable to front-running attacks where an attacker could monitor the mempool and join games before legitimate players.
Impact: Malicious actors could consistently join games, potentially disrupting the game flow and fairness.
Proof of Concept:
Recommended Mitigation: Implement a commit-reveal scheme for joining games or use a whitelist system.
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.