Maia DAO - Ulysses - Joshuajee's results

Harnessing the power of Arbitrum, Ulysses Omnichain specializes in Virtualized Liquidity Management.

General Information

Platform: Code4rena

Start Date: 22/09/2023

Pot Size: $100,000 USDC

Total HM: 15

Participants: 175

Period: 14 days

Judge: alcueca

Total Solo HM: 4

Id: 287

League: ETH

Maia DAO

Findings Distribution

Researcher Performance

Rank: 106/175

Findings: 1

Award: $25.68

QA:
grade-a

🌟 Selected for report: 0

🚀 Solo Findings: 0

1. Layerzero Gas Estimate not Implemented Properly

According to the Layerzero documentation checklists, “useZro” should not be hardcoded to false, it should be passed as a parameter Instead. https://layerzero.gitbook.io/docs/evm-guides/layerzero-integration-checklist

Affected Codes: https://github.com/code-423n4/2023-09-maia/blob/main/src/RootBridgeAgent.sol#L150

https://github.com/code-423n4/2023-09-maia/blob/main/src/BranchBridgeAgent.sol#L170

2. Layerzero ChainId not implemented properly

According to the Layerzero documentation checklists, chain ID should not be hardcoded, “admin restricted setters” should be used instead.

https://layerzero.gitbook.io/docs/evm-guides/layerzero-integration-checklist

Implementation of ChainId (localChainId) throughout this protocol, is made immutable without any way to securely update it, this could make these contracts inoperable if Layerzero updates their chain IDs.

Affected Files:

https://github.com/code-423n4/2023-09-maia/blob/main/src/ArbitrumBranchPort.sol#L22

https://github.com/code-423n4/2023-09-maia/blob/main/src/MulticallRootRouter.sol#L65

https://github.com/code-423n4/2023-09-maia/blob/main/src/RootBridgeAgent.sol#L40

#0 - c4-pre-sort

2023-10-15T12:56:41Z

0xA5DF marked the issue as sufficient quality report

#1 - c4-judge

2023-10-21T05:41:19Z

alcueca marked the issue as grade-a

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter