There is a function allocateFunds
which is used to allocate funds . However there is no validation performed to check if the msg.sender
has that amount of funds.
Attack scenario:
Allocator can allocate 100e18 tokens.
Allocator just has the balance of 1e18
Allocated victim can't do or use 'em.
Here is the code, its clearly visible that the funds allocated to the recipient isn't checked if they exist or not
Users can allocate more funds than what even exists
Manual review
Check balances before allocating, or lock the tokens.
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.