LI.FI

QuantstampFiles named in the report

Quantstamp reviewed LI.FI on 5 May 2022: 10 findings, 0 critical; 5 marked fixed, 4 acknowledged, 1 open.

No open critical findings
Open the reportOpen LI.FI’s security record

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings10

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High100
Medium001
Low044
LowDiamond Facet Upgrade Could Lead to InconsistencyAcknowledged

If during an upgrade `diamondCut(...)` calls are executed in multiple Ethereum transactions, users may be exposed to contracts that are upgraded only partially (i.e., some of the functions are upgraded while others are not). This may result in unexpected inconsistencies.

LowHighly Dependent On Offchain ComponentsAcknowledged

For all the bridging facets the input parameters of its functions that are open to arbitrary end users are all generated by offchain components which can be hacked or DDoSed and the data passed in are never checked.

LowMissing Input CheckAcknowledged

`constructor` in `src/LiFiDiamond.sol` does not check if `address _contractOwner` and `address _diamondCutFacet` are non-zero addresses.

LowPrivileged Roles and OwnershipAcknowledged

There are some actions that could have important consequences for end-users. 1. The programs deployed are upgradable and can be changed by the admin team at any time at will. 1. Based on `L22` of `src/Facets/WithdrawFacet.sol`, the admin team of the platform can transfer whatever ether/ERC20 assets that are held by the platform to any address for rescue purposes. 1. Based on `src/Facets/DexManagerFacet.sol`, the platform owner can approve any dex and any function signature.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (31)

  • src/Facets/CBridgeFacet.sol
  • src/Helpers/ReentrancyGuard.sol
  • src/Facets/GenericSwapFacet.sol
  • src/Facets/HopFacet.sol
  • src/Facets/DexManagerFacet.sol
  • src/Interfaces/IAnyswapRouter.sol
  • src/Libraries/LibDiamond.sol
  • src/Interfaces/IHyphenRouter.sol
  • src/Facets/WithdrawFacet.sol
  • src/Helpers/Swapper.sol
  • src/Libraries/LibAsset.sol
  • src/Interfaces/IERC173.sol
  • src/LiFiDiamond.sol
  • src/Facets/DiamondCutFacet.sol
  • src/Interfaces/IAnyswapToken.sol
  • src/Facets/OwnershipFacet.sol
  • src/Interfaces/ILiFi.sol
  • src/Interfaces/ITransactionManager.sol
  • src/Libraries/LibSwap.sol
  • src/Facets/DiamondLoupeFacet.sol
  • src/Interfaces/ICBridge.sol
  • src/Facets/NXTPFacet.sol
  • src/Interfaces/IDiamondLoupe.sol
  • src/Interfaces/IHopBridge.sol
  • src/Libraries/LibStorage.sol
  • src/Interfaces/IERC165.sol
  • src/Facets/AnyswapFacet.sol
  • src/Facets/HyphenFacet.sol
  • src/Interfaces/IDiamondCut.sol
  • src/Errors/GenericErrors.sol
  • src/Libraries/LibUtil.sol

Part of LI.FI’s security record

LI.FI
Audits2 audits by 2 firmsLast audit Jan 2025, by Cantina.
Critical findingsNo open critical findingsAcross 2 reports.
IncidentIncident 15 Jul 2024Source: De.Fi incident database.
Open LI.FI’s security record

Security firm

Quantstamp

236 projects reviewed · 332 reports · latest Oct 2026

See Quantstamp’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us