Babydoge2.0 audit reports

Ethereum, BNB Chainbdoge2eth.clubGitHub

Babydoge2.0 has 1 public audit report from CertiK; dated 4 Aug 2023; no critical findings reported. It also holds 3 deployed contracts on 2 chains.

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
Babydoge2.Security firm: CertiKDate: Scope: 3 addresses on Ethereum and BNB ChainNone openFindings: 3 high · 9 low
1 fixed · 2 acknowledged · 9 open
skynet.certik.com ↗

Open findings across every firm11

Statuses are the security firms’ own

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

High
2
Low
9
  • High Acknowledged

    Initial Token Distribution

    Babydoge2. · CertiK · 4 Aug 2023 · Report ↗

  • High Acknowledged

    Sending Ether to Arbitrary Destinations

    Babydoge2. · CertiK · 4 Aug 2023 · Report ↗

  • Low Open

    Cannot Remove LP Pair from `isLpPair`

    Babydoge2. · CertiK · 4 Aug 2023 · Report ↗

  • Low Open

    Function `decimals()` Fails Unexpectedly

    Babydoge2. · CertiK · 4 Aug 2023 · Report ↗

  • Low Open

    Function `totalSupply` of Contract `Babydoge2` Fa

    Babydoge2. · CertiK · 4 Aug 2023 · Report ↗

  • Low Open

    Missing Zero Address Validation

    Babydoge2. · CertiK · 4 Aug 2023 · Report ↗

  • Low Open

    Number of gas is hardcoded to `35000` which may n

    Babydoge2. · CertiK · 4 Aug 2023 · Report ↗

  • Low Open

    Potential Risk On `approve()`/`transferFrom()` Me

    Babydoge2. · CertiK · 4 Aug 2023 · Report ↗

  • Low Open

    Third-Party Dependency Usage

    Babydoge2. · CertiK · 4 Aug 2023 · Report ↗

  • Low Open

    Unchecked Success of External Calls

    Babydoge2. · CertiK · 4 Aug 2023 · Report ↗

All 11 open and acknowledged findings

Findings12

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

SeverityOpenAcknowledgedFixed
Critical000
High021
Medium000
Low900
LowCannot Remove LP Pair from `isLpPair`Babydoge2. · CertiK · 4 Aug 2023Open

In the function `changeLpPair` at the pointed locations, the `newPair` indicated will be added as `lpPair` in the mapping `isLpPair`. Although, there is no way to remove invalid liquidity pool pairs from that mapping in the current codebase.

Open the report
LowFunction `decimals()` Fails UnexpectedlyBabydoge2. · CertiK · 4 Aug 2023Open

If the `totalSupply` is zero, the `decimals()` function will revert. Making it impossible for the users to check the decimals of the token.

Open the report
LowFunction `totalSupply` of Contract `Babydoge2` FaBabydoge2. · CertiK · 4 Aug 2023Open

It is expected that the `totalSupply` function always succeeds, assuming that its execution does not run out of gas. However, the implementation of `totalSupply` in contract Babydoge2 sometimes reverts.

Open the report
LowMissing Zero Address ValidationBabydoge2. · CertiK · 4 Aug 2023Open

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. in ETH: ```solidity=290 isLpPair[newPair] = true; ``` - `newPair` is not zero-checked before being used. --- ```solidity=328 marketingAddress = payable(marketing); ``` - `marketing` is not zero-checked before being used. --- ```solidity=329 marketing2Address = payable(marketing2); ``` - `marketing2` is not zero-checked before being used. --- ```solidity=329 setPresaleAddress(address presale, bool yesno) ``` - `presale` is not zero-checked before being used. --- In BSC: ```solidity=285 isLpPair[newPair] = true; ``` - `newPair` is not zero-checked before being used. --- ```solidity=322 marketingAddress = payable(marketing2); ``` - `marketing` is not zero-checked before being used. --- ```solidity=367 setPresaleAddress(address presale, bool yesno) ``` - `presale` is not zero-checked before being used. ---

Open the report
LowNumber of gas is hardcoded to `35000` which may nBabydoge2. · CertiK · 4 Aug 2023Open

The contract contains a hardcoded gas limit of 35000 for calls to `marketingAddress` and `marketing2Address` within the `internalSwap` function. The Ethereum network requires gas for executing operations, and different operations require different amounts of gas. Hardcoding the gas limit could lead to potential risks in terms of compatibility and functionality during future Ethereum chain upgrades. If the gas requirements for operations change in future Ethereum versions and the hardcoded gas limit is insufficient, these calls will fail. This may disrupt the token's normal functionality, potentially halting the swaps or transfers.

Open the report
LowPotential Risk On `approve()`/`transferFrom()` MeBabydoge2. · CertiK · 4 Aug 2023Open

Contract `Babydoge2` is vulnerable to [a known ERC20 race condition issue](https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729), which could lead to token theft. When a user calls `approve()` for a second time on a spender that has already been allowed, the spender could call `transferFrom()` to transfer the previous value and still receive the authorization to transfer the new value.

Open the report
LowThird-Party Dependency UsageBabydoge2. · CertiK · 4 Aug 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=182 IRouter02 public swapRouter; ``` - The contract `Babydoge2` interacts with third party contract with `IRouter02` interface via `swapRouter`.

Open the report
LowUnchecked Success of External CallsBabydoge2. · CertiK · 4 Aug 2023Open

The `success` variable of the `.call` functions in `internalSwap` is not checked. ```solidity=371 if(twoThird > 0) {(success,) = marketingAddress.call{value: twoThird, gas: 35000}("");} if(address(this).balance > 0) {(success,) = marketing2Address.call{value: address(this).balance, gas: 35000}("");} ``` ```solidity=363 if(address(this).balance > 0) {(success,) = marketingAddress.call{value: address(this).balance, gas: 35000}("");} ``` In this way, there is no guarantee that the `call` succeded.

Open the report
LowVariables That Could Be Declared as ImmutableBabydoge2. · CertiK · 4 Aug 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

Contracts3

AddressChainSource code
0x41b6f91daa1509bfbe06340d756560c4a1d146fdChain: EthereumSource code: Verified source
0xa4e068e2b8f58e6c3090174a9e4e95f5bb025ca4Chain: EthereumSource code: Verified source
0xa4e068e2b8f58e6c3090174a9e4e95f5bb025ca4Chain: BNB ChainSource code: Verified source

Babydoge2.0: questions

Is Babydoge2.0 audited?

Trustblock holds 1 public audit report for Babydoge2.0, dated 4 Aug 2023. The latest is by CertiK (“Babydoge2.”).

Who audited Babydoge2.0?

CertiK wrote the report Trustblock holds for Babydoge2.0.

Are there open findings in Babydoge2.0’s audits?

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