CertiK reviewed Grok X (Grok X - Audit) on 20 Dec 2023: 10 findings, 0 critical; none marked fixed.
The original report was removed from its address (seen 21 Oct 2026).
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 2 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 8 | 0 | 0 |
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.  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. 
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.
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.
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.
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.
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.
There are many hardcoded addresses in current contract. Please ensure these addresses are configured correctly when deploying.
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
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`.
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); ```
| Address | Chain | Source code |
|---|---|---|
| 0xa7ff…e7790xa7ffb399d44eb830f01751052c75d14f0b47e779 | Chain: BNB Chain | Source code: Verified source |
1,045 projects reviewed · 1,376 reports · latest May 2025
See CertiK’s auditsSomething 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