NFTBridge
60,000 USDC
View results
Submission Details
Severity: low
Invalid

Lack of Collection Whitelist Enforcement in `_whiteListCollection`

Summary

The _whiteListCollection function allows adding collections to the whitelist, but there’s no check to ensure that only valid collections are added. This means that any address, including potentially malicious or incorrect addresses, could be added to the whitelist without verification.

Impact

If a malicious or incorrect collection address is added to the whitelist:

  • Users might unknowingly interact with unauthorized or fake collections.

  • Assets could be misrouted, lost, or stolen if they are sent to or from a malicious address.

  • The integrity of the bridge could be compromised, leading to loss of trust and potential financial damage.

Recommendations

Add checks to ensure that only valid and verified collections can be added to the whitelist.

Updates

Lead Judging Commences

n0kto Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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