跳到正文
SlowMist_Team· @SlowMist_Team·· 3 天前精选AI 评分79

SlowMist 分析 zkLink 跨链协议约 783K 美元攻击事件

🚨 On October 29, 2026, cross-chain protocol @zkLink_Official was exploited for approximately $783K. The SlowMist Security Team analyzed the incident and uncovered how a transient storage flaw led to forged batch roots and unauthorized withdrawals. 🧩 Attack Flow: 1️⃣ Queried totalBatchesExecuted and selected the next batch (116409) for forgery. 2️⃣ Executed a genuine Linea claim through SyncL2TxHashRelayer, writing finalizeMessageHash into transient storage. 3️⃣ Reused the stale finalizeMessageHash in a second claimMessage call, triggering an attacker-controlled call to EthereumGateway. 4️⃣ Used EthereumGateway.sendMessage to call ZkLink.syncBatchRoot, forging the batch root and advancing totalBatchesExecuted. 5️⃣ Executed 12 withdrawals against the forged root: 1 ETH and 11 ERC-20 transfers using forged Merkle proofs. ⚙️ Root Cause: Arbitrator.claimMessage allows relayers to specify arbitrary call targets and calldata, while failing to clear or bind finalizeMessageHash to the current

AI 导读

SlowMist 安全团队分析了 zkLink 跨链协议在 2026 年 10 月 29 日遭利用、损失约 783K 美元的事件,指出瞬态存储缺陷导致批次根被伪造并发生未经授权的提现。

推荐理由

分析梳理了 zkLink 跨链协议约 783K 美元攻击的调用链与根因,并归纳出瞬态存储、调用绑定和批次根校验等审查要点。

来源:SlowMist_Team · x.com