Macondo audit reports

Macondo has 1 public audit report from CertiK; dated 4 Jan 2023; no critical findings reported.

Critical and high findings
No open critical findings; 3 high acknowledged in the firms’ reports
Open the latest report
Your label, live
Get the label for your site

Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
W3-MacondoSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 3 high · 2 medium · 18 low
11 fixed · 4 acknowledged · 8 open
skynet.certik.com ↗

Findings23

23 findings in 1 report: 11 fixed, 4 acknowledged (the team chose not to change the code), 8 open.

SeverityOpenAcknowledgedFixed
Critical000
High030
Medium011
Low8010

Not fixed (12)

HighAcknowledgedCentralization Related RisksW3-Macondo · CertiK · 4 Jan 2023

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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_MacondoBFB-MacondoBFB-MINTER_ROLE.svg) ---- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_MacondoBFB-MacondoBFB-PAUSER_ROLE.svg) ---- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_MacondoBFB-MacondoBFB-UPGRADER_ROLE.svg) ---- ---- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_RandomOracleConsumer-RandomOracleConsumer-_owner.svg) ---- ---- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_PokerValidator-PokerValidator-UPGRADER_ROLE.svg) ---- ---- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_TokenCollection-TokenCollection-PAUSER_ROLE.svg) ---- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_TokenCollection-TokenCollection-WITHDRAW.svg) ---- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_TokenCollection-TokenCollection-WITHDRAW_ERC20.svg) ---- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_TokenCollection-TokenCollection-WITHDRAW_ERC721.svg) ---- ---- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_MacondoTableNFT-MacondoTableNFT-MINTER_ROLE.svg) ---- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/20117109d1dd44d4893cd854b26fbc74/diagrams/centralization_MacondoTableNFT-MacondoTableNFT-PAUSER_ROLE.svg) ---- In the contract `MacondoTableNFT` the role `UPGRADER_ROLE` has authority over the functions shown in the diagram

Report ↗
HighAcknowledgedCentralized Control of Contract UpgradeW3-Macondo · CertiK · 4 Jan 2023

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 ↗
HighAcknowledgedInitial Token DistributionW3-Macondo · CertiK · 4 Jan 2023

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 ↗
MediumAcknowledgedLack of Storage Gap in Upgradeable ContractW3-Macondo · CertiK · 4 Jan 2023

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 ↗
LowOpenOut of Scope DependenciesW3-Macondo · CertiK · 4 Jan 2023

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 ↗
LowOpenRedundant Code ComponentsW3-Macondo · CertiK · 4 Jan 2023

The linked functions are `internal` and never used in the scope of this audit.

Report ↗
LowOpenRisk For Weak RandomnessW3-Macondo · CertiK · 4 Jan 2023

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 ↗
LowOpenThird Party DependencyW3-Macondo · CertiK · 4 Jan 2023

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 ↗
LowOpenToo Many DigitsW3-Macondo · CertiK · 4 Jan 2023

Literals with many digits are difficult to read and review. ```solidity=35 uint32 callbackGasLimit = 300000; ``` --- ```solidity=37 _mint(msg.sender, 1000000000 * 10**decimals()); ```

Report ↗
LowOpenUnnecessary Use of SafeMathUpgradeableW3-Macondo · CertiK · 4 Jan 2023

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 ↗
Show all 12
LowOpenUnused Custom ErrorW3-Macondo · CertiK · 4 Jan 2023

```solidity=19 error ErrorSaleRoleSignature(address signer); ``` - `ErrorSaleRoleSignature` is declared but never used. --- ```solidity=20 error ErrorSaleRoleCannotSaleToSelf(); ``` - `ErrorSaleRoleCannotSaleToSelf` is declared but never used.

Report ↗
LowOpenWeak RandomnessW3-Macondo · CertiK · 4 Jan 2023

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 ↗

Contracts

No deployed address is recorded for these audits.

The reports name a repository or files. Open a report to see its scope.

The repositories and files the reports name

Macondo: questions

Is Macondo audited?

Trustblock holds 1 public audit report for Macondo, dated 4 Jan 2023. The latest is by CertiK (“W3-Macondo”).

Who audited Macondo?

CertiK wrote the report Trustblock holds for Macondo.

Are there open findings in Macondo’s audits?

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