The LendingPool continues to accrue interest on user debt during the liquidation grace period, potentially preventing users from recovering their positions and creating system-wide accounting imbalances.
In LendingPool.sol
:
Interest continues accruing during the grace period
Users must repay the growing debt to close their liquidation
No mechanism to freeze or cap interest during this period
Grace period effectiveness is reduced by growing debt
Example Scenario:
Day 0: User position marked for liquidation
Initial debt: 10,000 USDC
Health factor below threshold
Day 3: Grace period ends
Accrued interest: +50 USDC (at 6% APR)
Final debt: 10,050 USDC
User prepared 10,000 USDC but cannot close position
Increased user debt during grace period
System imbalances due to accrued interest
Potential unfair liquidations
Additional burden on stability providers
Manual code review
Implement Debt Freezing:
Use Frozen Debt for Repayment:
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.