Honorworld - Audit 2

CertiKFiles named in the report

CertiK reviewed Honor World Token (Honorworld - Audit 2) on 17 Jan 2023: 11 findings, 0 critical; 4 marked fixed, 7 acknowledged.

No open critical findings
Open the reportOpen Honor World Token’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings11

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

SeverityOpenAcknowledgedFixed
Critical000
High020
Medium001
Low053
HighCentralization Risks in CrystalFarming.solAcknowledged

In the contract `CrystalFarming` 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/8888c1537bd44c0ba13d83aef3bda059/diagrams/centralization_CrystalFarming-CrystalFarming-_owner.svg) In the contract `CrystalFarming` the role `devaddr` has authority over the functions shown in the diagram below. Any compromise to the `devaddr` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/8888c1537bd44c0ba13d83aef3bda059/diagrams/centralization_CrystalFarming-CrystalFarming-devaddr.svg)

HighCentralized Control of Contract UpgradeAcknowledged

`CrystalFarming` is an upgradeable contract, the owner 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.

Low`boostToken` not usedAcknowledged

The variable `boostToken` is always `address(0)`, and the function `boostReachMax()` always returns 0.

LowIncompatibility With Deflationary TokensAcknowledged

When transferring standard ERC20 deflationary tokens, the input amount may not be equal to the received amount due to the charged transaction fee. For example, if a user stakes 100 deflationary tokens (with a 10% transaction fee) in a MasterChef contract, only 90 tokens actually arrive in the contract. However, the user can still withdraw 100 tokens from the contract, which causes the contract to lose 10 tokens in such a transaction. Reference: https://thoreum-finance.medium.com/what-exploit-happened-today-for-gocerberus-and-garuda-also-for-lokum-ybear-piggy-caramelswap-3943ee23a39f

LowThird Party DependencyAcknowledged

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=46 IERC1155Upgradeable public rewardToken; ``` - The contract `CrystalFarming` interacts with third party contract with `IERC1155Upgradeable` interface via `rewardToken`. --- ```solidity=47 IRewardSupplierMultiPool public rewardSupplier; ``` - The contract `CrystalFarming` interacts with third party contract with `IRewardSupplierMultiPool` interface via `rewardSupplier`. --- ```solidity=240 function deposit(address _token, uint256 _amount) ``` - The function `CrystalFarming.deposit` interacts with third party contract with `IERC20Upgradeable` interface via `_token`. --- ```solidity=276 function withdraw(address _token, uint256 _amount) ``` - The function `CrystalFarming.withdraw` interacts with third party contract with `IERC20Upgradeable` interface via `_token`. --- ```solidity=365 function _distributeFee(address _token, uint256 _fee) internal { ``` - The function `CrystalFarming._distributeFee` interacts with third party contract with `IERC20Upgradeable` interface via `_token`.

LowUninitialized State VariableAcknowledged

One or more state variables are used without being initialized in the constructor. ```solidity=53 address[] public registeredTokens; ``` - `registeredTokens` is never initialized, but used in `CrystalFarming.poolLength`.

LowUnused VariableAcknowledged

The variable `MAX_BOOST` is declared but the current code logic doesn't use this variable.

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 (3)

  • contracts/interfaces/IRewardSupplierMultiPool.sol
  • contracts/CrystalFarming.sol
  • contracts/interfaces/ICrystalFarming.sol

Part of Honor World Token’s security record

Honor World Token
Audits2 audits by 1 firmLast audit Jan 2023, by CertiK.
Critical findingsNo open critical findingsAcross 2 reports.
Open Honor World Token’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 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