The aftermath of the KelpDAO hack has sent shockwaves through stablecoin markets, with a notable $300 million increase in borrowing on Aave in the first 24 hours following the attack. According to Chaos Labs data, users borrowed approximately $300 million against their USDT deposits on the platform. 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 funds at a loss, simply to access liquidity.

This desperate measure for liquidity is a sign of the illiquidity in Aave's stablecoin markets. The pseudonymous head of strategy at Spark, a rival DeFi lending platform, noted that the $300 million increase in borrowing with USDT collateral is a negative secondary effect of the illiquidity. To understand the impact of the KelpDAO exploit on Aave, it's essential to comprehend how the system is designed to work and where it failed.

Aave is a decentralized finance protocol that enables users to lend and borrow cryptocurrencies without intermediaries. The protocol operates on the assumption that there is always enough liquidity for lenders to withdraw their deposits and for borrowers to unwind their positions. However, when this assumption breaks down, the entire system is affected.

The KelpDAO exploit, which involved the manipulation of the protocol's bridge infrastructure, led to 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 exploit resulted in a freeze of rsETH markets on Aave, which stopped the bleeding but also triggered a chain reaction that produced the $300 million borrowing surge. The surge occurred when whales and big funds withdrew billions of dollars worth of cryptocurrencies from Aave's liquidity pools, draining the pools and causing a 100% utilization rate.

This led to a situation where every dollar of assets in the pools had been borrowed out, leaving nothing for withdrawals. Trapped USDT and USDC depositors, unable to withdraw their money, began borrowing against their locked deposits, accepting a 10-25% loss. This desperate act of borrowing against their own money at a loss 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.