DEV Community

Mandie Brugman
Mandie Brugman

Posted on

Is lifi bridge Non-Custodial? Who Holds Funds in Transit

lifi bridge does not take custody of your tokens during a transfer: its contracts pass them to the selected bridge within your signed transaction and keep no standing balance. The lifi bridge finds routes across supported bridges and decentralized exchanges, so the route you choose determines where the funds go next. Once the source transaction completes, the underlying bridge’s trust model governs delivery.

Where Does lifi bridge Custody End?

The LI.FI Diamond is the handoff point, not the destination for your funds. Built on EIP-2535, it calls a bridge-specific facet that forwards tokens and instructions to the selected protocol. LI.FI’s published contract flow shows that handoff for an Across route. The brief passage through the Diamond occurs inside the source transaction; the bridge takes over when that transaction succeeds.

The assumption that LI.FI holds funds comes from seeing one aggregator coordinate the whole route. A quoted cross-chain swap can include a source swap, a bridge transfer and a destination swap. Those actions involve different contracts. To locate the exposure, read the route’s contract addresses and transaction calls, then identify which protocol receives the bridge deposit.

Take three possible USDC routes. Circle CCTP burns USDC on the source chain and mints it after Circle’s attestation, so there is no pool of in-flight USDC to inspect. With Across, a source-chain pool receives the deposit while a relayer fronts its own funds on the destination chain and later seeks repayment. Stargate uses liquidity pools. Each example puts delivery risk in a different place; none turns LI.FI into the bridge holding the deposit.

Think of the Diamond as a handoff desk and the chosen bridge as the carrier. Your token approval is permission for the desk to take tokens from your wallet. The analogy ends there: the handoff runs through smart-contract calls in a signed transaction, while bridge settlement may depend on attestations, relayers or pool liquidity.

That approval is the exposure that can remain after delivery. An unlimited ERC-20 allowance lets the approved spender draw the token again until you reduce or revoke it. A compromised contract can turn that standing permission into a wallet loss even when no transfer is in flight. LI.FI’s 2024 incident report describes precisely this risk: a vulnerable facet enabled theft from wallets that had granted infinite approvals.

Before you sign, compare the requested allowance with the amount you intend to send and verify the spender address. Approve the exact amount where the route permits it. Afterward, review remaining allowances on the source chain; a tool such as Revoke.cash can help you find and revoke old approvals. Revocation limits future access to your wallet. It does not alter funds already handed to the bridge.

Related Questions

Is lifi bridge safe to use?

A LI.FI cross-chain swap has two distinct risks: the Diamond and its approved spending authority, and the selected bridge’s delivery mechanism. Inspect the current route and its contracts before signing, then weigh the bridge’s custody or settlement design against your transfer size. A route’s speed or quoted cost answers a different question from who can move funds while they are in flight.

Does lifi bridge require KYC?

The LI.FI smart-contract handoff does not collect identity documents. Access rules can arise from the interface or a provider used for a particular route. Review that route’s terms if identity checks matter to your choice; the aggregator’s non-custodial design does not set every provider’s access policy.

LI.FI is non-custodial because its Diamond forwards tokens within your signed transaction rather than retaining them. Your practical checks therefore follow two permissions: what the Diamond may spend from your wallet, and what the selected bridge must do to complete delivery.

Questions to Ask Next

What happens to funds if the underlying bridge is exploited mid-transfer?

The outcome depends on where that bridge’s transfer had reached. A compromised pool may lose deposited assets; a failed relayer fill may follow the protocol’s delayed-fill or refund rules; a burn-and-mint route depends on valid attestation and minting. Use the source transaction to identify the receiving protocol, then consult that protocol’s incident and recovery process.

Can lifi bridge reverse or cancel a transfer?

LI.FI cannot reverse a confirmed source-chain transaction. Before confirmation, your wallet may let you replace a pending transaction. After the bridge accepts the deposit, any refund or recovery follows that bridge’s rules. Find the bridge deposit transaction before assuming a route can be stopped.

Has lifi bridge been audited?

Yes. LI.FI has published Code4rena and Quantstamp audits of its contracts. For a current transfer, compare each report’s scope with the deployed Diamond facets and the underlying bridge you plan to use. Approval size remains a decision you control even when code has been reviewed.

Top comments (0)