Omniscia Alliance Block Audit

Multitoken Bridge Security Audit

We were tasked with auditing the codebase of Alliance Block and in particular their Bridge implementation.

The bridge works by creating a wrapped token implementation with minting and burning capabilities that is minted upon a token's entry and exit in the bridge respectively. Such actions are governed via a subset of members that all receive a portion of the minting and burning fee respectively that are part of the cross-chain interactions of the contract.

The codebase has been coded conforming to the EIP-2535 Diamond standard and is well documented and defined. Over the course of the audit, we were able to point out certain minor misbehaviours of the system as well as optimizations across the board, the former of which we strongly advise the Alliance Block team to deal with.

Files in ScopeRepositoryCommit(s)
DiamondCutFacet.sol (DCF)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
DiamondLoupeFacet.sol (DLF)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
ERC20Permit.sol (ERC)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
FeeCalculatorFacet.sol (FCF)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
GenericToken.sol (GTN)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
IERC165.sol (IER)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
IERC173.sol (IEC)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
IRouter.sol (IRR)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
IDiamondCut.sol (IDC)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
IGovernance.sol (IGE)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
IDiamondLoupe.sol (IDL)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
IWrappedToken.sol (IWT)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
IERC2612Permit.sol (IEP)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
IFeeCalculator.sol (IFC)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
IRouterDiamond.sol (IRD)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
LibRouter.sol (LRR)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
LibDiamond.sol (LDD)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
LibFeeCalculator.sol (LFC)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
Router.sol (ROU)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
RouterFacet.sol (RFT)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4
WrappedToken.sol (WTN)AB-Bridge-Contractsff5052ceb0,
cb034bd214,
1af6a1f8b4

During the audit, we filtered and validated a total of 7 findings utilizing static analysis tools as well as identified a total of 11 findings during the manual review of the codebase. We strongly recommend that any minor severity or higher findings are dealt with promptly prior to the project's launch as they introduce potential misbehaviours of the system as well as exploits.

The list below covers each segment of the audit in depth and links to the respective chapter of the report: