Li.Fi Suffers $11 Million Hack, Highlighting DeFi Security Risks
![](https://bitspuls.com/wp-content/uploads/2024/07/2607530_1.jpg)
On July 16, 2024, the cross-chain DeFi protocol Li.Fi experienced a significant security breach, resulting in the loss of approximately $11 million in cryptocurrencies. The hack targeted users who had set infinite approvals on their accounts, allowing a malicious smart contract to drain their funds. Li.Fi has since contained the exploit and assures users that they are no longer at risk.
Li.Fi Hack: A Deeper Look
The hack appears to have exploited a vulnerability in the Li.Fi bridge, potentially related to a function in a smart contract deployed just days before the attack. This function allowed for “arbitrary call with user-controlled data,” giving the attacker control over user funds.
This incident highlights the ongoing security challenges faced by DeFi protocols. While Li.Fi acted swiftly to contain the damage, this is not the first time the protocol has experienced security issues. In 2022, a bug in their swapping feature resulted in losses of $600,000.
Li.Fi recommends that users immediately revoke their approvals and visit scan.li.fi to check for any potential compromises. The protocol is also working with law enforcement and industry security teams to trace the stolen funds.
DeFi Security: A Growing Concern
The Li.Fi hack is just the latest in a string of crypto thefts in 2024. According to blockchain intelligence firm TRM Labs, hackers stole more than twice as much cryptocurrency in the first half of 2024 compared to the same period in 2023. This growing trend underscores the importance of robust security measures in the DeFi space.
While the future of DeFi remains bright, it’s clear that security needs to be a top priority for all protocols. Users should be extra cautious about setting infinite approvals and always prioritize security best practices.