Sparkn

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

Missing sanity checks can lead to wrong scenarios

Summary

Some sanity checks are missing and can lead to unexpected scenarios

Vulnerability Details

Numerical user inputs and external call returns that are subject to thresholds due to the contract's logic should be checked for sanity to avoid undesirable behavior or reverts in later logic and wasting unnecessary gas in the process.

Impact

Missing sanity checks can lead to wrong an unexpected behaviors or even sending value to address(0).

Tools Used

Manual Review

Recommendations

Add the sanity checks for the values for implementation and for input values of distribute

Support

FAQs

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