Skip to content
We manage your security to weather the AI storm →

Security review · November 2026

NilifyDelegate for LayerZero

Guardian's review of NilifyDelegate for LayerZero, published November 2026. The report records 1 finding, including 1 informational.

See how Guardian runs a cross-chain bridge audit.

Published
Review window
November 12, 2026
Chains
Ethereum, Solana, Stellar
Sector
Cross-chain
  • 0 Critical
  • 0 High
  • 0 Medium
  • 0 Low
  • 1 Informational

1 acknowledged

Findings 1

  1. I-01 Informational OApps require compatibility review before opting into NilifyDelegate Compatibility Acknowledged

    Description

    Any OApp can set NilifyDelegate as its Endpoint delegate, but the contract cannot determine whether that OApp is compatible with the resulting execution behavior. A strictly ordered OApp may receive no application-level liveness benefit: although nilification fills the Endpoint's payload-hash gap, the OApp continues rejecting nonce N+1 while it expects nonce N.

    Endpoint V2 already permits unordered OApps to execute N+1 before N once both messages are verified. NilifyDelegate extends this behavior to the case where N remains unverified by placing a NIL marker in its slot. An OApp that implicitly depends on ordering without enforcing it is therefore already incompatible with ordinary unordered V2 execution, but nilification can expose the issue while N is still unverified. Execution of N+1 may change application state such that a later attempt to execute N reverts in the OApp's application logic, even though N remains re-verifiable and executable from the Endpoint's perspective.

    Replacing NilifyDelegate prevents future nilifications but does not remove NIL entries already stored in the Endpoint, including entries for future nonces. Those entries remain until they are overwritten by verification or otherwise handled once eligible, and may continue affecting execution sequencing after the OApp opts out.

    Endpoint V2 also permits only one delegate per OApp. While NilifyDelegate is installed, the previous delegate cannot change messaging libraries or DVN configuration and cannot call skip, clear, or burn. These operations require the OApp itself, an exposed pass-through function, or temporarily assigning another delegate.

    Recommendation

    Document these behaviors in OApp onboarding materials. OApps should confirm that their application logic safely supports unordered execution, or understand that strict application-level ordering prevents nilification from unblocking later execution. Also document that existing NIL entries survive delegate replacement, that selecting NilifyDelegate displaces the previous delegate, and that the OApp owner must remain able to perform any required delegate switch and recovery.

    Resolution

    Guardian: Client reason: The NilifyDelegate will not be publicized for OApps to independently opt into. It will be a decision taken by LayerZero at this time, and all OApps will be checked for compatibility.

More from LayerZero

All 12 reports
  1. Solana Console: Console OFT and OApp V2

    18 findings 18 findings: 1 medium, 5 low, 12 informational
  2. Canton BurnMint Adapter

    3 findings 3 findings: 2 low, 1 informational
  3. OneSig on Canton

    32 findings 32 findings: 5 medium, 23 low, 4 informational
  4. OneSig on Solana

    27 findings 27 findings: 3 low, 24 informational

Put your code through the same review.

This review started with a conversation about scope. Tell us what you are building and we will plan yours with you.

Get a quote