Disabling outbound transactions is ineffective and allows for Zeta token theft
ZetaChain
HighCode4rena
Every publicly disclosed report for ZetaChain and what kind of bugs they were.
Newest first. Only what ZetaChain chose to make public.
ZetaChain
HighAn attacker can craft a cross-chain message whose intrinsic gas exceeds the minimum gas limit, causing the outbound transaction broadcast to fail repeatedly. This blocks all subsequent outgoing transactions to that external chain because nonces must be sequential.
ZetaChain
HighThe voting index for cross-chain transactions is a hash of the entire message, so any change to a field (such as gas limit or asset) alters the index. Since duplicate protection relies solely on this index, an attacker could resubmit an old transaction after a client update and have it processed again, leading to double spends.
ZetaChain
HighWhen a new gas coin is added, the protocol automatically creates a liquidity pool with a fixed 0.1 amount of the gas token and 0.1 WZETA, which can be highly imbalanced for valuable tokens like BTC. An attacker could monitor for new chain support and backrun the liquidity addition to swap ZETA for the gas token at a favourable rate, making an instant profit at the protocol's expense.
ZetaChain
MediumThe AddToInTxTracker function only handles EVM chains and returns an error for Bitcoin, so permissionless inbound transaction validation for Bitcoin always fails. An attacker cannot exploit this, but legitimate users are blocked from using the permissionless flow for Bitcoin.
ZetaChain
MediumCertain voting message types only allow a success observation vote, so a compromised observer can create spam ballots with false observations that honest observers cannot counter-vote. This lets the spammer avoid slashing while forcing honest observers to process the ballots.
ZetaChain
MediumThe transaction ante handler applies an infinite gas meter to any transaction containing at least one observer-only message, even if other messages are present. A malicious observer could bundle many gas-heavy messages with such a message, pay negligible gas, and fill block space, potentially preventing other transactions from being processed.
ZetaChain
MediumThe sender of an outbound cross-chain transaction from the zEVM is set to the transaction signer instead of the actual sender contract, so refunds for failed transactions go to the wrong address. An attacker can craft a failing transaction to steal refunded assets.
ZetaChain
MediumThe Zeta token supply checker incorrectly treats cross-chain transactions as settled once they are added to the OutTxTracker, even though they may still be pending in the EVM mempool. This can cause false positives, suggesting a supply mismatch when none exists.
ZetaChain
MediumCross-chain messages sent from an external chain are not guaranteed to be finalised in the order they were sent, because observers vote independently and at different times. A dApp that relies on two messages being processed in sequence, such as a stake followed by an unstake, could see the second message executed first and the transaction revert on the destination chain.
ZetaChain
MediumZetaChain
MediumThe inbound transaction tracker in ZetaChain did not check block confirmations before acting on cross-chain transactions, unlike the normal event handler. A malicious or compromised observer could add a transaction from a fork to the tracker and later profit from a block reorganisation, potentially causing a double spend.
ZetaChain
MediumThe AddToInTxTracker function does not check whether an inbound transaction tracker has already been executed, so anyone can re-add trackers for transactions that were already processed. Observers keep fetching and voting on these duplicate trackers, and because the vote digest already exists the vote fails and the tracker is never removed, so an attacker could flood the network with such trackers and cause congestion.
ZetaChain
MediumThe ZetaSupplyChecker summed the amounts of all aborted cross-chain transactions without checking whether each transaction's coin type was ZETA, so non-ZETA amounts were included. This made the reported aborted amount larger than the real ZETA amount and caused the supply verification result to be wrong.
ZetaChain
MediumZetaChain's observer nodes only checked the top-level 'to' field of transactions for the TSS address, ignoring internal transactions. When a smart contract wallet sent funds to the TSS address via a low-level call, the observers did not detect the deposit, so the funds were locked and never credited on ZetaChain.
ZetaChain
HighThe NonceVoter function in ZetaChain's crosschain module does not implement the intended voting logic and instead directly sets chain nonces. A single authorized observer can change a chain's nonce, causing UpdateNonce to fail and halting critical cross-chain operations, potentially locking funds.
ZetaChain
HighAn attacker can send an inbound transaction with a message exceeding the maximum length, causing the observer to error and skip all subsequent inbound transactions in the same block range. This allows the attacker to prevent legitimate transactions from being processed.
ZetaChain
HighCross-chain Zeta messages sent from the zEVM ignore the user-specified destination gas limit and instead use a hardcoded value of 90000. This can cause the outbound transaction to fail with an out-of-gas error, aborting the cross-chain transaction without refunding the sender.
ZetaChain
MediumThe observer client did not verify that ZetaReceived events came from the connector contract, so a receiver contract could emit a fake event with a wrong internalSendHash. This caused the cross-chain transaction to remain pending and block the outbound EVM transaction queue.
ZetaChain
HighThe getZetaFromToken function in ZetaTokenConsumerTrident.strategy.sol calls the wrong Trident router method, exactInputSingle, which expects Bento shares rather than raw ERC-20 tokens. As a result, any attempt to swap tokens for ZETA through this function will always revert.
ZetaChain
HighA race condition in the outbound transaction tracker allows an attacker to insert a fake reverted transaction with the same nonce as a legitimate cross-chain transfer, causing the system to process the fake transaction first and either revert the original transfer (double spend) or block it (denial of service).
ZetaChain
HighThe onRevert function in ZetaConnector contracts is gated by whenNotPaused, so when contracts are paused during an emergency, a failed cross-chain transaction cannot be refunded and user funds remain stuck in the protocol.
ZetaChain
HighThe Bitcoin client fetched unconfirmed UTXOs for the TSS address and used them as inputs for outgoing transactions. An attacker could send a low-fee transaction to the TSS address, causing outgoing transactions to remain unconfirmed, or replace it via RBF to invalidate the inputs and halt BTC transfers.
ZetaChain
HighWhen a cross-chain transaction on ZetaChain fails during processing, the code marks it as aborted but only attempts a refund for ERC20 inbound transactions, and for cross-chain swaps no refund logic exists at all. This can leave user funds temporarily or permanently frozen, depending on whether TSS holders manually intervene.
ZetaChain
MediumCross-chain messages sent from the zEVM had their user-specified message field overwritten with an empty string, so the destination contract's onZetaMessage function was never called. This made cross-chain messaging useless and could cause loss or locking of funds.
ZetaChain
HighWhen a cross-chain transaction is reverted on the destination chain, the revert transaction on the source chain can fail, causing the cross-chain transaction to be marked as Aborted. The user's funds are then lost because the tokens are burned on the source chain and cannot be minted back.
ZetaChain
MediumThe swap functions in the Zeta token consumer contracts always route through a WETH/WETH pool when the input or output token is WETH, but such a pool cannot exist, so direct WETH-to-ZETA swaps revert. An attacker could not exploit this; it is a functional bug that prevents users from swapping WETH directly.
ZetaChain
MediumThe outbound transaction tracker only stores up to two transaction hashes per pending cross-chain transaction. When gas price increases cause the transaction hash to change, observers cannot find the new hash, so the transaction remains stuck and blocks other pending transactions from being sent.
ZetaChain
MediumThe inbound ERC-20 deposit handler set the transaction signer (EOA) as the sender of the cross-chain message instead of the contract that called the deposit function. If the cross-chain transaction failed and was refunded, the refund went to the EOA rather than the intermediary contract, allowing the EOA to steal funds held by that contract.
ZetaChain
MediumThe voting hash for TSS key generation did not include the public key being voted on, so the last observer could submit a different public key that produced the same hash. This allowed the attacker to replace the TSS address with their own key, potentially stealing all funds and compromising the connector contract.
ZetaChain
High