Their no protection for the borrower that the old lender cant cause more debt since there are issues with how this is dealt with in the code
In refinance
the old lender can up the interest to 100% then the borrower will have to pay more or it will revert but if the token is usdt then it won't revert since its using transfer then the lender will get more tokens and the new lender will take on more risk but if the borrower has those tokens then they will lose those tokens and with a huge position it can be 50% increase of the debt which is not good and will cause loss of funds for the borrower
Loss of funds for the borrower/revert
Add a time delay for when the lender can change parameters
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.