The DebtToken::mint function adds balanceIncrease to amount before minting, causing debt to compound incorrectly:
Since balanceIncrease represents accrued interest already accounted for in the index, re-adding it results in excessive debt accumulation.
Impact: Users incur extra unintended debt, leading to incorrect balances and financial loss
Recommendation:
Exclude balanceIncreasewhen minting. This ensures debt only increases due to the interest model and not erroneously on each borrow.
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.