Sparkn

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

Zero-Address Checks absent in Constructor

Summary

Missing Zero-Address Check of constructor of L44 of Proxy.sol contract could cause unnecessary errors and imprecision of code execution

Vulnerability Details

Missing zero-address checks for constructor of L44 in the Proxy.sol contract may lead to unwanted errors and accuracy of code execution, which may affect the functions linked to it. For example, assuming the constructor passes in a zero address, all function calls to the Proxy contract will fail because it will delegate the call to a zero-address contract.

Impact

Accidental use of zero-addresses could result in contract malfunction.

Tools Used

Manual review

Recommendations

Support

FAQs

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