Sparkn

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

Ensure token address as a contract account

Summary

Ensure token address is not an EOA account

Vulnerability Details

Distribute function does not check for contract existence for token parameter.

Impact

A user can accidently provide EOA account that can lead to undefined behaviour.

Tools Used

Manual code review

Recommendations

Implement a contract existence check before each call.

Support

FAQs

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

Give us feedback!