When borrower use refinance he can steal all of the funds in the contract
In the refinance function there is no check for the debt value, setting very high debt will lead to else if which states that the loan.loanToken will transfer to msg.sender the debt - detbTopPay-fee
Stealing all of the funds
Manual Review
Check the debt that the borrower is setting
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.