lender can force borrowe to pay more interest and then liquidate borrower with 1000% interest.
when the borrower borrows from lender pool in the middle of the outstanding loan can adjust the interest rate and because the borrower borrow the money with lower interest thinks he going to pay that amount of interest however the lender adjusts it and Force the borrower pay unacepable huge interest and can liquidate the borrower
https://github.com/Cyfrin/2023-07-beedle/blob/991133b9b4a8d121499a68f4f8c706bd11a6821c/src/Lender.sol#L221-L226
how?: look at the Repay function in lender.sol this function is for borrower for paying the debt of loan but it calculates the interest trough _calculateInterestfunction which is again using interest rate that borrower set to pool to calculate interest.
Repay function is calculation interest through _calculateInterest function
lender can Force borrower to pay huge unacceptable/unafordble interest when they get the loan with little interest and can liquidate them. borrower can fall to trap.
manually
Consider avoiding increasing interest in the middle of the outstanding loans in the pool or apply the new interest for new loans only.
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.