Grok X - Audit

CertiK1 address on BNB Chain

CertiK reviewed Grok X (Grok X - Audit) on 20 Dec 2023: 10 findings, 0 critical; none marked fixed.

No open critical findings
Open Grok X’s security record

The original report was removed from its address (seen 21 Oct 2026).

Trustblock does not review code.

Findings10

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

SeverityOpenAcknowledgedFixed
Critical000
High200
Medium000
Low800
HighCentralization Risks in GROKX.solOpen

In the contract `GROKX` 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 to change the market address and send tokens in the contract to the contract owner. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-97d9-ca05cfe0-ad02-ddeeb290953d/diagrams/centralization_GROKX-GROKX-_owner.svg) In the contract `Ownable` 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 to transfer ownership. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-97d9-ca05cfe0-ad02-ddeeb290953d/diagrams/centralization_GROKX-Ownable-_owner.svg)

HighInitial Token DistributionOpen

All of the `Grok X` tokens are sent to the contract deployer when deploying the contract. This could be a centralization risk as the anonymous deployer can distribute tokens without obtaining the consensus of the community. Any compromise to the deployer account that holds undistributed tokens may allow the attacker to steal and sell tokens on the market, resulting in severe damage to the project.

LowAll the Fees transferred to the `markert` addressOpen

The `_transfer()` function in the contract includes a fee charging mechanism. These fees are stored within the contract. Once the accumulated fees reach the `tokenLiquidityThreshold`, the main logic of the `Liquify` is triggered. At this point, the accumulated fees are distributed to both the liquidity pool and the market address based on the predetermined `swapTaxes`. The `swapTaxes` could be one of `taxes` and `sellTaxes`, which are initialized during deployment and remain unchanged thereafter. It is important to note that both the `liquidity` of taxes and sellTaxes are set to 0. This indicates that no tokens will be transferred to the liquidity pool, and instead, all the accumulated fees will be transferred to the market address. In addition, using the data from the latest transaction to determine the allocation of the accumulated fee is not suitable or appropriate. We would like to confirm with the team if it aligned with the original design.

LowDiscussion on the `deadline` and `launchtax`Open

If the `deadline` value is zero, the `useLaunchFee` variable will always be false because `block.number` is always greater than or equal to the `genesis_block`. The default value of `deadline` is zero and can only be modified before the `openTrade()` function is called. Even if a positive value is set for `deadline` and `useLaunchFee` is true, the fee will still be zero because the `launchTax` is also zero. Therefore, this mechanism is unable to effectively prevent bots from front-running. We would like to confirm with the team if it aligned with the original design.

LowFunction `transfer` of Contract `GROKX` Handles SOpen

It is expected that non-reverting invocations of `transfer(recipient, amount)` that return `true` and where the address in `recipient` equals the address of `msg.sender` (i.e. self-transfers) do not change the balance of address `msg.sender`. However, in `GROKX.transfer` the balance of address `msg.sender` is changed by executing a self-transfer.

LowFunction `transferFrom` of Contract `GROKX` ModifOpen

It is expected that non-reverting invocations of `transferFrom(from, dest, amount)` that return `true` and where the address in `from` equals the address in `dest` (i.e. self-transfers) do not change the balance entry of the address in `from` (which equals `dest`). However, in `GROKX.transferFrom`, at least one balance entry of the addresses provided in the `from` or `dest` input parameters is changed when executing a self-transfer.

LowHardcoded AddressesOpen

There are many hardcoded addresses in current contract. Please ensure these addresses are configured correctly when deploying.

LowPotential Sandwich AttacksOpen

A sandwich attack might happen when an attacker observes a transaction swapping tokens or adding liquidity without setting restrictions on slippage or minimum output amount. The attacker can manipulate the exchange rate by frontrunning (before the transaction being attacked) a transaction to purchase one of the assets and make profits by backrunning (after the transaction being attacked) a transaction to sell the asset. The following functions are called without setting restrictions on slippage or minimum output amount, so transactions triggering these functions are vulnerable to sandwich attacks, especially when the input amount is large: - router.swapExactTokensForETHSupportingFeeOnTransferTokens - router.addLiquidityETH

LowThird-Party Dependency UsageOpen

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 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=444 IRouter public router; ``` - The contract `GROKX` interacts with third party contract with `IRouter` interface via `router`.

LowUnchecked ERC-20 `transfer()`/`transferFrom()` CaOpen

The return values of the `transfer()` and `transferFrom()` calls in the smart contract are not checked. Some ERC-20 tokens' transfer functions return no values, while others return a bool value, they should be handled with care. If a function returns `false` instead of reverting upon failure, an unchecked failed transfer could be mistakenly considered successful in the contract. ```solidity=723 IERC20(tokenAdd).transfer(owner(), amount); ```

Contracts in scope1

AddressChainSource code
0xa7ffb399d44eb830f01751052c75d14f0b47e779Chain: BNB ChainSource code: Verified source

Part of Grok X’s security record

Grok X
Audits1 audit by 1 firmLast audit Dec 2023, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open Grok X’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