The commit phase is vulnerable to frontrunning because the second player is able to see the first player's commit before making their own. This allows the second player to choose their move based on this information.
The second player to commit gains an unfair advantage by being able to modify their strategy after seeing the first commit.
Foundry
VS Code
Add a two-phase commit where both players commit without seeing each other's commits.
Make use of a commit-reveal scheme where the two commits are submitted at the same time through a merkle tree.
Or, require the two players to deposit before either can commit.
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.