This report identifies a minor security concern in the game smart contract where administrative functions lack proper access control modifiers. Three functions that should only be callable after the game has ended are missing the gameEndedOnly modifier, allowing game parameters to be modified while the game is active.
The following administrative functions are missing the gameEndedOnly modifier, allowing them to be called while the game is running:
updateGracePeriod()
updateClaimFeeParameters()
updatePlatformFeePercentage()
Grace Period Adjustments: Owner could modify grace periods during active gameplay, dethroning legit winner
Fee Structure Updates: Claim fees could be adjusted mid-game, changing participation costs
Platform Fee Modifications: Revenue distribution could be updated during active rounds
Add gameEndedOnly modifier for the three functions
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.