In a bid to enhance user safety and prevent significant financial losses, decentralized finance (DeFi) protocol Aave is set to launch a new feature called Aave Shield. This feature aims to block trades with a price impact exceeding 25%, following a recent incident where a user lost $50 million while swapping tokens on Aave’s platform.
The Incident
The significant loss occurred on Thursday when a user attempted to convert $50.4 million worth of Tether (USDT) to Aave (AAVE) via the decentralized exchange CoW Swap. Due to poor liquidity and infrastructure failures, the user received only $36,500 worth of Aave, resulting in a loss of just over $50 million. A part of this loss was also attributed to a Maximal Extractable Value (MEV) bot that executed a sandwich attack, profiting nearly $10 million.
Aave’s Response
Aave detailed the incident in a post-mortem statement, highlighting that the user had ignored multiple warning signs. These warnings included alerts about a high price impact and a notice stating that the trade might return less due to low liquidity. The user also confirmed the swap despite a potential 100% value loss, ticking a confirmation box that stated, “I confirm the swap with a potential 100% value loss.”
CoW DAO’s Analysis
While Aave and CoW DAO, the team behind CoW Swap, attributed the extreme price impact to poor liquidity, CoW DAO noted that multiple infrastructure failures also played a significant role. One solver, a third-party service that finds the best way to execute a trade, was affected by an outdated gas limit, which blocked better-priced quotes. Another solver with a cheaper price quote failed to submit the transaction onchain when they had the opportunity. CoW DAO also suggested that a possible mempool leak might have contributed to the $50 million price quote.
Future Implications
The introduction of Aave Shield is a step towards enhancing user protection and mitigating the risks associated with high-impact trades. Users will need to manually disable the Aave Shield protection feature to proceed with high-risk trades. This move underscores the ongoing challenges in the DeFi space, where liquidity and infrastructure issues can lead to significant financial losses. Aave and CoW DAO’s commitment to transparency and collaboration with the broader community is crucial in addressing these issues and building a more robust DeFi ecosystem.
As the DeFi landscape continues to evolve, the integration of advanced features like Aave Shield will be essential in fostering trust and ensuring the long-term sustainability of decentralized finance platforms.
