The platformFeePercentage
determines what portion of each throne claim is taken by the platform (owner) as a fee. It is deducted from every new player's payment before the remaining amount is added to the game pot.
However, the contract allows the owner to modify this fee at any time using the updatePlatformFeePercentage()
function. This mutability introduces a significant rug-pull potential: the owner can increase the platform fee to nearly 100%, effectively draining all the users' future payments without warning. Users have no protection against this mid-game change, and may unknowingly interact with an unfair version of the game.
Likelihood:
Can occur in any contract where the owner has malicious intent or is not publicly accountable. Since the owner is often considered trustworthy, the likelihood is rather low.
Also possible unintentionally through human error or careless administration (e.g., updating to 100 instead of 10).
Impact:
After the owner increases the platform fee to 100% mid-round, claiming the throne does not increase the pot amount anymore.
Unaware players might not have realized the platform fee update and unknowingly participate anyway, resulting in a bad risk-reward ratio.
The game becomes economically broken, as new players pay in but receive nothing in return - all funds go to the owner, creating the appearance of a scam or rug pull.
Even if the round ends now and Bob wins the game, his payout would be 0.97 ETH (pot), which is less than his investment of 1.2 ETH.
The vulnerability can be mitigated by allowing the owner to update future round parameters at any time, but preventing the change from taking effect mid-round, preserving game integrity.
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.