Loan might be bought with the loan debt being smaller the minLoanSize or loan ratio being larger than maxLoanRatio.
Pool lender calls buyLoan(…) function to buy a auctioned loan.
However, this function dose not check if the loan's totalDebt is smaller than pool's minLoanSize or if the loan's ratio is larger than pool's maxLoanRatio.
Buying a loan with debt being smaller than minLoanSize and ratio being larger than maxLoanRatio breaks the invariant that the loan debt should be larger than or equal to pool's minLoanSize and loan ratio should be smaller than or equal to pool's maxLoanRatio, may leading to various issues and potentially losses for the uses.
Manual Review
Check if the loan debt is smaller the minLoanSize or loan ratio is larger than maxLoanRatio when buys a loan.
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.