Hunt prep
Before you test Maia DAO - Ulysses
What 15 disclosed reports say about Maia DAO - Ulysses: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 7 | 0 | – | – | $0 |
| Access control lesson | 3 | 0 | – | – | $0 |
| DoS lesson | 3 | 0 | – | – | $0 |
| Race condition lesson | 1 | 0 | – | – | $0 |
| Smart contracts lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
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 fix should validate whether the caller is a contract account and, if so, use the source chain ID to ensure only the contract on that specific chain can access the virtual account.
Disclosed
-
addGlobalToken() localAdress could be overwritten
The check in _setLocalToken should use isGlobalToken on the global address and destination chain instead of isLocalToken on the local address; the sponsor addressed this in a remediation commit.
Disclosed
-
Incorrect source address decoding in RootBridgeAgent and BranchBridgeAgent’s _requiresEndpoint breaks LayerZero communication
The fix was to slice the first 20 bytes of _srcAddress instead of the last 20 bytes in both RootBridgeAgent and BranchBridgeAgent, and to add integration tests using LayerZero's mock endpoint.
Disclosed
-
Message channels can be blocked resulting in DoS
The issue was addressed by the Maia team, according to a linked remediation commit.
Disclosed
-
If RootBridgeAgent.lzReceiveNonBlocking reverts internally, the native token sent by relayer to RootBridgeAgent is left in RootBridgeAgent
The report recommends that when the inner call fails and the sender is not the ARB branch, the contract should return its balance to the source message sender; the project says it was addressed in a remediation commit.
Disclosed
-
ArbitrumCoreBranchRouter.executeNoSettlement can’t handle 0x07 function
Support for the 0x07 function should be added to ArbitrumCoreBranchRouter.executeNoSettlement; the report notes it was addressed in a later commit.
Disclosed
-
Incorrect flag results to _hasFallbackToggled always set to false on createMultipleSettlement .
The ternary should set the flag byte to 0x82 when the fallback is toggled, and the report notes the issue was addressed in a later commit.
Disclosed
-
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 should allow the depositor to specify a different receiver address for the returned tokens.
Disclosed
-
The governance will fail to add an ecosystem token if someone creates a hToken that uses that ecosystem token
The check should be removed or improved to allow an ecosystem token to override a global token if its total supply is zero, as suggested in the discussion.
Disclosed
-
Redeeming a Settlement won’t work for unsigned messages when the communicating dApps have different addresses on the different chains
The code should be changed to allow specifying a separate refundee when creating settlements, rather than reusing the recipient.
Disclosed
-
When using BaseBranchRouter as a router on the ‘Arbitrum’ branch, we are unable to invoke the ‘callOutAndBridge’ function.
The router should transfer the tokens from the depositor to itself, approve the root port, and then call bridgeToRootFromLocalBranch with itself as the depositor; the sponsor confirmed this was addressed.
Disclosed
-
ArbitrumBranchBridgeAgent::_performFallbackCall function does not refund users their excess native gas deposit
The issue was fixed by adding a refund of the native gas tokens in the _performFallbackCall function.
Disclosed