Omniscia Bware Labs Audit

Manual Review

Manual Review

A thorough line-by-line review was conducted on the codebase to identify potential malfunctions and vulnerabilities in the bridge and vault implementations of Bware Labs.

As the project at hand implements a cross-chain bridge implementation, intricate care was put into ensuring that the flow of funds within the system conforms to the specifications and restrictions laid forth within the protocol's specification. Additionally, the vault implementation was made sure to conform to its tiered TGE structure and to not deviate or overcompensate its members.

We validated that all state transitions of the system occur within sane criteria and that all rudimentary formulas within the system execute as expected. We pinpointed an important flaw in the governance mechanism of the bridge that we advise be promptly remediated as it can cause the contract's governance mechanisms to become frozen.

Additionally, the system was investigated for any other commonly present attack vectors such as re-entrancy attacks, mathematical truncations, logical flaws and ERC / EIP standard inconsistencies. The documentation of the project was satisfactory to a good extent.

A total of 14 findings were identified over the course of the manual review of which 8 findings concerned the behaviour and security of the system. The non-security related findings, such as optimizations, are included in the separate Code Style chapter.

The finding table below enumerates all these security / behavioural findings:

IDSeverityAddressedTitle
BBE-01MMajorYesMalicious Contract Freeze
BBE-02MMinorYesInsufficient Access Control
BBE-03MMinorYesNonstandard Unchained Initialization
BBE-04MMinorYesPotentially Desynchronized Calculation of DOMAIN_SEPARATOR
BBP-01MMinorNoPotentially Misbehaving Name
BTV-01MMinorNoExorbitantly High Gas Cost
BTV-02MMinorYesInexistent Input Sanitization
BTV-03MMinorNoPull-Over-Push Pattern