The debt repayment process contains a critical accounting error where the protocol incorrectly updates users' scaled debt balances using raw asset amounts instead of interest-scaled values. This occurs due to:
Wrong Value Type Application
Uses raw asset amount (amountBurned) for scaled balance updates:
Immediate Consequences
Permanent Accounting Corruption
Users appear to have negative debt positions
Total protocol debt becomes unreliable
Fund Locking
Users cannot fully repay loans due to arithmetic errors
Liquidation System Failure
Liquidators can't properly close positions with corrupted debt data
Fix Balance Update Logic
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.