CertiK reviewed JoJo Token (JOJO-Audit) on 12 Jan 2024: 9 findings, 0 critical; 4 marked fixed, 5 acknowledged.
Report hosted on skynet.certik.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 1 | 1 |
| Medium | 0 | 1 | 3 |
| Low | 0 | 3 | 0 |
In the contract `JOJO` 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 change market and token pair addresses, change market fee and various other configurations to steal tokens and make the contract malfunction. 
When both token sender and receiver are in `swapPairList`, the calculated fee only includes sell-market fee. This might not align with the intended functionality.
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. ```solidity= function swapTokensForEthToMarket(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, _market, block.timestamp ); } ```
The defined `numTokensSellToMarket` is bigger than `_tTotal`, which does not make sense. And the tokens accumulated in the contract will never be swapped to ETH.
| Address | Chain | Source code |
|---|---|---|
| 0x5f8b…5b1b0x5f8bb709b4f3aa53860595e6df91be9833705b1b | Chain: BNB Chain | Source code: Verified source |
1,044 projects reviewed · 1,375 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