The aftermath of the KelpDAO hack has brought unintended consequences to stablecoin markets. 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 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 situation 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. The head of strategy at Spark, a rival DeFi lending platform, noted that the illiquidity in Aave's stablecoin markets has led to a $300 million increase in borrowing with USDT collateral in just one day.

To understand how the KelpDAO exploit affected Aave, it's essential to grasp 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.

Users deposit assets into lending pools and earn interest, while others borrow from these pools by posting crypto assets as collateral. The system relies 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 disrupted.

The KelpDAO exploit, which involved the manipulation of the protocol's bridge infrastructure to release unbacked rsETH tokens, has triggered a chain reaction that has locked every stablecoin exit on Aave. The exploit allowed an attacker to borrow real ETH and other assets against fake tokens, resulting in a significant loss of funds.

Aave subsequently froze rsETH markets, but this move also set off a chain reaction that produced 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 utilization rates to rise to 100%. This meant that users could no longer withdraw their funds, prompting them to take out loans against their locked deposits.

The resulting borrowing surge has been driven by trapped USDT and USDC depositors who are desperate to access liquidity, even if it means accepting a loss. This situation highlights the risks associated with decentralized finance and the importance of understanding the complexities of these systems.