The Latest DeFi Exploit: Onyx Loses $2.1 Million to Attacker

The Latest DeFi Exploit: Onyx Loses $2.1 Million to Attacker


Onyx Protocol Loses $2.1 Million in Security Exploit

The decentralized finance protocol Onyx has fallen victim to a security exploit resulting in a loss of over $2.1 million. According to security firm BlockSec, the attacker exploited a vulnerability in Onyx’s codebase known as “precision loss” using an integer rounding issue and a flash loan. By taking out a large flash loan of ETH, swapping it for PEPE, and donating it to a specific pool, the attacker manipulated the exchange rate. They were then able to withdraw more assets by burning fewer shares due to the precision loss. This attack is reminiscent of the one carried out on Hundred Finance last year.

The vulnerability originates from an older version of Compound V2 integrated into Onyx’s architecture.

As per on-chain data, the attacker has already sent 700 ETH ($1.25 million) to the crypto mixing service Tornado Cash.

Hot Take: Onyx Protocol Hack Reveals Persistent Vulnerabilities in DeFi

The recent security exploit suffered by Onyx Protocol highlights the ongoing vulnerabilities within the decentralized finance (DeFi) space. Despite efforts to enhance security measures and protocols, hackers continue to find ways to exploit weaknesses in codebases and execute sophisticated attacks. The precision loss vulnerability, stemming from an older version of Compound V2, emphasizes the importance of thorough audits and diligent code maintenance in DeFi projects.

Read Disclaimer
This page is simply meant to provide information. It does not constitute a direct offer to purchase or sell, a solicitation of an offer to buy or sell, or a suggestion or endorsement of any goods, services, or businesses. Lolacoin.org does not offer accounting, tax, or legal advice. When using or relying on any of the products, services, or content described in this article, neither the firm nor the author is liable, directly or indirectly, for any harm or loss that may result. Read more at Important Disclaimers and at Risk Disclaimers.

This incident serves as a reminder for both developers and users of DeFi platforms to remain vigilant and proactive in identifying potential vulnerabilities and implementing robust security measures. As the DeFi industry grows, it is crucial for participants to prioritize security to protect user funds and maintain trust in these financial systems.

Author – Contributor at | Website

Theon Barrett shines as a distinguished crypto analyst, accomplished researcher, and skilled editor, making significant strides in the field of cryptocurrency. With an astute analytical approach, Theon brings clarity to intricate crypto landscapes, offering insights that resonate with a broad audience. His research prowess goes hand in hand with his editorial finesse, allowing him to distill complex information into accessible formats.