Categories: Payment system news

zkSync DEX Merlin Exploited for Over $1.8M After Code Audit

Ethereum-based decentralized exchange (DEX) Merlin, which uses zero-knowledge sync (zkSync), has lost more than $1.8 million in a liquidity pool exploit hours after smart contract security firm CertiK audited its code.

The hack occurred on Wednesday morning during the public sale of Merlin’s native token, MAGE, with the attacker siphoning several assets, including USD Coin (USDC), Ether (ETH), and other illiquid tokens.

Merlin’s LP Drained After Code Audit

A few hours after the exploit, CertiK tweeted that it was investigating the incident and working to understand its impact on the community. The security firm disclosed that its initial findings suggested that a private key management issue may have led to the hack and not an exploit, as widely believed.

CertiK said it pointed out the centralization risk in the recent audit report for Merlin under the “Decentralization Efforts” section. The firm insisted that while audits could not prevent private key issues, they always ensured to highlight better practices for projects.

As claimed in the audit dated April 24, 2023, CertiK recommended that Merlin improve its centralized roles to a decentralized mechanism like multi-signature wallets to enhance security practices. The firm also asked the protocol to implement a timelock feature with a latency of at least 48 hours to avoid a single point of key management failure. CertiK has also promised to work with appropriate authorities if any foul play is discovered.

“We encourage all community members to review this information and all audits fully. As we navigate this challenging situation, we want to assure you that we are taking all necessary measures to protect our community’s interests,” CertiK said.

Malicious Code Detected

Interestingly, eZKalibur, another zkSync DEX and launchpad, revealed it had identified the malicious code that enabled the hackers to drain Merlin’s funds. The DEX said it found two lines of code in the initialize function that gave the feeTo address approval to transfer an unlimited amount of tokens from the contract’s address.

We did some research on Merlin smart contracts and we identified the malicious code responsible for the draining of funds.

These two lines of code in the initialize function are essentially granting approval for the feeTo address to transfer an unlimited (type(uint256).max)… pic.twitter.com/mIksh4HkhB

— eZKalibur ∎ (@zkaliburDEX) April 26, 2023

Meanwhile, the Merlin team has asked users to revoke access to the connected site on their wallets as they analyze the cause of the exploit.

The post zkSync DEX Merlin Exploited for Over $1.8M After Code Audit appeared first on CryptoPotato.

superadmin

Recent Posts

XRP Faces $0.7 Drop as Crypto Funds Suffer Third Straight Week of Outflows, Losing $1.065B

XRP might witness another notable decline before staging a major recovery, according to renowned market…

12 hours ago

Cardano Faces a Crucial Turning Point Amid Treasury Rejection, Putting $22M ADA Proposal to Rest

Cardano (ADA) is edging closer to a crucial technical level that could determine its next…

12 hours ago

Is Solana Facing One Last $60–$75 Shakeout Before Bulls Stage a Comeback?

Questions are being raised about whether Solana (SOL) will face another painful leg lower before a major recovery.…

12 hours ago

Ripple’s RLUSD Supply Hits Record $2.7 Billion, With Ethereum Holding Majority Over XRP Ledger

Ripple’s RLUSD stablecoin has achieved another milestone. Its total market supply has reached $2.7 billion,…

12 hours ago

Bitwise CIO Sees Bitcoin Capital Rotating Into Zcash as Institutions Seek Privacy

For the better part of this year, Zcash (ZEC) gained notable traction, which enabled it…

12 hours ago

Xsolla ZK’s New Gas Token Aims to Let Digital Items Travel Between Games and Players

Xsolla ZK, Inc. is introducing Xsolla Gas (XLA), the native token of Xsolla ZK —…

13 hours ago