The Green World audit reports

BNB Chain, Ethereumthegreenworld.netX

The Green World has 1 public audit report from CertiK; dated 11 Oct 2024; no critical findings reported.

Critical and high findings
No open critical findings; 3 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
The Green World - AuditSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 3 high · 7 low
3 acknowledged · 7 open
skynet.certik.com ↗

Open findings across every firm10

Statuses are the security firms’ own

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

High
3
Low
7
  • High Acknowledged

    Centralization Risks

    The Green World - Audit · CertiK · 11 Oct 2024 · Report ↗

  • High Acknowledged

    Incorrect Check on Buy Operation

    The Green World - Audit · CertiK · 11 Oct 2024 · Report ↗

  • High Acknowledged

    Initial Token Distribution

    The Green World - Audit · CertiK · 11 Oct 2024 · Report ↗

  • Low Open

    Concerns on `_isBuyingOnPancakeSwap` Validation

    The Green World - Audit · CertiK · 11 Oct 2024 · Report ↗

  • Low Open

    Concerns on Dex Addresses Check

    The Green World - Audit · CertiK · 11 Oct 2024 · Report ↗

  • Low Open

    Concerns on the State Variables Setter Functions

    The Green World - Audit · CertiK · 11 Oct 2024 · Report ↗

  • Low Open

    Misleading Function and Variable Naming

    The Green World - Audit · CertiK · 11 Oct 2024 · Report ↗

  • Low Open

    Missing Zero Address Validation

    The Green World - Audit · CertiK · 11 Oct 2024 · Report ↗

  • Low Open

    Unchecked ERC-20 `transfer()`/`transferFrom()` Ca

    The Green World - Audit · CertiK · 11 Oct 2024 · Report ↗

  • Low Open

    Variables That Could Be Declared as Immutable

    The Green World - Audit · CertiK · 11 Oct 2024 · Report ↗

Findings10

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

SeverityOpenAcknowledgedFixed
Critical000
High030
Medium000
Low700
LowConcerns on `_isBuyingOnPancakeSwap` ValidationThe Green World - Audit · CertiK · 11 Oct 2024Open

The `TheGreenWorld` introduce the `_isBuyingOnPancakeSwap` validation which intended to block the buy operations from pancake swap. However, beyond the issue we mentioned in TGW-05 and TGW-06, the following concerns were raised along with the mechanism: 1. Potential DoS on removing liquidity: While removing liquidity, the `$TGW` token will be transferred from the pool back to the user and if `_isBuyingOnPancakeSwap` check is valid(after solving TGW-05), the operation will be blocked. 2. Only one pool will be constrained: The contract only has one variable pancakeSwapPair to store a single pool/pair address. If multiple trading pools or pairs were to be created for this token, the constraints would only apply to the one specified pair, potentially limiting the effectiveness of the intended restrictions.

Open the report
LowConcerns on Dex Addresses CheckThe Green World - Audit · CertiK · 11 Oct 2024Open

The `transfer` function enforces that if the `msg.sender` is labeled as a `dexAddress`, the `to` address must be the `tokenBuyingContract`. This restriction would mean that any buying operation/liquidity removal from DEXs, including PancakeSwap pairs, would need to have the tokenBuyingContract as the recipient. As a result, only the `tokenBuyingContract` can receive tokens directly from DEX addresses, which would affect buying operations and liquidity removal from users. At the same time, this check is absent in `transferFrom` function, potentially allowing the bypass of intended restrictions.

Open the report
LowConcerns on the State Variables Setter FunctionsThe Green World - Audit · CertiK · 11 Oct 2024Open

Several owner-controlled setter functions, such as `updatePancakeSwapRouter`, `addDexAddress`, and `setTokenBuyingContract`, can modify critical state variables like `pancakeSwapPair`, `dexAddresses`, and `tokenBuyingContract`. These variables are used in validation checks within the `transfer` and `transferFrom` functions. If these variables are not initialized promptly after the contract's deployment, users can execute `transfer` and `transferFrom` without restriction. This is because, until set, these variables will default to the zero address, rendering the validation checks ineffective.

Open the report
LowMisleading Function and Variable NamingThe Green World - Audit · CertiK · 11 Oct 2024Open

The `updatePancakeSwapRouter` function is designed to allow the `owner` role to update the `pancakeSwapPair` variable. However, the accompanying comment states "function to update the pancakeswaprouteraddress," which may cause confusion. The naming of `pancakeSwapPair` suggests that this variable refers to the pair address on the PancakeSwap protocol, whereas the function name and comment imply that the function updates the router address. It is important to note that the router address and pair address are distinct entities within the PancakeSwap protocol. Based on the contract's logic, token transfers are restricted during buy operations on PancakeSwap. These buy and sell operations occur between users and the PancakeSwap pair, not the router address. Setting the state variable incorrectly could affect the normal functionality of the project, preventing it from achieving its intended design.

Open the report
LowMissing Zero Address ValidationThe Green World - Audit · CertiK · 11 Oct 2024Open

Addresses are not validated before assignment or external calls, potentially allowing the use of zero addresses and leading to unexpected behavior or vulnerabilities. For example, transferring tokens to a zero address can result in a permanent loss of those tokens. ```solidity=698 tokenBuyingContract = buytokenAddress; ``` - `buytokenAddress` is not zero-checked before being used. ```solidity=678 pancakeSwapPair = _newRouter; ``` - `_newRouter` is not zero-checked before being used.

Open the report
LowUnchecked ERC-20 `transfer()`/`transferFrom()` CaThe Green World - Audit · CertiK · 11 Oct 2024Open

The return values of the `transfer()` and `transferFrom()` calls in the smart contract are not checked. Some ERC-20 tokens' transfer functions return no values, while others return a bool value, they should be handled with care. If a function returns `false` instead of reverting upon failure, an unchecked failed transfer could be mistakenly considered successful in the contract. Otherwise, if the function returns no values, the transaction will revert due to an incompatible interface. ```solidity=756 token.transfer(recipient, balance); ```

Open the report
LowVariables That Could Be Declared as ImmutableThe Green World - Audit · CertiK · 11 Oct 2024Open

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

The Green World: questions

Is The Green World audited?

Trustblock holds 1 public audit report for The Green World, dated 11 Oct 2024. The latest is by CertiK (“The Green World - Audit”).

Who audited The Green World?

CertiK wrote the report Trustblock holds for The Green World.

Are there open findings in The Green World’s audits?

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