The finalizeLiquidation function in the LendingPool contract transfers all of a user's NFT collateral to the Stability Pool during liquidation, regardless of the user's remaining debt amount and the value of the NFTs. This can result in users losing significantly more collateral value than their outstanding debt.
When a user's position is liquidated through finalizeLiquidation, the function transfers all NFTs to the Stability Pool without considering:
The user's remaining debt amount after potential partial repayments during the grace period
The individual value of each NFT
The total collateral value versus remaining debt
A user who partially repays their debt during the grace period still loses all their NFTs, even if some NFTs are worth significantly more than the remaining debt.
High. Users can lose substantially more value in collateral than their outstanding debt amount. This creates unfair liquidation outcomes and could lead to:
Users losing high-value NFTs unnecessarily
Economic losses far exceeding the protocol's risk
Reduced user trust and participation in the protocol
Manual Review
Calculate the remaining debt after any grace period repayments
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.