The DebtToken.burn() function does not increase userDebt by balanceIncrease. As a result, users can avoid repaying some of their debt.
The DebtToken.burn() function calculates balanceIncrease but does not incorporate it into the repayment process. Consequently, users can fully repay their debt with an amount that is less than required.
Users can evade repaying a portion of their debt.
Manual review
Ensure that balanceIncrease is accounted for in the repayment process.
Interest IS applied through the balanceOf() mechanism. The separate balanceIncrease calculation is redundant/wrong. Users pay full debt including interest via userBalance capping.
Interest IS applied through the balanceOf() mechanism. The separate balanceIncrease calculation is redundant/wrong. Users pay full debt including interest via userBalance capping.
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.