Hunt prep
Before you test Larva Labs Meebits
What 9 disclosed reports say about Larva Labs Meebits: 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 | 3 | 0 | – | – | $0 |
| Smart contracts lesson | 3 | 0 | – | – | $0 |
| DoS lesson | 2 | 0 | – | – | $0 |
| Crypto 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.
-
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 report recommends adding checks to reject address(0) in both verify and tradeValid.
Disclosed
-
Signature malleability of EVM’s ecrecover in verify()
The report recommends using OpenZeppelin’s ECDSA library to avoid signature malleability.
Disclosed
-
NFT can be minted for free after sale ended
The contract should revert once the sale has ended rather than returning a zero price.
Disclosed
-
instead of call() , transfer() is used to withdraw the ether
It should be fixed by replacing transfer() with call() and handling the returned success value.
Disclosed
-
Legacy Function Usage
It should be fixed by using a safe wrapper library such as OpenZeppelin's Address library's sendValue function, which forwards sufficient gas.
Disclosed
-
randomIndex is not truly random - possibility of predictably minting a specific token Id
The code should be refactored to use a counter instead of generating random IDs, which would save gas, improve readability, and prevent ID clashes.
Disclosed
-
ERC-721 Enumerable Spec mismatch for index of tokenByIndex() function
The check should be changed to accept an index of zero as long as it is below the token limit.
Disclosed
-
function tokenByIndex treats last index as invalid
The boundary check should use '<=' instead of '<' to include the last valid index.
Disclosed
-
Arbitrary Transfer of Unowned NFTs
An additional check should be added within `verify` to ensure the signer is not the zero address.
Disclosed