The aftermath of the KelpDAO hack is causing widespread disruption in stablecoin markets, with 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 surge in borrowing 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 phenomenon can be likened to a bank refusing to process customer withdrawals, prompting customers to take out loans on their deposits out of desperation. The head of strategy at Spark, a rival DeFi lending platform, noted that the $300 million increase in borrowing with USDT collateral is a direct result of users being unable to withdraw due to 100% utilization.

To understand the root cause of this issue, it's essential to grasp how Aave functions and where the system failed. Aave is a decentralized finance protocol that facilitates lending and borrowing of 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 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 subsequent freeze of rsETH markets on Aave's V3 and V4 platforms stopped the immediate damage but triggered a chain reaction that resulted in 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 reach 100%. This, in turn, led to a surge in secondary borrowing, as trapped USDT and USDC depositors, unable to withdraw their funds, began borrowing against their locked deposits at a loss. The head of strategy at Spark observed that users with stuck USDT deposits can borrow up to 75% of the total loan-to-value of their deposited collateral, but this reduces liquidity in other markets, exacerbating the crisis.

The situation serves as a reminder that decentralized finance is not without risk.