This article takes about 7 minutes to read
Conclusion - DeFi Lending Eliminates Credit Risk but Market Risk Remains
DeFi lending protocols eliminate lender credit risk by requiring borrowers to post over-collateral (collateral value exceeding the loan) and automatically liquidating positions when collateral value falls below a threshold. However, risks unique to this space persist: liquidations failing to execute during rapid price drops (creating bad debt), oracle price feed delays, smart contract bugs, and governance attacks. During the 2022 Terra/Luna collapse and Three Arrows Capital (3AC) bankruptcy, DeFi lending protocols incurred hundreds of millions of dollars in bad debt.
Over-collateralization and Health Factor
Using Aave v3 as an example, borrowers deposit collateral and can borrow up to a certain percentage (LTV: Loan-to-Value) of the collateral value. ETH's LTV is approximately 80%, meaning USD 1,000 worth of ETH allows borrowing up to USD 800. Health Factor (HF) = (collateral value x liquidation threshold) / debt amount. With ETH's liquidation threshold at 82.5%, depositing USD 1,000 of ETH and borrowing USD 800 gives HF = (1000 x 0.825) / 800 = 1.03, meaning just a 3% ETH decline triggers liquidation. In practice, borrowing at maximum LTV is extremely dangerous; maintaining HF above 1.5 is the commonly accepted safety margin.
Liquidation Mechanism Details
When HF falls below 1, anyone can liquidate the position (permissionless liquidation). The liquidator repays a portion of the debt (up to 50% in Aave v3) and receives the corresponding collateral plus a liquidation bonus (typically 5-10%). This bonus incentivizes liquidators, and MEV bots constantly monitor positions for immediate execution. The prerequisites for liquidation to function properly are: (1) oracles providing accurate prices, (2) gas costs remaining below the liquidation bonus, and (3) sufficient liquidity in the collateral token. When these prerequisites break down, bad debt occurs.
The 2022 Cascading Liquidation Events
In June 2022, stETH (Lido's staked ETH) began trading at approximately 5% discount to ETH. Positions that had leveraged by using stETH as collateral to borrow ETH were cascadingly liquidated, and the resulting stETH selling pressure further widened the discount in a spiral. Simultaneously, Three Arrows Capital (3AC) went bankrupt, and the large collateral positions they held in DeFi protocols were liquidated. Aave v2 experienced some liquidations that failed to execute in time, resulting in approximately USD 1.7 million in bad debt (per Aave governance forum reports). This case demonstrated that while DeFi lending can automate individual position liquidations, it remains vulnerable to market-wide liquidity exhaustion.
Inter-protocol Contagion Risk
DeFi's composability (the ability to combine protocols like building blocks) is a source of convenience but also a contagion pathway for risk. For example: (1) borrow USDC on Aave, (2) deposit it in a Curve pool to obtain LP tokens, (3) use those LP tokens as collateral on another protocol to borrow more. This structure allows a Curve pool de-peg or Aave liquidation to cascade across multiple protocols. During the November 2022 FTX collapse, liquidations of positions collateralized with FTT tokens propagated across multiple protocols, and total DeFi TVL declined by approximately 40%.
Risk Assessment Framework
Key dimensions for evaluating DeFi lending risk include: (1) collateral asset liquidity (can it be sold on the market during liquidation), (2) oracle reliability (decentralized oracles like Chainlink vs. single-source), (3) protocol audit status (audited by multiple firms), (4) governance centralization (number of multisig signers, presence of timelocks), (5) insurance fund size (capacity to cover bad debt), and (6) past incident history and response speed.
Disclaimer
DeFi lending is fundamentally different from traditional bank deposits, and no public protection such as deposit insurance exists. Risks including smart contract bugs, governance attacks, oracle manipulation, and liquidity exhaustion can result in total loss of principal. High yields (APY) represent a premium for these risks, not risk-free returns. This article is intended to explain the technical mechanisms and risk structure of DeFi lending and does not recommend the use of any specific protocol or investment. Use of DeFi protocols is at your own risk.