O3labs

O3labs Smart Contract Audit Report

Share
Share
EVMEVM
Bridge
EVMEVM
Bridge

QuillAudits audited the O3labs smart contracts on EVM between Aug 20, 2024 and Aug 27, 2024. The audit found 4 issues: 2 low, 2 informational, of which 0 resolved and 4 acknowledged.

Project Description

Bridge.sol and CallProxy.sol are the contracts under scope of audit.These contracts form the core of a cross-chain bridge system for OmoSwap. The Bridge contract handles the main logic for sending and receiving tokens across different blockchain networks, while the CallProxy contract allows for executing arbitrary calls with the received tokens.
Key points to note:
1. The system uses a token messenger contract for actual token transfers between chains.
2. There's a fee collection mechanism in place.
3. The bridge supports enabling/disabling specific tokens and routes.
4. The CallProxy allows for complex interactions on the receiving end of a bridge transfer.
5. Both contracts implement various security measures, including access control, reentrancy guards, and rescue functions.

Timeline

S1
Aug 20, 2024
S2
Aug 27, 2024

Scope of Audit

The scope of the audit was to analyse code security and quality of OMOswap bridge contracts.

Methodology: the QuillAudits smart contract audit process.

speedometer
0
50%
60%
70%
90%
100%
99.8%
AUDIT SCORE
icon

High

Medium

Low

Informational

open0000
acknowledged0022
partially resolved0000
resolved0000

Low Severity Issues

Use custom errors

Acknowledged
arrow-right
Description

The contracts use require statements for throwing errors.

Contract

Bridge and Call Proxy Contract

Recommendation

It is recommended to use custom reverts for better readability on block chain explorers and save gas as strings take more gas as they occupy more bytes.

Check for amount and recipient at source

Acknowledged
arrow-right
Description

In the bridgeOut function, there is no check on amount and recipient address.These are validated in bridgeIn function at destination chain.

Contract

Bridge and Call Proxy Contract

Recommendation

It is recommended to do these checks at source to avoid failures and fee loss of users.

Informational Issues

Appendix

Disclaimer

O3labs

O3labs

Low Severity Issues
Informational Issues
Appendix
Disclaimer
View Report PDF

Get an Audit done today for your Smart Contract

Join 1500+ leaders who secured themselves from losing Billion Dollars

cta-banner
cta-banner-bgcta-banner-bg-mobile

Related audits

WE SECURE EVERYTHING YOU BUILD.

From day-zero risk mapping to exchange-ready audits, QuillAudits helps projects grow with confidence. Smart contracts, dApps, infrastructure, compliance: secured end to end.

QuillAudits Logo


ISO 27001Circle Alliance Program
Uniswap FoundationAethiropt-collectivePolygon SPNBNB Chain Kickstart

All Rights Reserved. © 2026. QuillAudits - LLC