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

Security review · September 2026

Canton BurnMint Adapter for LayerZero

Guardian's review of Canton BurnMint Adapter for LayerZero, published September 2026. The report records 3 findings, including 2 low and 1 informational.

See how Guardian runs a cross-chain bridge audit.

Published
Review window
September 15 to 21, 2026
Language
DAML
Chains
Ethereum, Solana, Stellar
Sector
Cross-chain
  • 0 Critical
  • 0 High
  • 0 Medium
  • 2 Low
  • 1 Informational

3 acknowledged

Scope

  • GuardianAudits/audit-external ab3b128c7a
16 files in scope · 1,442 nSLOC
FilenSLOCLines
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml.yaml2728
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/BurnMintAdapter.daml176197
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/BurnMintAdapterConfig.daml273310
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/Callback/Dispatcher.daml6979
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/Callback/ExecuteContext.daml7988
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/Errors.daml1522
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzReceive/Call/Impl.daml6875
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzReceive/Callback/Accept.daml112125
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzSend/Call/Impl.daml158177
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzSend/Call/Keys.daml4657
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzSend/Call/Parser.daml127138
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzSend/Callback/Accept.daml97108
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzSend/Callback/ContextBuilder.daml5558
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzSend/Callback/Parser.daml1416
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzSend/Callback/Reject.daml96106
contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/Utils/Core.daml3032

Findings 3

  1. L-01 Low Local payouts bypass sender holder credentials Access Control Acknowledged
    Location
    contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzSend/Call/Impl.daml:121-147 contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzSend/Callback/Accept.daml:69-95

    Description

    An OApp_LzSend request can allocate part of a sender's holdings to local recipients as contingent payouts. For a Utility Registry instrument, holderRequirements govern transfers and TransferFactory_Transfer checks the sender's holder credential. The adapter instead funds payouts by burning the sender's holding through BurnMintFactory_BurnMint, which checks issuerRequirements but not holderRequirements. The send path does not check the sender's holder eligibility before accepting a positive payout.

    After acceptance, the callback mints that payout to mintEscrow and opens a transfer to the chosen recipient. The Registry checks the escrow's holder credential at that point. A sender who may burn but may not transfer can therefore pay a credentialed recipient through the adapter, even though a direct transfer from that sender would fail. This applies to supported instruments with different issuer and holder requirements, including sends with a positive cross chain amount.

    Recommendation

    Require the original sender to satisfy the instrument's holder transfer requirements before accepting a send with a positive local payout. Use an issuer authenticated policy check or disable contingent payouts for instruments whose holder requirements the adapter cannot verify.

  2. L-02 Low Pending payouts lose their recovery path Business logic errors Acknowledged
    Location
    contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/BurnMintAdapter.daml:193-197 contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzSend/Callback/Reject.daml:79-92 contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzReceive/Callback/Accept.daml:111-125 contracts/protocol/canton/contracts/Layerzero/FeeUtils/daml/Transfer/Core.daml:176-182

    Description

    The adapter mints refunds and inbound deliveries to mintEscrow, then creates token transfers for their recipients. Contingent send payouts use the same transfer helper. A recipient may need to accept the resulting offer in a later transaction.

    proposePendingTransfer discards the instruction CID when the factory returns TransferInstructionResult_Pending. Finalization then consumes the PendingCallback without creating an adapter settlement record that preserves the recipient's entitlement. The normal token offer carries a 24 hour deadline. The pinned Utility Registry rejects acceptance after that deadline and returns holdings to mintEscrow when the offer is withdrawn or rejected.

    A recipient who cannot complete the offer has no adapter choice to reissue the delivery or refund. The consumed callback cannot be retried because the later offer failure does not roll back the earlier finalization. Recovery requires the escrow operator to recover the holdings and arrange another transfer. This affects user access to refunds and deliveries without implying that the tokens are irretrievably destroyed.

    Recommendation

    Create a persistent settlement record when a transfer returns Pending. Store the instruction identity, recipient, instrument and amount. Preserve the entitlement until delivery completes and provide a controlled replacement path when the offer expires or fails, preventing both duplicate payment and loss of the recovery right.

  3. I-01 Informational Escrow holder policy blocks inbound delivery Compatibility Acknowledged
    Location
    contracts/protocol/canton/contracts/Layerzero/BurnMintAdapter/daml/LzReceive/Callback/Accept.daml:96-125

    Description

    An accepted inbound request mints the received amount to mintEscrow, then asks the token transfer factory to create an offer for the resolved recipient. The adapter checks the factory administrator but does not establish that mintEscrow is permitted to transfer the token.

    The bundled Utility Registry applies issuerRequirements when minting and a separate holderRequirements policy when transferring. An instrument can therefore allow the mint to mintEscrow while rejecting the following transfer because escrow lacks a holder credential. The finalization transaction aborts, leaving the accepted callback active and no offer for the recipient. Delivery remains blocked until the issuer grants escrow the required holder credential or provides another recovery route.

    Recommendation

    Require an issuer approved holder transfer capability for mintEscrow under each supported instrument before enabling inbound delivery. Preserve a recovery path for already accepted callbacks if that capability expires or is revoked.

More from LayerZero

All 12 reports
  1. NilifyDelegate

    1 finding 1 finding: 1 informational
  2. Solana Console: Console OFT and OApp V2

    18 findings 18 findings: 1 medium, 5 low, 12 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