Moontok
All news

SlowMist: zkLink attacked, losing about $783,000, involving transient storage vulnerability

Published Source: Jinse Finance

According to analysis by the SlowMist security team, cross-chain protocol zkLink was attacked on October 29, with losses of about $783,000. The attacker exploited a residual verification value in transient storage to forge a batch root used for withdrawal verification, then completed 12 withdrawals, including 1 ETH withdrawal and 11 ERC-20 token withdrawals.

The analysis noted that the attacker first obtained and wrote a verification value through a genuine cross-chain message, then reused that value in a subsequent call within the same transaction, using the relay and gateway contracts to write a forged batch root. The relevant contracts allow relayers to specify external call targets and parameters, the verification value was not cleared or bound to the current call, and batch root updates only verified the gateway identity, lacking independent proof verification.

AI-translated summary. Check important details with the original source.