The aftermath of the KelpDAO hack has sent shockwaves through stablecoin markets in unforeseen ways. Within the first 24 hours of 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 desperate measure for liquidity is a sign of the system's illiquidity. The 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 in Aave's stablecoin markets. To understand how the KelpDAO exploit led to a simultaneous lock on every stablecoin exit on Aave, it's essential to grasp how the system is designed to work and where it failed. Aave is a decentralized finance protocol that allows users to lend and borrow cryptocurrencies without intermediaries.

The system 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, which involved the manipulation of the protocol's bridge infrastructure to release 116,500 rsETH tokens, triggered a chain reaction that resulted in the $300 million borrowing surge.

The exploit led to a freeze on rsETH markets on Aave, which in turn caused a liquidity crisis. As whales and big funds withdrew billions of dollars worth of cryptocurrencies from Aave's liquidity pools, the pools became drained, and utilization rates reached 100%.

This led to a situation where users could not withdraw their funds, and instead, they began borrowing against their locked deposits at a loss. The borrowing surge is a desperate attempt by users to extract liquidity from the system, with some accepting losses of up to 25% to exit via other markets. The incident highlights the risks associated with decentralized finance and the importance of understanding the underlying mechanisms of these systems.