Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: high
Invalid

Unclaimed airdrop will be stuck in the contract

Summary

The MerkleAirdrop contract lacks a mechanism for the contract owner to reclaim tokens in the event that eligible users are unable to claim their airdrop. This poses a risk of funds becoming stuck in the contract indefinitely, potentially leading to loss of funds and inefficiencies in fund management.

Vulnerability Details

The MerkleAirdrop contract lacks a mechanism for the contract owner to reclaim tokens in the event that eligible users are unable to claim their airdrop. This poses a risk of funds becoming stuck in the contract indefinitely, potentially leading to loss of funds and inefficiencies in fund management.

Impact

Summary:
The MerkleAirdrop contract lacks a mechanism for the contract owner to reclaim tokens in the event that eligible users are unable to claim their airdrop. This poses a risk of funds becoming stuck in the contract indefinitely, potentially leading to loss of funds and inefficiencies in fund management.

Vulnerability Detail:
The vulnerability arises from the absence of a function for the contract owner to reclaim tokens from the airdrop contract. In scenarios where eligible users are unable to claim their airdrop due to reasons such as losing access to their accounts, the tokens allocated for the airdrop could remain locked in the contract, inaccessible to both users and the contract owner.

Impact:
The impact of this vulnerability is significant as it could result in funds being trapped in the contract, rendering them unusable for their intended purpose.

Tools Used

Manual Review

Recommendations

To mitigate this vulnerability, it is recommended to implement a function in the MerkleAirdrop contract that allows the contract owner to reclaim tokens allocated for the airdrop. This function should include appropriate access controls and verification mechanisms to ensure that tokens are reclaimed only under legitimate circumstances, such as when eligible users are unable to claim their airdrop. Additionally, clear documentation and communication regarding the reclaim process should be provided to users to minimize confusion and maintain transparency.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.