December 31, 2024
|

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

What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.

  1. Follow-up: Conduct a follow-up review to ensure that the remediation steps were effective and that the smart contract is now secure.
  2. Follow-up: Conduct a follow-up review to ensure that the remediation steps were effective and that the smart contract is now secure.

In Brief

  • Remitano suffered a $2.7M loss due to a private key compromise.
  • GAMBL’s recommendation system was exploited.
  • DAppSocial lost $530K due to a logic vulnerability.
  • Rocketswap’s private keys were inadvertently deployed on the server.

Hacks

Hacks Analysis

Huobi  |  Amount Lost: $8M

On September 24th, the Huobi Global exploit on the Ethereum Mainnet resulted in a $8 million loss due to the compromise of private keys. The attacker executed the attack in a single transaction by sending 4,999 ETH to a malicious contract. The attacker then created a second malicious contract and transferred 1,001 ETH to this new contract. Huobi has since confirmed that they have identified the attacker and has extended an offer of a 5% white hat bounty reward if the funds are returned to the exchange.

Exploit Contract: 0x2abc22eb9a09ebbe7b41737ccde147f586efeb6a

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