December 31, 2024
|
Cover image for "DEXX’s $21M Key Leak, MoonHacker’s Contract Hijack, and Clipper’s Liquidity Fragility"

DEXX’s $21M Key Leak, MoonHacker’s Contract Hijack, and Clipper’s Liquidity Fragility

DEXX was drained for $21M after private keys for 12,413 wallets were compromised. MoonHacker lost $320K by failing to validate mToken calls in its vault contract, letting attackers inject malicious tokens. Clipper suffered a $458K hit as low-liquidity pools on Optimism and Base enabled profitable price manipulation.

In Brief

  • MoonHacker’s access control vulnerability resulted in a $320K loss.
  • Clipper suffered a $458K price manipulation attack.
  • DEXX private key compromise attack affected 12,413 addresses.

Hacks Analysis

MoonHacker | Amount Lost: $320K

On December 23rd, the MoonHacker exploit on Optimism resulted in a $320K loss. The root cause was missing access control in the executeOperation() function of the MoonHacker vault contract. This function facilitates operations like supplying, borrowing, and redeeming tokens by interacting with mToken contracts, representing lending market assets in Moonwell’s ecosystem. However, the mToken parameter was not validated to ensure it belonged to a legitimate Moonwell market, and the function lacked restrictions on who could call it. The attacker was able to feed a malicious contract as the mToken address to drain the vault.

Press enter or click to view image in full size

Exploited Contract (on Optimism): 0x24592ed1ccf9e5ae235e24a932b378891313fb75

Transaction: 0xd12016b25d7aef681ade3dc3c9d1a1cc12f35b2c99953ff0e0ee23a59454c4fe

Clipper | Amount Lost: $458K

On December 1st, the Clipper exploit on the Optimism and Base networks resulted in a $458K loss. The attacker targeted Clipper pools with low balances and low constant product (k) values and manipulated the pool’s state to withdraw more assets than deposited. The low liquidity in Optimism and Base pools allowed minor swaps to significantly affect the pool’s price ratios. This imbalance increased the value of tokens during withdrawals.

Press enter or click to view image in full size

Clipper Optimism Pool Contract: 0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40

Clipper Base Pool Contract: 0xb32d856cad3d2ef07c94867a800035e37241247c

Transaction: 0x45fcb83d65d96d6ea0e90a71c6bf9b68ce8635031b67d0ee9389c8fba2cdc042

DEXX | Amount Lost: $21M

On November 16th, the DEXX exploit on Solana, Ethereum, Base, and BSC resulted in a $21M loss. The root cause was a private key leak that compromised user wallets and enabled unauthorized transactions. The attack compromised 8,338 Solana addresses and 4,075 ETH, Base, BSC addresses. The DEXX team has acknowledged the exploit and offered to allocate 80% of daily platform revenue to reimburse affected users.

Press enter or click to view image in full size

List of Affected Wallets (on Solana): https://docs.google.com/spreadsheets/d/1NMcba32lkeHk5Al4zKB8IOlLGkP8A5TFCp2oDbToaqQ/edit?gid=792798014#gid=792798014

Transaction: KdCzjQBcbsWJx4rWuxirfrSThKnUrqhtB119TPjyKUQ2aqNdRCnjJLSTbQq5qV9Hjz2Ms9ZqGcFEXfWmThnGEGc

‍

Ready to Shift Security Assurance In-House? Talk to Our Security Experts Today.