Keom Protocol
  • Keom Protocol
  • About Keom
    • ⚙️Products
    • 🛡️Security
      • ✅Audits
      • 🦸‍♂️Security Approach
        • Continuous stress-testing
        • Asset due diligence
        • AMM slippage modelling
        • Toxic liquidation spirals
        • Security Partners
    • 🏛️Organisation
      • 🎮Legal Entity
      • 👾Community
  • How it works
    • Lending Pools
      • Pool Types
      • Supply
        • Supply Assets
        • kTokens
        • Interest
        • Rewards
      • Borrow
        • Borrow
        • Health Factor
        • Liquidation Probability
        • Liquidation
      • Withdraw & Repay
      • Interest rate model
  • 🔴INTERFACE TERMS OF USE
    • Terms of Use
    • Definitions
    • Restricted Jurisidictions
    • ⛔Prohibited Uses
    • You acknowledge and accept
      • About the Interface
      • About the Protocol
      • About Listed Assets
      • About Yield and Rewards
      • About the Association
    • You represent and warrant
      • About yourself
      • About your understanding
    • Regulations
    • Access Restrictions
    • Fees
    • Downtime
    • Shutdown
    • Indemnification Clause
    • Absence of warranties
    • Liability
    • Applicable Law and Jurisdiction
    • Risk Disclosure
      • ‼️Important Reminders
      • Technology Risk
        • Blockchains
          • General Blockchain Risk
          • L1 vs L2
            • Ethereum
            • Polygon PoS
            • Polygon zkEVM Beta
            • Polygon CDK
          • Testnet vs Mainnet
        • Bridges
        • Crypto Assets
        • Oracles
        • Wallets
      • Financial Risk
      • Regulatory Risk
      • Systemic Risk
  • Developers
    • Contract Addresses
      • Polygon PoS
      • Polygon zkEVM
      • Manta Pacific
      • Astar
      • X1-Testnet
    • Key Events
    • Exchange Rate
    • Dynamic Liquidation Parameters
    • Oracles
  • Support
    • FAQ
    • Video Tutorials
  • References
    • Social Media Links
    • Brand Materials
Powered by GitBook
On this page
  1. About Keom
  2. Security
  3. Security Approach

Toxic liquidation spirals

PreviousAMM slippage modellingNextSecurity Partners

Last updated 1 year ago

A vulnerability discovered thanks to Aave...

On November 22nd 2022, the lending platform AAVE v2 (on Ethereum) incurred bad debt resulting from a major liquidation event involving a single user who had borrowed close to $40M of CRV tokens using USDC as collateral.

This incident has prompted the Aave community to consider changes to its liquidation threshold, and limitations on the number of illiquid coins that can be borrowed on the platform.

In the below paper, co-authored by members of the R&I team at Keom, it is argued that the bad debt incurred by AAVE was not due to excess volatility in CRV/USDC price activity on that day, but rather a fundamental flaw in the liquidation logic which triggered a toxic liquidation spiral on the platform.

This paper was highlighted by , , and wider public crypto media.

... countered thanks to research...

This flaw is shared by a number of major DeFi lending markets, can be easily overcome with simple changes to the incentives driving liquidations.

The Authors claim that halting all liquidations once a user's loan-to-value (LTV) ratio surpasses a certain threshold value can prevent future toxic liquidation spirals and offer substantial improvement in the bad debt that a lending market can expect to incur.

Furthermore, the authors strongly argue that protocols should enact dynamic liquidation incentives and closing factor policies moving forward for optimal management of protocol risk.

... implemented by Keom.

Keom relies on a dynamic liquidation incentive, rather than a static one. Such incentive is function of the unhealthy borrower’s loan-to-value ratio (LTV).

When the LTV crosses 100%, dynamic liquidation incentive becomes negative, meaning that liquidators need to repay more than they can seize. This effectively prevents toxic liquidations that generate bad debt in exchange of healthy liquidations which allow liquidators to countertrade price manipulations in size. Liquidators who believe that prices will eventually revert can still potentially profit even when facing negative liquidation incentives.

More information about the implementation of liquidations can be found here:

For the sake of Keom and its users, the team may perform liquidations itself and thereby capture bad debt in the same way that standard liquidation policies allow. In such case, the closing factors are also a function of the user’s LTV, increasing as the liquidation incentive decreases, partially compensating for profit loss of the liquidators (due to decreased liquidation incentives).

🛡️
🦸‍♂️
Dynamic Liquidation Parameters
Messari Research
Bloomberg Business
Toxic Liquidation SpiralsarXiv.org
Logo