Skip to content

Code4rena

Maia DAO - Ulysses

Every publicly disclosed report for Maia DAO - Ulysses and what kind of bugs they were.

disclosed reports
15
most reported class
Business logic
bug classes found
5
first disclosure
2023
Find Maia DAO - Ulysses on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Maia DAO - Ulysses chose to make public.

Access control

if the Virtual Account’s owner is a Contract Account (multisig wallet), attackers can gain control of the Virtual Accounts by gaining control of the same owner’s address in a different chain

The RootPort contract fetches a virtual account using only the caller's address from the source branch, without considering which branch the call came from. An attacker who controls the same address on a different chain could access and withdraw assets from the virtual account.

Maia DAO - Ulysses

High
Race condition

addGlobalToken() localAdress could be overwritten

The addGlobalToken function allows multiple concurrent requests to create local tokens for the same global token on a destination chain. Because the final check uses the newly generated local address instead of the global token, a later request can overwrite the earlier local token mapping, potentially causing users to lose deposited tokens if they bridge during the window between the two confirmations.

Maia DAO - Ulysses

Medium
Smart contracts

Incorrect source address decoding in RootBridgeAgent and BranchBridgeAgent’s _requiresEndpoint breaks LayerZero communication

The bridge agents decoded the source address from the wrong bytes of the LayerZero _srcAddress parameter, so the destination agent always extracted its own address instead of the remote contract's address. This caused all cross-chain messages to revert with LayerZeroUnauthorizedCaller, breaking branch-to-root and root-to-branch communication.

Maia DAO - Ulysses

Medium
DoS

Message channels can be blocked resulting in DoS

A user could supply an arbitrarily low gas limit for a cross-chain call, causing the destination chain's message handler to run out of gas and revert. Because the protocol did not implement the recommended non-blocking pattern or the forceResumeReceive function, this blocked the entire message channel between that branch chain and the root chain until a manual, costly retryPayload call was made.

Maia DAO - Ulysses

Medium
Business logic

If RootBridgeAgent.lzReceiveNonBlocking reverts internally, the native token sent by relayer to RootBridgeAgent is left in RootBridgeAgent

When a cross-chain message fails inside the root bridge agent's non-blocking receive, the transaction does not revert for non-ARB senders, so the native token airdropped by the relayer stays in the contract. An attacker can then send a message with the fallback flag set and a deliberately failing call, causing the fallback to sweep the entire contract balance to them.

Maia DAO - Ulysses

Medium
Business logic

ArbitrumCoreBranchRouter.executeNoSettlement can’t handle 0x07 function

The ArbitrumCoreBranchRouter contract's executeNoSettlement function cannot handle the 0x07 function (setCoreBranchRouter), unlike its parent CoreBranchRouter. This means calls to set the core branch router on Arbitrum would fail, potentially preventing configuration updates.

Maia DAO - Ulysses

Medium
Business logic

Depositors could lose all their deposited tokens (including the hTokens) if their address is blacklisted in one of all the deposited underlyingTokens

The redeemDeposit function sends all deposited tokens back to the original depositor's address, and if that address is blacklisted in any one of the underlying tokens, the entire redemption reverts. As a result, all other deposited tokens, including hTokens, become permanently stuck in the BranchPort.

Maia DAO - Ulysses

Medium