Galactixzone

CertiKFiles named in the report

CertiK reviewed Galactix Zone (Galactixzone) on 24 Nov 2022: 30 findings, 1 critical; 23 marked fixed, 7 open.

1 critical finding, fixed
Open the reportOpen Galactix Zone’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings30

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

SeverityOpenAcknowledgedFixed
Critical001
High301
Medium102
Low3019
HighCentralization Related RisksOpen

- **Make additional note about admin roles too** In the contract `PreSalePool` the role `superAdmin` has authority over the functions shown in the diagram below. Additionally, the `admin` role has authority over functions: - `setPreSaleToken()` - `setBUSDToken()` - `deployNewSalePhase()` - `setSigner()` - `pause()` - `unpause()` - `setPriceFeed()` Any compromise to the `superAdmin` account may allow the hacker to take advantage of this authority and withdraw all presale tokens from the contract, as well as pause the contract or use the other functions to disrupt the correct operation of the contract. The `admin` role also has the ability to disrupt the normal operation of the contract. ![](https://accelerator-tasks-prod.acc.corp.certik.com/71687ea436ae4023a97f0040fac908d9/diagrams/centralization_PreSalePool-PreSalePool-superAdmin.svg) --- In the contract `DNFT` 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 set the `treasuryAddress` to a malicious one, as well as pause the contract or use the other functions to disrupt the correct operation of the contract. ![](https://accelerator-tasks-prod.acc.corp.certik.com/d816a47897fd4b0091b6b16e7df91028/diagrams/centralization_dNFT-DNFT-_owner.svg) --- In the contract `DKeyNFT` 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 set the `treasuryAddress` to a malicious one, as well as pause the contract or use the other functions to disrupt the correct operation of the contract. ![](https://accelerator-tasks-prod.acc.corp.certik.com/d816a47897fd4b0091b6b16e7df91028/diagrams/centralization_key-DKeyNFT-_owner.svg)

HighCentralized Control of Contract UpgradeOpen

`PreSalePool`, `dNFT`, and `key` are upgradeable contracts; the owner can upgrade these contracts without the community's commitment. If an attacker compromises the account, they can change the implementation of the contract and drain tokens from the contract.

HighInitial Token DistributionOpen

All `GXZ` tokens are sent to an input `_admin` address when deploying the contract. This is a potential centralization risk as the deployer can distribute `GXZ` without the consensus of the community.

MediumMalleability of `abi.encodePacked`Open

Encoding through `abi.encodePacked()` is used with at least two dynamic type inputs controlled by the user. This type of encoding is susceptible to malleability when used with strings, bytes, or other dynamic types. As such, it is not a good choice for signature verification with the input used, since users can change the input and potential get the same bytes output from from `abi.encodePacked`. Moreover, note that uints and other variable types do not need to be converted to strings before being encoded.

LowAggregator used is not for correct pairOpen

The hardcoded aggregator address is cited as the pair DAI/BNB while the contract is set up for use with BUSD and BNB. While both stablecoins, there are slight differences in the prices of BUSD and DAI which could cause inaccurate price calculations.

LowThird Party DependencyOpen

The contracts cited are 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 assumes 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 AggregatorV3Interface internal priceFeed; ``` - The contracts `PreSalePool`, `dNFT`, and `key` interact with a third party contract using the `AggregatorV3Interface` interface via `priceFeed`. --- ```solidity IERC20 public BUSDToken; ``` - The contracts `PreSalePool`, `dNFT`, and `key` interact with a third party contract using the `IERC20` interface via `BUSDToken`.

LowUsing Hardcoded Testnet Address in ContractOpen

The `priceFeed` state variable is using a hardcoded testnet address at initialization.

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

  • Error.sol
  • Whitelist.sol
  • GalaxticToken.sol
  • dNFT.sol
  • MergeHelper.sol
  • key.sol
  • PreSalePool.sol

Part of Galactix Zone’s security record

Galactix Zone
Audits2 audits by 1 firmLast audit Sep 2023, by CertiK.
Critical findingsNo open critical findingsAcross the 2 reports, 1 critical finding was reported. It is marked fixed by the firm that reported it.
Open Galactix Zone’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