20,000 USDC
View results
Submission Details
Severity: low

No use of `SafeMath.sol` in the contracts

Summary

The contracts are making some mathematical calculations like for calculating interests and fees. But it might overflow/underflow.

Vulnerability Details

There might be some unsafe math operations happening in the contracts. This could lead to the underflow/overflow situation.
for example
Instance 1
Instance 2
Instance 3
Instance 4

Impact

Could lead to overflow/underflow.

Tools Used

foundry tests.

Recommendations

Try using SafeMath.sol library from Openzeppelin.

Support

FAQs

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