The protocol allows borrowing crvUSD against NFT collateral that users deposit. However, there is no liquidation incentive in the protocol for users to liquidate underwater borrowers, leading to the accumulation of bad debt.
In the LendingPool.sol, there is a process to initiate the liquidation of borrowers whose health factor is below the threshold. This process is then finalized by the StabilityPool if the borrower does not repay their debt during the grace period (3 days). During the liquidation finalization process, the StabilityPool transfers reserve assets to cover the debt, but also gets the NFT from the LendingPool and according to the sponsor, in that way, links generated revenue to flow across the protocol (which is ultimately beneficial for RAAC holders as a group).
However, users who should initiate the liquidation process (any user) get nothing in return, but still need to pay gas fees (which can be high, but nevertheless) for the transaction. This lead to the situation where no one but protocol itself would want to call initiateLiquidation as there is no any incentive for them to do so.
This will, further on, lead to the accumulation of a bad debt for protocol, especially if the accumulated debt gets larger than the StabilityPool's balance. Furthermore, should the balance be smaller than the current accumulated debt, every liquidation try will be reverted, leading to the huge loss for protocol, as it can be seen from the function below:
High as the bad debt can be easily accumulated since there is no incentive for users to liquidate another users
Manual Review
There needs to be some kind of incentive mechanism built in for users who call initiateLiquidation.
Another possible approach: Compound V3's mechanism works in a similiar manner, where the debt is absorbed from the reserves and the collateral is taken into the protocol. Then, excess collateral is immediately put on sale at a discount. This collateral can then be bought at a discount to current market prices to incentivize liquidators.
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.