Suzume has 1 public audit report from CertiK; dated 20 Jan 2023; no critical findings reported. It also holds 1 deployed contract on 1 chain.
Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.
Statuses are the security firms’ own
7 findings are still open or acknowledged in the firms’ reports: 7 low (all open).
Function Visibility Optimization
Suzume - Audit · CertiK · 20 Jan 2023 · Report ↗
Missing Allowance Reset
Suzume - Audit · CertiK · 20 Jan 2023 · Report ↗
Recommended Compiler Version
Suzume - Audit · CertiK · 20 Jan 2023 · Report ↗
Redundant Condition Checks
Suzume - Audit · CertiK · 20 Jan 2023 · Report ↗
Redundant Statements
Suzume - Audit · CertiK · 20 Jan 2023 · Report ↗
Third Party Dependencies
Suzume - Audit · CertiK · 20 Jan 2023 · Report ↗
Variables That Could Be Declared as `constant`
Suzume - Audit · CertiK · 20 Jan 2023 · Report ↗
Newest first
| Report | Security firm | Date | Scope | Critical findings | Findings | Source |
|---|---|---|---|---|---|---|
| Suzume - Audit | Security firm: CertiK | Date: | Scope: 1 address on Ethereum | None open | Findings: 1 high · 1 medium · 9 low 4 fixed · 7 open | skynet.certik.com ↗ |
Statuses are the security firm’s own, from each report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 1 |
| Medium | 0 | 0 | 1 |
| Low | 7 | 0 | 2 |
The following functions are declared as `public` and are not invoked in any of the contracts contained within the project's scope. The functions that are never called internally within the contract should have external visibility. - `approveMax()` - `isExcludedFromReward()` - `isExcludedFromFee()` - `setSwapAndLiquifyEnabled()` - `totalFees()` - `enableTrading()`
Open the reportWhen updating `dexRouter` via function `setNewRouter()`, the new router is approved the maximum allowance from the `Suzume` contract. But the allowance for the old `dexRouter` is still greater than 0.
Open the reportContract `Suzume` is not using SafeMath, and it allows for compiler version between 0.6.0 and 0.9.0. If the contract is compiled with compiler version earlier than 0.8.0, then SafeMath would be needed to prevent overflow and underflow of arithmetic operation.
Open the reportSome of the *if* and *require* statements are not unnecessary, as the condition check always returns the same value. - Since the startingSupply is hardcoded to 10^12, the condition check on line 365 will always pass. ```solidity=364 startingSupply = 1_000_000_000_000; if (startingSupply < 10000000000000) { _decimals = 18; _decimalsMul = _decimals; } else { _decimals = 9; _decimalsMul = _decimals; } ``` - In function `setTaxesBuy()`, `setTaxesSell()` and `setTaxesTransfer()`, the require statement `require(reflect + liquidity + marketing <= 4900);` will always pass, since the upper limits of the three values add up to 4200. - The *else if* statement on line 613 is not necessary, and can be replaced by a single *else*. ```solidity=605 function setExcludedFromReward(address account, bool enabled) public onlyOwner { if (enabled == true) { require(!_isExcluded[account], "Account is already excluded."); if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } else if (enabled == false) { ... ``` - State variable `sameBlockActive` is set to true and cannot be changed. The *if* statement on line 663 will always be true. ```solidity=663 if (sameBlockActive) { if (lpPairs[from]){ require(lastTrade[to] != block.number); lastTrade[to] = block.number; } else { require(lastTrade[from] != block.number); lastTrade[from] = block.number; } } ``` - Condition check on line 729 is unnecessary, as `contractTokenBalance - toLiquify` will always be larger than 0. - The !_hasLiqBeenAdded check on line 778 is redundant. ```solidity=776 if (!_hasLiqBeenAdded) { _checkLiquidityAdd(from, to); if (!_hasLiqBeenAdded && _hasLimits(from, to)) { revert("Only owner can transfer at this time."); } } ```
Open the reportThe linked statements do not affect the functionality of the codebase and appear to be either leftovers from test code or older functionality. 1. Library Address is never used. 2. State variable `_liqAddBlock` on line 302 is never used. 3. State variable `_liqAddStamp` on line 303 will be updated, but its value is never used. As a private variable, it cannot be viewed either. 4. State variable `Planted` on line 316 will be updated in function `intializeContract()`, but its value is never used. As a private variable, it cannot be viewed either. 5. Function `getOwner()` on line 453 serves the same purpose of public function `owner()` on line 416. 6. Line 378 updates the allowance of this contract to `dexRouter` address, while line 387 already makes the same approval. 7. When transferring owner, line 430 approves the new owner with the old owner's balance, while this balance will be directly transferred to the new owner as per line 432.
Open the reportThe contract is serving as the underlying entity to interact with third party UniSwap protocols. The scope of the audit would treat those 3rd party entities as black boxes and assume their functional correctness. However in the real world, 3rd parties may be compromised that led to assets lost or stolen.
Open the reportThe linked variables could be declared as `constant` since these state variables are never modified. ```solidity=256 uint256 private maxReflectFee = 1000; uint256 private maxLiquidityFee = 1000; uint256 private maxMarketingFee = 2200; ``` ```solidity=263 uint256 private masterTaxDivisor = 10000; ``` ```solidity=282 address public DEAD = 0x000000000000000000000000000000000000dEaD; address public ZERO = 0x0000000000000000000000000000000000000000; ``` ```solidity=304 bool private sameBlockActive = true; ```
Open the report| Address | Chain | Source code |
|---|---|---|
| 0x0b45…7e430x0b452278223d3954f4ac050949d7998e373e7e43 | Chain: Ethereum | Source code: Verified source |
Trustblock holds 1 public audit report for Suzume, dated 20 Jan 2023. The latest is by CertiK (“Suzume - Audit”).
CertiK wrote the report Trustblock holds for Suzume.
7 findings are still open or acknowledged in the firms’ reports: 7 low (all open). No critical finding is reported. Statuses are the security firms’ own.
Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.
Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.
<head><script src="https://widget.trustblock.run/project-widget.min.js" defer></script></head><body><divdata-tb-project-widgetdata-tb-project-slug="suzume"></div></body>
Paste the code where the label should appear. It uses no API credit and updates by itself.
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