We manage your security to weather the AI storm →

← Resource Hub

Cross-Chain Message Validation: A Receiver Checklist

By Daniel GelfandPublished 5 min read

Part of our guide to smart contract vulnerabilities

Cross-Chain Message Validation: A Receiver Checklist

Quick answer. Authenticate the exact message with the configured transport, then check its source chain, sender, destination, payload and permitted action. Prevent replays, enforce applicable expiry, ordering and finality, and verify payout backing; unverified fast fills cannot authorize privileged actions.

Watch: Cross-Chain Message Validation: A Receiver Checklist 1:46
Video transcript

A verified cross-chain message is not permission to change state. Your receiver still has to check who can act, what they can do, and whether they can do it now.

On standard delivery, require your configured transport to verify the exact message. Match the authenticated source chain and sender as a pair. Confirm the transport binds your destination chain and contract, or check both against authenticated payload fields.

Accept only supported payloads and actions the peer is allowed to request. Enforce expiry and ordering where required, and make sure retries cannot repeat the same payout.

Verus's July node release outlined a narrower proof for a separate Ethereum contract upgrade to match imports to validated Verus exports. For canonical mints or reserve releases, match the recipient, asset, and amount to a proven source operation.

A fast fill is not final approval. Cap any prefunded fill at assets actually received, and keep mints, reserve releases, and permission changes behind finalized authorization.

Map every path to a privileged action, including retries and callbacks. Decide whether revoking a peer cancels pending work, and check who can invoke each callback.

Use synthetic messages to confirm valid actions succeed, rejected messages cause no unauthorized application effect, and repeat deliveries never duplicate the business effect. Check transport receipts separately from application completion.

Read the full checklist for regression tests, or talk to Guardian about auditing every path that can mint tokens, release reserves, or change permissions.

Map the Trust Boundaries

Separate the relayer from the remote sender. In IBC V2, the relayer submits evidence for cross chain message validation, and the destination checks that the source committed the packet.[1]

Our cross-chain bridge security guide covers designs and verifier risks. This checklist covers what destination contracts must verify.

Draw every path to each privileged handler: normal delivery, retry, fast execution, and callbacks. Mark which component establishes authority on each path.

A cross-chain bridge audit checks message verification, peer and destination binding, and who can execute compose callbacks.

Authenticate Origin and Destination

On LayerZero V2, the reference OApp receiver checks that the configured local endpoint called it. It then checks the registered peer for the source endpoint ID.[2]

On Axelar's standard EVM path, the receiver asks its configured gateway to verify approval of the exact message. The application separately checks whether it trusts the authenticated source chain and sender.[3]

Wormhole's base Verifiable Action Approval (VAA) format has no built-in destination.[4]

Guardian's M0 Liquidity Delivery review found that the Wormhole adapter didn't bind transfers to their intended destination. The report marks the finding resolved.[5]

Treat execution context separately from message fields. For example, LayerZero's endpoint identifies executor-supplied extra data as untrusted.[6]

  • Transport: Require the configured endpoint or proof verifier to authenticate the exact message before processing it.
  • Origin: Match the authenticated chain and remote sender as a pair. Reject missing or disabled routes rather than falling back to a default.
  • Scope: Grant each route only the actions it needs. A peer authorized to send payment notices need not be allowed to change mint permissions.
  • Destination: Confirm the transport binds both this chain and receiver. Otherwise, check both against authenticated payload fields.
  • Finality: Check what the verifier attests about source finality. Require a route that meets the action's finality threshold.

Check Lifetime and Payload

Identify what the transport consumes and in which namespace. IBC V2 records a receipt under the destination client and packet sequence and rejects delivery after timeout.[1]

Use a message ID or nonce from authenticated data and scope the replay key to the authenticated route. If multiple deliveries can represent one payout, deduplicate by the verified source operation too.

Decide whether actions must run in order. LayerZero V2 defaults to unordered execution, so enforce an application sequence if a later action depends on an earlier one.[7]

Set a deadline for instructions that become unsafe with age. Bind that deadline to authenticated data and specify what happens to expired or queued requests.

Solidity recommends checks, effects, then interactions: validate inputs, update contract state, then make external calls.[8]

Reserve or record application consumption before external calls. If the payout fails, don't retain a record of successful payment.

  • Format: Accept supported payload versions and action types only. Reject malformed payloads and cap variable-length fields before processing batches.
  • Authority: Decode into a known operation with explicit arguments. Restrict call targets and selectors rather than treating a verified payload as arbitrary calldata.
  • Backing: Match recipient, asset and amount to the proven lock, burn or export. Apply the route's unit conversion, fees and rounding.
  • State: Check route pause, payout limits and remaining entitlement before releasing value. Treat limits as a cap on exposure, not evidence of authorization.

Two Receiver Failures

Cryip dates the CrossCurve incident to January 31 through February 1, 2026. Defimon Alerts, cited by Cointelegraph, attributed unauthorized unlocks to CrossCurve's Express receiver accepting spoofed messages without canonical gateway approval.[9, 10]

The Verus-Ethereum bridge was drained on May 17, 2026. Verus's July node release outlined a narrower proof for a separate Ethereum contract upgrade to match imports to validated Verus exports.[11, 12]

Guard Express and Retry Paths

Axelar Express can execute before source finality with caller-supplied origin and payload fields the gateway hasn't verified. Some plain Express calls require no fronted assets.[13]

Keep reserve releases, mints and admin changes behind finalized authorization. Treat a prefunded fill as a separate operation and cap it at assets actually received.

Canonical execution settles a matching prefunded fill without rerunning the action; matching covers the message and applicable value terms, not just its ID. On mismatch, the standard handler may run; without approval, the early fill stands.

Track provisional fills separately from final completion and reconcile them only after verified settlement. Never let a provisional record block a legitimate final delivery.

Check the caller of a follow-on callback separately. LayerZero's compose example checks both the local endpoint and the application that queued the compose call.[7]

Guardian's Olympus Migration report found a retry checked the stored payload hash without checking whether the remote peer remained trusted. Olympus acknowledged the finding.[14]

Decide explicitly whether revoking a peer cancels pending work. If it does, enforce revocation on both queued callbacks and retries.

Run Receiver Regression Tests

Use synthetic messages in your own receiver harness. Start with a valid message and assert the exact recipient, balance or permission change and completion record.

For each rejection, assert no unintended change to balances, supply, roles or replay state. For multi-step delivery, check what earlier transactions already committed.

Re-run the suite after changes to a peer, payload decoder or callback. Include pending messages created before the change, not just fresh ones.

  • With a valid fixture, vary the local caller, source chain and remote peer one at a time. Each unauthorized case must fail.
  • In your harness, submit a modified version of an approved synthetic payload through normal verification. Assert rejection before the application action runs.
  • Deliver a verified fixture requesting an action outside the peer's permissions. The receiver must reject it even though the origin is valid.
  • Use a fixture addressed to another chain or receiver. Verification must not authorize a local effect.
  • Deliver an accepted message twice, then present the same source operation through another allowed path. The business effect must still occur once.
  • Deliver two verified fixtures out of order on an unordered route. The independent action succeeds; the dependent action waits or rejects without completion.
  • Reject fixtures with insufficient finality, malformed or expired payloads, unsupported versions, or payouts beyond backing after conversion.
  • Clear a retryable failure and assert one completion on retry. Reject retries after terminal failures. Check transport receipts and application completion separately.
  • Disable a route with work pending. Assert the configured policy on initial delivery, retry and compose, including messages verified before the change.
  • Run fast and final delivery in both orders, including a missing or mismatched final message. Assert no duplicate payout or premature release of reserves.

Review What Your Receiver Can Authorize

If a message can mint tokens, release reserves, or change permissions, scope a cross-chain bridge audit around every path that can reach those operations.

Frequently Asked Questions

Are LayerZero endpoint IDs the same as EVM chain IDs?

No. LayerZero uses its own endpoint IDs, including for non-EVM chains. Use the LayerZero ID for the exact network when configuring a peer. Do not substitute the EVM chain ID.[7, 15]

Can a verified Axelar message be retried after a revert?

Yes, on the standard EVM path. A receiver revert also rolls back the gateway's consumption of the approval. The same message can be submitted again without obtaining a new approval.[3]

Sources

  1. LF Decentralized Trust IBC: IBC V2 ICS-004 Packet Handler Specification
  2. LayerZero Labs: LayerZero V2 OAppReceiver.sol
  3. Axelar: Message verification
  4. Wormhole: Verifiable Action Approvals
  5. Guardian: M0 Liquidity Delivery: C-02 destination binding
  6. LayerZero Labs: LayerZero EndpointV2.sol
  7. LayerZero: LayerZero V2 OApp Quickstart
  8. Solidity: Solidity Security Considerations
  9. Cointelegraph: Crypto protocol CrossCurve under attack, $3M reportedly exploited
  10. Cryip: CrossCurve Bridge Hack Post-Mortem: How Message Spoofing Led to a $1.4M Exploit
  11. haoxiang14: Verus-Ethereum Bridge Exploit Investigation Report
  12. Verus: Verus v1.2.17 bridge restoration and recovery release
  13. Axelar: Express
  14. Guardian: Olympus Migration: I-09 trusted remote checks on retry
  15. LayerZero: Deployed Endpoints, Message Libraries, and Executors
  16. CrossCurve: CrossCurve Security Audits
  17. Blockaid: Cross-Chain Verification Failures: How Bridges Lost Another $24.6M (September 18, 2026)
  18. crypto.news: Verus bridge attacker sends back $8.5M, keeps bounty
  19. Verus: Verus v1.3.0 security and restoration release
  20. Guardian: Cross-Chain Bridge Security: How Bridges Get Hacked
  21. LayerZero: LayerZero V2 OFT Quickstart
  22. LayerZero: Solana Guidance