Skip to content

Code4rena

Larva Labs Meebits

Every publicly disclosed report for Larva Labs Meebits and what kind of bugs they were.

disclosed reports
9
most reported class
Business logic
bug classes found
4
first disclosure
2021
Find Larva Labs Meebits on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Larva Labs Meebits chose to make public.

Smart contracts

Beebots.TradeValid() Will Erroneously Return True When Maker Is Set To Address(0) and makerIds Are Set To The TokenIds of Unminted Beebot NFTs

The Beebots contract's signature verification returns true when the signer is the zero address, and unminted NFTs are treated as owned by the zero address. An attacker could call tradeValid with maker set to the zero address and makerIds of unminted tokens to make the function erroneously return true.

Larva Labs Meebits

High
Crypto

Signature malleability of EVM’s ecrecover in verify()

The report notes that the contract's use of EVM's ecrecover is susceptible to signature malleability, which could enable replay attacks. However, the contract mitigates this by tracking accepted offers and cancelling them, so the risk is only theoretical unless application logic changes.

Larva Labs Meebits

High
Business logic

NFT can be minted for free after sale ended

After the sale ended, the price function returned zero, allowing anyone to mint the remaining NFTs for free. An attacker could deploy a contract to claim all remaining NFTs ahead of regular users.

Larva Labs Meebits

High
DoS

instead of call() , transfer() is used to withdraw the ether

The withdraw function sends Ether using transfer(), which forwards a fixed 2300 gas stipend. A contract-based withdrawer whose fallback needs more gas, or is called through a proxy, cannot receive its funds, so the withdrawal reverts and the Ether stays locked.

Larva Labs Meebits

Medium
DoS

Legacy Function Usage

The withdraw function uses the transfer invocation, which has a fixed gas stipend and can fail, especially after the Berlin fork increased gas costs for first-time invocations. An attacker could cause withdrawals to fail by making the recipient a contract that consumes more gas than the stipend allows.

Larva Labs Meebits

Medium
Business logic

ERC-721 Enumerable Spec mismatch for index of tokenByIndex() function

The tokenByIndex function rejects index 0 because its bounds check requires the index to be greater than zero, while the ERC-721 Enumerable specification expects indexing to start at 0. This prevents querying the token at index 0 and breaks compatibility with platforms that expect full conformity with the specification.

Larva Labs Meebits

High
Business logic

function tokenByIndex treats last index as invalid

The tokenByIndex function used a strict less-than check against the token limit, so the last token index was rejected as invalid. An attacker could not exploit this directly, but legitimate users querying the final token would receive an error instead of the token data.

Larva Labs Meebits

High
Smart contracts

Arbitrary Transfer of Unowned NFTs

The trade validation function did not check that the recovered signer address was not the zero address, so an invalid signature could be accepted as valid. An attacker could transfer any NFT that had no owner, including unminted tokens.

Larva Labs Meebits

High