Omniscia Dapp Radar Audit

Manual Review

Manual Review

A thorough line-by-line review was conducted on the codebase to identify potential malfunctions and vulnerabilities in Dapp Radar's cross-chain staking system.

As the project at hand implements a cross-chain system, 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 and that the cross-chain data guarantees desired by the protocol are upheld.

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 two cross-chain specific vulnerabilities within the system which could have had severe ramifications to its overall operation, however, they were conveyed ahead of time to the Dapp Radar team to be promptly remediated.

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 the extent it need be.

A total of 21 findings were identified over the course of the manual review of which 13 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
LAP-01MPotentially Undesirable Blockchain Flexibility
LAP-02MOutdated LayerZero Receiver Implementation
SRC-01MInexistent Synchronization of Pool Rewards
SRC-02MHard-Coded Gas Allowance for Cross-Chain Relay
SRC-03MNon-Standard Signature Verification Workflow
SRC-04MImproper Withdrawal Debt Calculation
SRP-01MInexistent Capability of Native Asset Extraction
SRP-02MInexistent Conformance to Checks-Effects-Interactions Pattern
SRP-03MAuthoritative Overriddence of Cross-Chain Data Synchrosity
SRP-04MHard-Coded Gas Allowance for Cross-Chain Relay
SRP-05MImproper Invocations of EIP-20 transfer
SRP-06MPotentially Incorrect Chain ID
SRP-07MIncorrect Withdrawal Relay System