Description: Mainnet USDC uses a blacklist to block wallets. Therefore, if a user is added to the blacklist, they will not be able to claim the airdrop, and the money will remain locked in the contract until they are removed from the blacklist.
Impact: The money would be lost as it remains locked in the contract.
Proof of Concept:
The user is eligible for the airdrop.
For some reason or action, they are added to the USDC blacklist.
When the user calls the claim function, it will fail.
This test was added in MerkleAirdrop.t.test
And use this mock token for the test, and is added in MerkleAirdrop.t.test
Recommended Mitigation: To prevent this, it's proposed to check the wallet beforehand to verify if it's on the blacklist and not make it eligible for the airdrop.
https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity#findings-that-may-be-invalid
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.