The updateMaxLoanRatio function in the contract lender does not enforce limits, allowing potential misuse by altering the loan dynamics.
Without verification, the maxLoanRatio could be set to extremes, either prohibiting borrowing by setting it to 0 or allowing borrowing with insufficient collateral by setting it to very high numbers.
Users could be blocked from borrowing, or allowed to borrow far beyond safe levels. This vulnerability could break the trustworthiness of the platform, dissuading users from interacting with it.
Manual review and forge testing.
Implement validation checks to ensure maxLoanRatio remains within intended bounds.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.