20,000 USDC
View results
Submission Details
Severity: medium

Functions could fail if the user does not have enough balance

Summary

Some functions with transfer() or transferFrom() would fail, if the user's balance is low.

Vulnerability Details

Functions like repay() and seizeLoan() would fail if the balance is low.

Impact

Anyone could exploit this and repay or seize the loan without the required balance

Tools Used

Manual code review

Recommendations

Add a check for the balance required

Support

FAQs

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