Platform: Code4rena
Start Date: 20/09/2022
Pot Size: $30,000 USDC
Total HM: 12
Participants: 198
Period: 3 days
Judge: 0xean
Total Solo HM: 2
Id: 164
League: ETH
Rank: 38/198
Findings: 1
Award: $218.09
🌟 Selected for report: 0
🚀 Solo Findings: 0
Vested but unclaimed tokens are stolen from user
When revokeClaim is called, it removes all remaining tokens for a user vested or unvested. Vested tokens should be considered as tokens already paid and shouldn't be revokable, for the protection of the user being paid. Admin is a trusted role but it measures should always be taken with every trusted party to reduce that trust to a minimum.
Manual Review
revokeClaim should adjust the users claim preserving the currently vested tokens and only remove unvested tokens
#0 - 0xean
2022-09-24T18:51:05Z
dupe of #475