Kuku - Audit

CertiK1 address on Ethereum

CertiK reviewed KuKu (Kuku - Audit) on 15 Aug 2023: 9 findings, 0 critical; 2 marked fixed, 2 acknowledged, 5 open.

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

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings9

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

SeverityOpenAcknowledgedFixed
Critical000
High021
Medium000
Low501
LowMultiple chain deploymentsOpen

The current audit scope pertains to the contract deployed on the Ethereum mainnet, however it was noted that it seems like there are several other chains that this contract has already been deployed or will be deployed in the future.

LowPotential Sandwich Attacks / Flashloan AttacksOpen

A sandwich attack may 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 (executing before the target) a transaction to purchase one of the assets and make profits by backrunning (executing after the target) 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: - `internalSwap()` ```solidity try swapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( contractTokenBalance, 0, // @audit sandwich attacks path, address(this), block.timestamp ) {} catch { return; } ``` Additionally, the attackers may take advantage of the flashloan and perform the following steps for an attack: 1. Flash loan a great number of KUKU tokens and swap it to ETH via the `swapRouter` 2. Trigger the `internalSwap` while transferring the token. 3. Swap back ETH for KUKU coin. 4. Repay the flashloan and gain KUKU coin as profit.

LowRedundant StatementsOpen

The linked statements do not affect the functionality of the codebase and appear to be either remnants of test code or older functionality.

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=180 IRouter02 public swapRouter; ``` - The contract `KuKu` interacts with third party contract with `IRouter02` interface via `swapRouter`.

LowVariables That Could Be Declared as ImmutableOpen

The linked variables assigned in the constructor can be declared as `immutable`. Immutable state variables can be assigned during contract creation but will remain constant throughout the lifetime of a deployed contract. A big advantage of immutable variables is that reading them is significantly cheaper than reading from regular state variables since they will not be stored in storage.

Contracts in scope1

AddressChainSource code
0xc3071803b9d23460820b516673fd3cec0415d0edChain: EthereumSource code: Verified source

Part of KuKu’s security record

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