Wemix Retainer 53 (Championship TicketNFT)

CertiKFiles named in the report

Audit

Part of CertiK’s retainer series

CertiK reviewed WEMIX (Wemix Retainer 53 (Championship TicketNFT)) on 11 Sep 2023: 8 findings, 0 critical; 4 marked fixed, 4 open.

No open critical findings
Open the reportOpen WEMIX’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings8

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High200
Medium001
Low203
HighCentralization Related RisksOpen

In the contract `BenefitBase` the role `_admin` has authority over the functions shown in the diagram below. Any compromise to the `_admin` account may allow the hacker to take advantage of this authority and modify the configuration of the contract. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-489d-5dfc3860-b16a-c9efac905fb0/diagrams/centralization_BenefitBase-BenefitBase-_admin.svg) ----- In the contract `BenefitBox` the role `_admin` has authority over the functions shown in the diagram below. Any compromise to the `_admin` account may allow the hacker to take advantage of this authority and modify the important configurations of the contract. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-489d-5dfc3860-b16a-c9efac905fb0/diagrams/centralization_BenefitBox-BenefitBox-_admin.svg) In the contract `BenefitBox` the role `_store` has authority over the functions shown in the diagram below. Any compromise to the `_store` account may allow the hacker to take advantage of this authority and use/unuse and give benefits. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-489d-5dfc3860-b16a-c9efac905fb0/diagrams/centralization_BenefitBox-BenefitBox-_store.svg) ----- In the contract `FreeDrink` the role `_benefitbox` has authority over the functions shown in the diagram below. Any compromise to the `_benefitbox` account may allow the hacker to take advantage of this authority and use/unuse and give benefits. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-489d-5dfc3860-b16a-c9efac905fb0/diagrams/centralization_FreeDrink-FreeDrink-_benefitbox.svg) ----- In the contract `FreeFood` the role `_benefitbox` has authority over the functions shown in the diagram below. Any compromise to the `_benefitbox` account may allow the hacker to take advantage of this authority and use/unuse and give benefits. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-489d-5dfc3860-b16a-c9efac905fb0/diagrams/centralization_FreeFood-FreeFood-_benefitbox.svg) ----- In the contract `Gallery` the role `_benefitbox` has authority over the functions shown in the diagram below. Any compromise to the `_benefitbox` account may allow the hacker to take advantage of this authority and use/unuse and give benefits. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-489d-5dfc3860-b16a-c9efac905fb0/diagrams/centralization_Gallery-Gallery-_benefitbox.svg) ----- In the contract `Gift` the role `_benefitbox` has authority over the functions shown in the diagram below. Any compromise to the `_benefitbox` account may allow the hacker to take advantage of this authority and use/unuse and give benefits. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-489d-5dfc3860-b16a-c9efac905fb0/diagrams/centralization_Gift-Gift-_benefitbox.svg) ----- In the contract `ParkingArea` the role `_benefitbox` has authority over the functions shown in the diagram below. Any compromise to the `_benefitbox` account may allow the hacker to take advantage of this authority and use/unuse and give benefits. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-489d-5dfc3860-b16a-c9efac905fb0/diagrams/centralization_ParkingArea-ParkingArea-_benefitbox.svg) ----- In the contract `WEMIXChampionship2023` the role `_admin` has authority over the functions shown in the diagram below. Any compromise to the `_admin` account may allow the hacker to take advantage of this authority and mint tokens and modify the token configuration. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-489d-5dfc3860-b16a-c9efac905fb0/diagrams/centralization_WEMIXChampionship2023-WEMIXChampionship2023-_admin.svg) ----- In the contract `AccessController` 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 modify privileged roles within the contract. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-489d-5dfc3860-b16a-c9efac905fb0/diagrams/centralization_AccessController-AccessController-_owner.svg)

HighCentralized Control of Contract UpgradeOpen

Multiple contracts inherits upgradeable contracts, indicating that it is part of an upgradeable system. Upgradeable contracts often pair with a proxy contract that is responsible for managing contract upgrades. The `privileged roles` of the proxy often have the authority to update the implementation contract. Any compromise of the privileged account could allow a hacker to exploit this authority, potentially altering the implementation contract pointed to by the proxy and thus executing malicious functionality within the implementation contract.

LowMissing `getUseDate` in `FreeDrink.sol`Open

The `FreeFood.sol` contract contains the `getUseDate` function, which is used for querying the "_useDateOf" data. However, it is missing in the `FreeDrink.sol` file.

LowOut of Scope DependenciesOpen

Most of the non-view functions in the project can only be called by privileged roles, such as the Owner, "onlyStore," and "onlyAdmin." The security and operational correctness will heavily rely on the contracts outside the current audit scope or off-chain components. If the out-of-scope component performs incorrect operations, it can cause the contracts in scope to exhibit erroneous behavior.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (10)

  • contracts/benefit/Gallery.sol
  • contracts/benefit/Gift.sol
  • contracts/nft/WEMIXChampionship2023.sol
  • contracts/benefit/BenefitBase.sol
  • contracts/library/Type.sol
  • contracts/benefit/FreeFood.sol
  • contracts/benefit/ParkingArea.sol
  • contracts/benefit/BenefitBox.sol
  • contracts/benefit/FreeDrink.sol
  • contracts/role/AccessController.sol

Part of WEMIX’s security record

WEMIX
Audits75 audits by 1 firmLast audit Feb 2025, by CertiK.
Critical findingsNo open critical findingsAcross the 75 reports, 17 critical findings were reported. Each is marked fixed by the firm that reported it.
Open WEMIX’s security record

Security firm

CertiK

1,045 projects reviewed · 1,376 reports · latest May 2025

See CertiK’s audits

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