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

Wrong ZKSync USDC Address

Summary

There is a typographical error in the USDC address used when deploying the MerkleAirdrop.sol File.

Vulnerability Details

The USDC address in the deploy.s.sol contract was: 0x1D17CbCf0D6d143135be902365d2e5E2a16538d4
The actual USDC address in ZK Sync is : 0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4
By the naked eye it might not look so obvious but "a" was mistakenly typed as "b" at the 22th hex character.

Impact

The eligible users would not be able to claim the USDC airdrop when calling the "claim" function it will revert since the wrong USDC address is an EOC and does not support function calls.

Tools Used

Blockchain Explorer to trace the USDC contract
Manual review of the deploy.s.sol contract.

Recommendations

Use the correct USDC address: 0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

usdc-wrong-address

Support

FAQs

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