The aftermath of the KelpDAO hack on Saturday has sent shockwaves through stablecoin markets, exposing unforeseen consequences. In the 24 hours following the attack, Aave users borrowed around $300 million against their USDT deposits, according to data from Chaos Labs.

This borrowing spike 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 to access liquidity. This phenomenon can be likened to a bank refusing to process customer fiat deposit withdrawals, prompting customers to take out loans on these deposits out of desperation.

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 the KelpDAO exploit led to a simultaneous lock on all stablecoin exits on Aave, it's essential to understand the inner workings of the system and where it failed. Aave is a decentralized finance protocol that enables users to lend and borrow cryptocurrencies without intermediaries.

It operates on the assumption that there is always sufficient 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 involved the manipulation of the protocol's bridge infrastructure, resulting in the release of 116,500 rsETH tokens, worth approximately $292 million. These fake tokens were deposited into lending protocols, primarily Aave, to borrow real ETH and other assets.

The borrowed assets are now gone, leaving behind worthless rsETH tokens. Aave froze rsETH markets on V3 and V4, but this move also triggered a chain reaction that led to the $300 million borrowing surge. When the exploit was discovered, large investors withdrew billions of dollars worth of cryptocurrencies from Aave's liquidity pools, draining the pools and causing a liquidity crisis.

This crisis spread to USDT and USDC pools, raising their utilization rates to 100%. With over $6 billion in assets leaving the protocol, every lending pool was depleted, leaving no remaining balance for withdrawals.

Trapped USDT and USDC depositors, unable to withdraw their money, resorted to borrowing against their locked deposits at a loss. This desperate act of borrowing has reduced liquidity in other markets, with USDC and USDe markets now at 100% utilization.

The incident highlights that 'decentralized' does not mean 'without risk' and underscores the importance of understanding the underlying mechanics and risks associated with DeFi protocols.