CertiK reviewed Project WITH (projectwith.io - Audit) on 14 Jun 2024: 7 findings, 0 critical; 2 marked fixed, 5 open.
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 | 2 | 0 | 0 |
| Medium | 0 | 0 | 1 |
| Low | 3 | 0 | 1 |
In the contract `WikenSwapEth` the role `admin` has authority over the functions shown in the diagram below. Any compromise to the `admin` account may allow the hacker to take advantage of this authority and withdraw user-deposited ERC-20 tokens to himself from the contract.  In the contract `WikenSwapKlaytn` the role `admin` has authority over the functions shown in the diagram below. Any compromise to the `admin` account may allow the hacker to take advantage of this authority and withdraw user-deposited KIP7 tokens from the contract. 
`AISA` tokens are sent to six different wallets on deployment as the initial distribution. This is a centralization risk because the owner(s) of the wallets can distribute tokens without obtaining the consensus of the community. Any compromise to these addresses may allow a hacker to steal and sell tokens on the market, resulting in severe damage to the project.
One or more `view` functions always return the same constant value, leading to unnecessary gas costs. ```solidity=1614 function _contextSuffixLength() internal view virtual returns (uint256) { ``` - `Context._contextSuffixLength` always returns `0`.
One or more parameters with `memory` data location are never modified in their functions and those functions are never called internally within the contract. Thus, their data location can be changed to `calldata` to avoid the gas consumption copying from calldata to memory. ```solidity=24 function depositTokens(uint256 amount, string memory targetAddress) public { ``` `depositTokens` has memory location parameters: `targetAddress`.
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. ```solidity=12 IERC20 public erc20Token; address public admin; ```
| Address | Chain | Source code |
|---|---|---|
| 0xf41c…4f0d0xf41c2566449995a4e3cdc8a437d4f70241214f0d | Chain: Ethereum | Source code: Verified source |
| 0x2680…bf300x2680206b70e5b3e8c1880aab8c804f9ce83cbf30 | Chain: Ethereum | 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