Root-cause analysis not yet published. The incident description below contains all currently available signal — review the attack transaction directly for definitive forensics.
Reproducible Foundry test fork from SunWeb3Sec/DeFiHackLabs. Clone the repo, run forge test against the file path above, and replay the exploit against a mainnet fork at the historical block. Use for reproduction only — not for live targets.
Onyx protocol suffered a security breach, resulting in a loss of over $3.8 million. The attacker exploited a known precision issue in the Compound V2 code. Additionally, the NFTLiquidation contract failed to properly validate untrusted user input, allowing the attacker to inflate the self-liquidation reward amount, which further worsened the losses. Attack method (per SlowMist): Contract Vulnerability. Reported loss: $ 3,800,000.
- chain
- —
- protocol
- Onyx
- bug_class
- logic
- date_occurred
- 2024-09-26
- loss_usd
- $3,800,000
- source_id
- sm:onyx::2024-09-26