The aftermath of the KelpDAO hack on Saturday has triggered a chain reaction in stablecoin markets, with far-reaching implications. In the first 24 hours following the attack, Aave users borrowed approximately $300 million against their USDT deposits, according to data from Chaos Labs.

This borrowing surge is not driven by demand, but rather by users' inability to withdraw their funds due to maxed-out stablecoin pools. As a result, depositors are taking out loans against their own assets at a loss, simply to access liquidity. This desperate measure for liquidity creation is a sign of the system's illiquidity.

monetsupply.eth, the head of strategy at Spark, a rival DeFi lending platform, noted, 'We're now seeing some negative secondary effects of illiquidity in Aave stablecoin markets. Because users can't withdraw due to 100% utilization, there has been a ~$300 million increase in borrowing with USDT collateral in just the past day since the rsETH exploit.' To comprehend how a single exploit on KelpDAO led to a simultaneous lock on every stablecoin exit on Aave, it's essential to understand the underlying system and where it failed. Aave is a decentralized finance protocol that enables users to lend and borrow cryptocurrencies without intermediaries. Users deposit assets into lending pools and earn interest, while others borrow from these pools by posting crypto assets as collateral.

The system is designed to self-correct through interest rates, but it relies on the assumption that there is always sufficient liquidity for lenders to withdraw their deposits and for borrowers to unwind their positions. When this assumption breaks down, the entire system is affected. The KelpDAO exploit, which involved the manipulation of the protocol's bridge infrastructure, resulted in the release of 116,500 rsETH tokens, worth approximately $292 million. These fake tokens were deposited into lending protocols, mostly Aave, to borrow real ETH and other assets.

The subsequent freeze of rsETH markets on Aave's V3 and V4 stopped the immediate damage but triggered a chain reaction that led to the $300 million borrowing surge. As news of the exploit broke, large investors withdrew billions of dollars' worth of cryptocurrencies from Aave's liquidity pools, draining the pools and causing a ripple effect. This resulted in 100% utilization of ETH, USDT, and USDC pools, leaving users unable to withdraw their funds.

Trapped depositors, desperate to exit the market, began borrowing against their locked deposits, accepting significant losses. This secondary borrowing surge has reduced liquidity in other markets, with USDC and USDe markets now at 100% utilization.

The incident highlights the risks associated with decentralized finance and the importance of understanding the underlying mechanisms and potential vulnerabilities.