The RockPaperScissors::WinningToken
contract uses the Ownable pattern, granting a single address full control over minting tokens. This introduces a centralization risk where a privileged owner can arbitrarily mint new tokens, potentially undermining fairness and trust in the reward system.
The contract inherits from OpenZeppelin’s Ownable, and includes a mint() function restricted to the owner:
Low
Manual Review
Context analysis from README.md
Restrict minting access to game logic contracts (e.g., RockPaperScissors) instead of a single owner.
Use AccessControl or minter roles instead of Ownable.
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.