BFK WARZONE audit reports

BNB Chain, Ethereumbfkwarzone.com

BFK WARZONE has 2 public audit reports from CertiK; the latest is CertiK, 13 Sep 2022; no critical findings reported.

Critical findings
No open critical findings
Across 2 reports.
Open the latest report
Your label, live
Get the label for your site

Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Open findings across every firm32

Statuses are the security firms’ own

32 findings are still open or acknowledged in the firms’ reports: 6 high, 2 medium, 24 low (12 open, 20 acknowledged).

High
6
Medium
2
Low
24
  • High Acknowledged

    Centralization Risks

    BFK WARZONE-Addendum Ⅰ · CertiK · 13 Sep 2022 · Report ↗

  • High Acknowledged

    Centralized Risk In `addLiquidity`

    BFK WARZONE-Addendum Ⅰ · CertiK · 13 Sep 2022 · Report ↗

  • High Acknowledged

    Initial Token Distribution

    BFK WARZONE-Addendum Ⅰ · CertiK · 13 Sep 2022 · Report ↗

  • High Acknowledged

    Centralization Risks

    BFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022 · Report ↗

  • High Acknowledged

    Centralized Risk In `addLiquidity`

    BFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022 · Report ↗

  • High Acknowledged

    Initial Token Distribution

    BFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022 · Report ↗

  • Medium Acknowledged

    Inaccurate Calculation

    BFK WARZONE-Addendum Ⅰ · CertiK · 13 Sep 2022 · Report ↗

  • Medium Acknowledged

    Inaccurate Calculation

    BFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022 · Report ↗

  • Low Acknowledged

    Address Not Excluded From Fees And Max Transactio

    BFK WARZONE-Addendum Ⅰ · CertiK · 13 Sep 2022 · Report ↗

  • Low Acknowledged

    Duplicate Code

    BFK WARZONE-Addendum Ⅰ · CertiK · 13 Sep 2022 · Report ↗

All 32 open and acknowledged findings

Audits2

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
BFK WARZONE-Addendum ⅠSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 3 high · 2 medium · 12 low
1 fixed · 16 acknowledged
skynet.certik.com ↗
BFK WARZONE-Addendum ⅡSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 3 high · 2 medium · 12 low
1 fixed · 4 acknowledged · 12 open
skynet.certik.com ↗

Findings34

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

SeverityOpenAcknowledgedFixed
Critical000
High060
Medium022
Low12120
LowAddress Not Excluded From Fees And Max TransactioBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

The following functions are used to set a new value for the specific address. - setOperationsAddress - setDevAddress - setTeamAddress - setStakingAddress - setLiquidityAddress However, these addresses defined in the constructor of `BFK` contract are excluded from `_excludeFromMaxTransaction` and `excludeFromFees`.\ To be consistent, the same logic should be added in these setXXX functions.

Open the report
LowDuplicate CodeBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

In the constructor of `BFK` contract, these four addresses named `operationsAddress`, `devAddress`,`ecosystemAddress` and `liquidityAddress` are defined as the same address which are excluded multiple times.\ The mentioned lines are duplicate as the defined address are already excluded. Besides, function `setAutomatedMarketMakerPair` emits `SetAutomatedMarketMakerPair` event in line #526 which is also called in the internal function `_setAutomatedMarketMakerPair`.

Open the report
LowFinancial ModelsBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

The `BFK` is a decentralized finance(DeFi) token deployed on Ethereum with financial models as below: **Financial Models** * Total supply `BFK` token is one billion once deployed which is all set to the owner. * Before the trading is active, transaction is allowed if either the sender or the recipient is excluded from fees. * Before all transfers can take place on the platform, trading must be activated by the owner. * Once trading is allowed, it can never be disallowed. * Some limitations like buy/sell maximum amount are enforced within a transaction if limit setting was opened. * There is Total Fee accumulated by Operation, Liquidity, Dev, Team and Staking fees on all transfers if neither the sender nor the recipient is excluded from fees. * The Total Fee charged during transfers is transferred to the contract address during transaction. Some of these tokens are swapped for ETH only and if only: * The automatic token swapping functionality is enabled by the team; * The minimum tokens(determined by the owner) in the contract address is reached; * Current transfer is not in swapping; * The caller is not initiating a purchase transaction via `Uniswap`; * Neither the sender nor the recipient is excluded from fees. * Half of liquidity tokens accumulated based on proportion of Liquidity in Total Fee is used to add liquidity. * The remaining tokens excluding the proportion of half liquidity in the contract address is used to swap ETH. * The received ETH is split between: * Operation: calculated according to the proportion of Operation tokens in the remaining tokens, the ETH is transferred to Operation address; * Dev: calculated according to the proportion of Dev tokens in the remaining tokens, the ETH is transferred to Dev address; * Liquidity: the remaining ETH excluding Operation and Dev will be used to add liquidity. * The accumulated the `BFK` tokens based on proportion of Team in Total Fee are transferred to the Team address. * The accumulated the `BFK` tokens based on proportion of Staking in Total Fee are transferred to the Staking address. * The owner can change all the fee rates.

Open the report
LowMissing Emit EventsBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

There should always be events emitted in the sensitive functions that are controlled by centralization roles.

Open the report
LowMissing Error MessagesBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

The **require** can be used to check for conditions and throw an exception if the condition is not met. It is better to provide a string message containing details about the error that will be passed back to the caller.

Open the report
LowMissing Exclude `owner` From LimitationBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

By default, the `owner` address is excluded from fee. ```solidity=412 _excludeFromMaxTransaction(newOwner, true); ``` ```solidity=420 excludeFromFees(newOwner, true); ``` When the `owner` is renounced or transferred, the deprecated should be included to and the new owner should be excluded from the fee.

Open the report
LowPotential Sandwich AttacksBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

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: ```solidity=668 function swapTokensForEth(uint256 tokenAmount) ``` ```solidity=695 function addLiquidity(uint256 tokenAmount, uint256 ethAmount) ```

Open the report
LowThird Party DependenciesBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

The contract is serving as the underlying entity to interact with third party Uniswap protocol. The scope of the audit treats 3rd party entities as black boxes and assumes the functional correctness. However, in the real world, 3rd parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of 3rd parties can possibly create severe impacts, such as increasing fees of 3rd parties, migrating to new LP pools, etc.

Open the report
LowUncheck Value Of `address.call()`BFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

The linked statement transfers the native token leftovers in `BFK` contract. Because the `address.call()` function may return false if the aforementioned transaction is failed, the local variable `success` should be checked and revert the transaction if failed.

Open the report
LowUnnecessary Calling `transferOwnership` in ConstrBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

During the construction of `BFK` contract, `newOwner` equals to `_owner`, it's unnecessary to call function `transferOwnership()` in line #429.

Open the report
Show 2 more
LowUnused EventsBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

The following events are declared but not used. ```solidity=351 event UpdatedMaxWalletAmount(uint256 newAmount); ``` ```solidity=369 event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity); ```

Open the report
LowVariables That Could Be Declared as ImmutableBFK WARZONE-Addendum Ⅱ · CertiK · 13 Sep 2022Open

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.

Open the report

Contracts

No deployed address is recorded for these audits.

The reports name a repository or files. Open a report to see its scope.

The repositories and files the reports name

BFK WARZONE: questions

Is BFK WARZONE audited?

Trustblock holds 2 public audit reports for BFK WARZONE, dated 13 Sep 2022 to 13 Sep 2022. The latest is by CertiK (“BFK WARZONE-Addendum Ⅰ”).

Who audited BFK WARZONE?

CertiK wrote the 2 reports Trustblock holds for BFK WARZONE.

Are there open findings in BFK WARZONE’s audits?

32 findings are still open or acknowledged in the firms’ reports: 6 high, 2 medium, 24 low (12 open, 20 acknowledged). No critical finding is reported. Statuses are the security firms’ own.

Show this on your site

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.

Content

Facts

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.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-tb-project-slug="bfk-warzone"
></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