The game operates as a competitive "king of the hill" style contract where players claim the throne by paying an ETH fee via the claimThrone
function.
After each successful claim, the claim fee increases, and the latest claimant becomes the current king.
The king at the end of the grace period wins the pot.
Issue: There is no protection against front-running attacks. A malicious player observing a pending claim transaction in the mempool can send a competing transaction with a higher value and higher gas price, thus becoming the new king before the original claimant.
This results in the original player losing their transaction gas fees without winning the throne or receiving any benefit.
Likelihood:
Any player monitoring the mempool can easily exploit this front-running vulnerability, especially when large rewards are at stake.
In networks like Ethereum, where gas price competition is common, the risk of front-running is high.
Impact:
Direct financial loss for the player whose transaction was front-run (gas fees spent with no benefit).
Player frustration and unfair gameplay experience due to losing the throne despite paying.
Potential damage to the game's reputation and reduced player participation.
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.