Macondo has 1 public audit report from CertiK; dated 4 Jan 2023; no critical findings reported.
Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.
Newest first
| Report | Security firm | Date | Scope | Critical findings | Findings | Source |
|---|---|---|---|---|---|---|
| W3-Macondo | Security firm: CertiK | Date: | Scope: Files listed | None open | Findings: 3 high · 2 medium · 18 low 11 fixed · 4 acknowledged · 8 open | skynet.certik.com ↗ |
23 findings in 1 report: 11 fixed, 4 acknowledged (the team chose not to change the code), 8 open.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 3 | 0 |
| Medium | 0 | 1 | 1 |
| Low | 8 | 0 | 10 |
MacondoBFB --- In the contract `MacondoBFB` the role `MINTER_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `MINTER_ROLE` account may allow the hacker to take advantage of this authority and mint any amount of token to any address.  ---- In the contract `MacondoBFB` the role `PAUSER_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `PAUSER_ROLE` account may allow the hacker to take advantage of this authority and pause or unpause the contract.  ---- In the contract `MacondoBFB` the role `UPGRADER_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `UPGRADER_ROLE` account may allow the hacker to take advantage of this authority and potentially upgrade the logic implementation of the contract.  ---- ---- RandomOracleConsumer ---- In the contract `RandomOracleConsumer` the role `_owner` has authority over the functions shown in the diagram below. Any compromise to the `_owner` account may allow the hacker to take advantage of this authority and request random words and get the random words corresponding to a specific request id.  ---- ---- PokerValidator --- In the contract `PokerValidator` the role `UPGRADER_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `UPGRADER_ROLE` account may allow the hacker to take advantage of this authority and potentially upgrade the implementation of the contract.  ---- ---- TokenCollection --- In the contract `TokenCollection` the role `PAUSER_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `PAUSER_ROLE` account may allow the hacker to take advantage of this authority and pause or unpause the contract.  ---- In the contract `TokenCollection` the role `WITHDRAW` has authority over the functions shown in the diagram below. Any compromise to the `WITHDRAW` account may allow the hacker to take advantage of this authority and drain `BNB` from the contract.  ---- In the contract `TokenCollection` the role `WITHDRAW_ERC20` has authority over the functions shown in the diagram below. Any compromise to the `WITHDRAW_ERC20` account may allow the hacker to take advantage of this authority and drain any ERC20 tokens from the contract.  ---- In the contract `TokenCollection` the role `WITHDRAW_ERC721` has authority over the functions shown in the diagram below. Any compromise to the `WITHDRAW_ERC721` account may allow the hacker to take advantage of this authority and steal ERC721 tokens from the contract.  ---- ---- MacondoTableNFT ---- In the contract `MacondoTableNFT` the role `MINTER_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `MINTER_ROLE` account may allow the hacker to take advantage of this authority and mint tokens to any address they want.  ---- In the contract `MacondoTableNFT` the role `PAUSER_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `PAUSER_ROLE` account may allow the hacker to take advantage of this authority and pause or unpause the contract.  ---- In the contract `MacondoTableNFT` the role `UPGRADER_ROLE` has authority over the functions shown in the diagram
Report ↗The linked contracts are upgradeable contracts, a privileged role can upgrade the contract without the community's commitment. If an attacker compromises the account, he can change the implementation of the contract and drain tokens from the contract.
Report ↗All `MacondoMCD` tokens are sent to the contract deployer when deploying the contract. This is a potential centralization risk as the deployer can distribute `MCD` tokens without the consensus of the community.
Report ↗There is no storage gap preserved in the logic contract. Any logic contract that acts as a base contract that needs to be inherited by other upgradeable child should have a reasonable size of storage gap preserved for the new state variable introduced by the future upgrades.
Report ↗The contract `MacondoMCDVestingEcosystemWallet` is importing and inheriting from contracts that are outside the scope of this audit. The scope of the audit treats these entities as black boxes and assumes their functional correctness. However, in the real world, these contracts could have security issues and this may lead to exploits.
Report ↗The linked functions are `internal` and never used in the scope of this audit.
Report ↗In the contract `OnChainRandomUpgradeable.sol`, the function `_getRandom()` is supposed to return a random number. \ To do so the many parameter will be encoded and then the hash of the encoding is computed to return an `uint256`. The parameters used seem to be potentially influenceable, for example: - `_index` and `msg.sender` can be chosen - `blockhash` and `block.difficulty` can be influenced by miners to some degree or predicted. Although this function is internal, so the whole context of use is not inside the scope of this audit ; using block variables to generate randomness is considered bad practice and is not recommended.
Report ↗The contract is serving as the underlying entity to interact with one or more third party protocols. The scope of the audit treats third party entities as black boxes and assume their functional correctness. However, in the real world, third parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of third parties can possibly create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc. ```solidity=12 VRFCoordinatorV2Interface COORDINATOR; ``` - The contract `RandomOracleConsumer` interacts with third party contract with `VRFCoordinatorV2Interface` interface via `COORDINATOR`.
Report ↗Literals with many digits are difficult to read and review. ```solidity=35 uint32 callbackGasLimit = 300000; ``` --- ```solidity=37 _mint(msg.sender, 1000000000 * 10**decimals()); ```
Report ↗The `SafeMathUpgradeable` library is used unnecessarily. With Solidity compiler versions 0.8.0 or newer, arithmetic operations will automatically revert in case of integer overflow or underflow.
Report ↗```solidity=19 error ErrorSaleRoleSignature(address signer); ``` - `ErrorSaleRoleSignature` is declared but never used. --- ```solidity=20 error ErrorSaleRoleCannotSaleToSelf(); ``` - `ErrorSaleRoleCannotSaleToSelf` is declared but never used.
Report ↗In the contract `OnChainRandomUpgradeable`, the function `_getRandomBySeed()` depends on only two parameters, it cannot be considered as truly random since the result could be easily predictable. ---- In the contract `PokerValidator`, the function `_getRandom()` depends on `OnChainRandomUpgradeable._getRandomBySeed()` to return a value, since the result would still be easily predictable the function cannot be considered as truly random.
Report ↗The reports name a repository or files. Open a report to see its scope.
Trustblock holds 1 public audit report for Macondo, dated 4 Jan 2023. The latest is by CertiK (“W3-Macondo”).
CertiK wrote the report Trustblock holds for Macondo.
12 findings are still open or acknowledged in the firms’ reports: 3 high, 1 medium, 8 low (8 open, 4 acknowledged). No critical finding is reported. Statuses are the security firms’ own.
Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.
Tell us