Malicious borrower can empty pool balance by refinancing.
Borrower can refinance a loan to a new pool, the new pool balance will be reduced by the new debt.
At the end of the refinancing process, the new pool balance is wrongly reduced again.
A malicious borrower can specify the new debt to be the half of the new pool balance and refinance to the new pool, then the new pool will be emptied as the pool balance is reduced twice.
Pool balance is emptied.
Manual Review
Please consider to remove one of the reductions in the refinance method.
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.