We2net audit reports

BNB Chainwe2.netGitHub

We2net has 1 public audit report from CertiK; dated 7 Mar 2023; no critical findings reported. It also holds 1 deployed contract on 1 chain.

Critical and high findings
No open critical findings; 2 high acknowledged in the firms’ 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.

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
we2net - auditSecurity firm: CertiKDate: Scope: 1 address on BNB ChainNone openFindings: 2 high · 2 medium · 13 low
5 fixed · 2 acknowledged · 10 open
skynet.certik.com ↗

Open findings across every firm12

Statuses are the security firms’ own

12 findings are still open or acknowledged in the firms’ reports: 2 high, 10 low (10 open, 2 acknowledged).

High
2
Low
10
  • High Acknowledged

    Centralization Risks in LiquidityHub.sol

    we2net - audit · CertiK · 7 Mar 2023 · Report ↗

  • High Acknowledged

    Centralization Risks in we2net.sol

    we2net - audit · CertiK · 7 Mar 2023 · Report ↗

  • Low Open

    Divide Before Multiply

    we2net - audit · CertiK · 7 Mar 2023 · Report ↗

  • Low Open

    Lack of Sanity Check

    we2net - audit · CertiK · 7 Mar 2023 · Report ↗

  • Low Open

    Missing Emit Events

    we2net - audit · CertiK · 7 Mar 2023 · Report ↗

  • Low Open

    MIssing Input Check

    we2net - audit · CertiK · 7 Mar 2023 · Report ↗

  • Low Open

    Missing Zero Address Validation

    we2net - audit · CertiK · 7 Mar 2023 · Report ↗

  • Low Open

    Potential Sandwich Attacks

    we2net - audit · CertiK · 7 Mar 2023 · Report ↗

  • Low Open

    Pull-Over-Push Pattern In `transferOwnership()` F

    we2net - audit · CertiK · 7 Mar 2023 · Report ↗

  • Low Open

    Third Party Dependency

    we2net - audit · CertiK · 7 Mar 2023 · Report ↗

All 12 open and acknowledged findings

Findings17

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

SeverityOpenAcknowledgedFixed
Critical000
High020
Medium002
Low1003
LowDivide Before Multiplywe2net - audit · CertiK · 7 Mar 2023Open

Performing integer division before multiplication truncates the low bits, losing the precision of calculation. ```solidity=1116 uint256 topReward = totalReward.mul(_topRewardRate).div(_rewardBase); ``` ```solidity=1118 uint256 nodeReward = topReward.mul(rewardRate[nodeLevel]).div(_rewardBase); ``` --- ```solidity=1140 uint256 topReward = totalReward.mul(_topRewardRate).div(_rewardBase); ``` ```solidity=1142 uint256 nodeReward = topReward.mul(rewardRate[nodeLevel]).div(_rewardBase); ``` --- ```solidity=916 uint256 topReward = totalReward.mul(_topRewardRate).div(_rewardBase); ``` ```solidity=918 uint256 nodeReward = topReward.mul(levelInfo[nodeLevel].rewardRate).div(_rewardBase); ``` --- ```solidity=940 uint256 topReward = totalReward.mul(_topRewardRate).div(_rewardBase); ``` ```solidity=942 uint256 nodeReward = topReward.mul(levelInfo[nodeLevel].rewardRate).div(_rewardBase); ```

Open the report
LowLack of Sanity Checkwe2net - audit · CertiK · 7 Mar 2023Open

The functions in` TransferHelper` is missing a sanity check to ensure the parameter `token` is a contract. If the `token` is an EOA, the function call `token.call()` will always return true.

Open the report
LowMissing Emit Eventswe2net - audit · CertiK · 7 Mar 2023Open

In the contract `LiquidityHub`, functions that update state variables should emit relevant events as notifications. - function setEndTime - function setManger - function setTaxRate - function setTaxAndRewardBase - function setTopRewardRate - function setRewardRate ____ In the `we2net`, functions that update state variables should emit relevant events as notifications. - function setManger - function setMinter - function setStartTime - function setTaxAndFeeManger - function setTaxAndRewardBase - function excludedFromTax - function setTaxFrom - function setTaxTo - function setRootNode - function setParentNodeByManager - function setLevelsCountAndRewardRate - function setLevelInfo - function setClaimAmount

Open the report
LowMIssing Input Checkwe2net - audit · CertiK · 7 Mar 2023Open

In the contract `LiquidityHub`, `setEndTime` do not check if new endtime > block.timestamp

Open the report
LowMissing Zero Address Validationwe2net - audit · CertiK · 7 Mar 2023Open

Addresses should be checked before assignment or external call to make sure they are not zero addresses. ```solidity=904 we2netToken = _we2netToken; ``` - `_we2netToken` is not zero-checked before being used. --- ```solidity=905 usdtToken = _usdtToken; ``` - `_usdtToken` is not zero-checked before being used. --- ```solidity=906 pair = _pair; ``` - `_pair` is not zero-checked before being used. --- ```solidity=907 wbnb = _wbnb; ``` - `_wbnb` is not zero-checked before being used. --- ```solidity=908 pairWbnbUsdt = _pairWbnbUsdt; ``` - `_pairWbnbUsdt` is not zero-checked before being used. --- ```solidity=1077 _taxManager = taxManager; ``` - `taxManager` is not zero-checked before being used. --- ```solidity=1078 _feeManager = feeManager; ``` - `feeManager` is not zero-checked before being used. --- ```solidity=1079 _recycleManager = recycleManager; ``` - `recycleManager` is not zero-checked before being used. --- ```solidity=810 _taxManager = taxManager; ``` - `taxManager` is not zero-checked before being used. --- ```solidity=811 _feeManager = feeManager; ``` - `feeManager` is not zero-checked before being used. --- ```solidity=840 rootNode = _rootNode; ``` - `_rootNode` is not zero-checked before being used.

Open the report
LowPotential Sandwich Attackswe2net - audit · CertiK · 7 Mar 2023Open

A sandwich attack may happen when an attacker observes a transaction swapping tokens or adding/removing 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: - removeLiquidity - addLiquidity - addBnbLiquidity

Open the report
LowPull-Over-Push Pattern In `transferOwnership()` Fwe2net - audit · CertiK · 7 Mar 2023Open

The change of `_owner` by function `transferOwnership()` overrides the previously set `_owner` with the new one without guaranteeing the new `_owner` is able to actuate transactions on-chain.

Open the report
LowThird Party Dependencywe2net - audit · CertiK · 7 Mar 2023Open

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=872 address public pair; ``` - The contract `LiquidityHub` interacts with third-party contract with `IPancakePair` interface via `pair`. --- ```solidity=873 address public wbnb; ``` - The contract `LiquidityHub` interacts with third-party contract with `IWETH` interface via `wbnb`. --- ```solidity=874 address public pairWbnbUsdt; ``` - The contract `LiquidityHub` interacts with third-party contract with `IPancakePair` interface via `pairWbnbUsdt`.

Open the report
LowtotalNodesCount Might Double Countedwe2net - audit · CertiK · 7 Mar 2023Open

In the contract `we2net`, everytime a childNode set a parent, totalNodesCount++. If the same _parent address is set by two childNode. It will be double counted. ## Imapct As the `totalNodesCount` is only used as a rootNode initialable flag in the function `setRootNode`, It does not impact the contract functionalities.

Open the report
LowVariables That Could Be Declared as Immutablewe2net - audit · CertiK · 7 Mar 2023Open

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

Contracts1

AddressChainSource code
0x572c9ab47977d7d909572f3b8bce076a858a8763Chain: BNB ChainSource code: Verified source

We2net: questions

Is We2net audited?

Trustblock holds 1 public audit report for We2net, dated 7 Mar 2023. The latest is by CertiK (“we2net - audit”).

Who audited We2net?

CertiK wrote the report Trustblock holds for We2net.

Are there open findings in We2net’s audits?

12 findings are still open or acknowledged in the firms’ reports: 2 high, 10 low (10 open, 2 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="we2net"
></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