The claimRewards
function contains a vulnerability that allows any external actor to claim rewards on behalf of other users. This unrestricted access pattern undermines user autonomy over their reward claiming strategy and timing.
The function's current implementation accepts any user address as a parameter:
Although there is no fund lost here, Forced claiming of rewards against user intentions can be done
Disruption of user-planned yield optimization strategies
Manual code review
Modify function to only allow self-claims:
Consider implementing delegation system for authorized third-party claims
Add proper access control mechanisms to restrict claim capabilities
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.