Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: low

Potential overflow issue

Summary

The function uint256(uint160(implementation)) could overflow if the value of implementation is greater than 2^160 - 1.

Vulnerability Details

The overflow will cause result in the wrong proxy address being given when the getProxyAddress is called.

Impact

Tokens will be sent to the wrong proxy address, loss of funds.

Tools Used

Manual code analysis

Recommendations

Use safemath library to safely perform conversion.

Support

FAQs

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