Collected rewards is getting reassigned instead of being updated
_collectedRewards[msg.sender]
only reflecting the previous rewards he's redeemed, and not the whole rewards collected based on token balance.
This would lead to the user being able to receive more HealthTokens than his proper share.
Manual review
Update _collectedRewards[msg.sender] = amountRewards;
with _collectedRewards[msg.sender] += amountRewards;
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.