The functions below allow the contract owner to modify critical game parameters while a round is in progress:
Unlike resetGame(), which is restricted by the gameEndedOnly modifier, these functions have no restriction preventing changes during an active game.
This means the owner can change grace period, claim fees, and platform fee percentage at any time.
Likelihood: High
The functions are callable by the owner at any time.
No time-lock, governance delay, or round-end restriction.
Impact: High
Grace period reduction allows the owner or a colluding player to win prematurely.
Claim fee and fee increase % change can price out players or accelerate pot growth to owner’s advantage.
Platform fee change (up to 100%) can siphon all ETH from claims directly to the owner instead of the pot.
Scenario:
Game starts with 24h grace period, 5% platform fee, 10% fee increase.
Owner’s friend becomes king.
Owner calls
4. Round ends quickly, friend wins pot, owner collects all platform fees.
Add gameEndedOnly to all parameter update functions so changes only apply between rounds:
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.