-
Notifications
You must be signed in to change notification settings - Fork 0
Anyone can claim airdrop amounts on behalf of anyone #107
Copy link
Copy link
Open
Labels
1 (Low Risk)Assets are not at risk. State handling, function incorrect as to spec, issues with commentsAssets are not at risk. State handling, function incorrect as to spec, issues with commentsbugSomething isn't workingSomething isn't workingsponsor acknowledgedTechnically the issue is correct, but we're not going to resolve it for XYZ reasonsTechnically the issue is correct, but we're not going to resolve it for XYZ reasons
Metadata
Metadata
Assignees
Labels
1 (Low Risk)Assets are not at risk. State handling, function incorrect as to spec, issues with commentsAssets are not at risk. State handling, function incorrect as to spec, issues with commentsbugSomething isn't workingSomething isn't workingsponsor acknowledgedTechnically the issue is correct, but we're not going to resolve it for XYZ reasonsTechnically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
cmichel
Vulnerability details
The
Airdrop.claim(s)functions allow claiming the airdrop tokens of other users.While the tokens are sent to the correct address, this can lead to issues with the accounting of EOAs or smart contracts that might rely on claiming the tokens themselves.
Impact
Claiming can incur a taxable event and the timing is better left to the actual owner.
If a contract is deployed to claim a tranche and it has no other functions to transfer out funds, they may be locked forever in this contract.
Recommended Mitigation Steps
Do not allow users to claim on behalf of other users.