The protocol allows collateral to be seized even after a user fully repays their debt if they fail to manually call `closeLiquidation`. This design flaw forces users to take an unnecessary extra step to protect their assets, unfairly penalizing compliant borrowers.
Manual Closure Requirement: Full repayment does not automatically terminate liquidation status, instead users must explicitly call closeLiquidation after repayment to avoid collateral seizure.
Also, closeLiquidation is callable only by the user, preventing third-party/bot assistance.
Upon Full Repayment of loan, we should have a Auto-Close Mechanism.
1.User Repays Full Debt:
2.Liquidation Finalization Still Possible:
High Severity (Direct Financial Loss + Protocol Trust Erosion):
Collateral Theft: Users lose assets despite fulfilling obligations
UX Hazard: Relies on user awareness of obscure manual step
Reputational Damage: Perceived as predatory protocol behavior
Either: Access Control Expansion
Allow trusted keepers (e.g., Chainlink Automation) to call closeLiquidation
Or, Modify the repayment logic to auto-close liquidations when debt is fully repaid:
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.