A Malicious Observer can broadcast the Solana cancel tx instead of the execute tx
All Solana Observers sign both the execute and increment nonce instructions when preparing an execute transaction. A malicious Observer can broadcast the increment nonce transaction instead of the execute transaction, consuming the nonce and preventing the execute outbound from being processed.
Source: https://github.com/sherlock-audit/2025-04-zetachain-cross-chain-judging/issues/372
Found by
Al-Qa-qa, Laksmana, g
Summary
Solana Observers will sign both the execute and increment nonce instructions when preparing an execute SPL transaction. Since all Observers will sign both instructions, a malicious Observer can broadcast the fallback transaction (increment nonce) instead of the execute transaction. A single Observer can prevent Solana execute instructions indefinitely.
Root Cause
When preparing the execute or execute SPL transactions, all the observers TSS-sign both the execute and increment nonce instructions. Since the TSS signature for the increment nonce transaction is available, a malicious Observer can use this to broadcast the increment nonce transaction instead of the execute transaction.
// in `prepareExecuteTx()` and `prepareExecuteSPLTx()`
tx, err := signer.signTx(ctx, inst, params.CallOptions.GasLimit)
// ... snip ...
fallbackTx, err := signer.signTx(ctx, fallbackInst, 0)
Internal Pre-conditions
None
External Pre-conditions
None
Attack Path
- A malicious Observer modifies their Solana Observer code to broadcast the increment nonce transaction instead of the execute transaction.
- Once an
executeoutbound is processed, the malicious Observer can broadcast the increment nonce without delay, so they can be the first to broadcast and consume the nonce. - The nonce will be incremented, and the execute Outbound is effectively cancelled.
- This attack can be done repeatedly to prevent most execute Outbounds from getting broadcasted.
Impact
A single Observer can prevent Solana execute Outbounds indefinitely.
PoC
No response
Mitigation
No response
Discussion
sherlock-admin2
The protocol team fixed this issue in the following PRs/commits: https://github.com/zeta-chain/node/pull/3914
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the system allows all observers to sign both the execute and increment nonce instructions, so a malicious observer can use the increment nonce signature to broadcast that transaction instead of the execute transaction.
Impact
A single Observer can prevent Solana execute Outbounds indefinitely.
What the attacker needed
Malicious Observer role
The fix
The protocol team fixed this issue in a pull request.
How it was found
- A malicious Observer modifies their Solana Observer code to broadcast the increment nonce transaction instead of the execute transaction.
- Once an execute outbound is processed, the malicious Observer broadcasts the increment nonce without delay, being first to consume the nonce.
- The nonce is incremented, and the execute Outbound is effectively cancelled.
- This attack can be repeated to prevent most execute Outbounds from being broadcasted.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
In a blockchain system, multiple observers watch and sign transactions. Here, they sign two transactions: one to execute an action and one to increment a nonce (a counter). A malicious observer can broadcast the nonce increment instead of the execute, which cancels the execute. This means one bad observer can block legitimate actions.
What is Smart contracts?
Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.