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.
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.
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.
Manual Review
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.
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.