Billiard Crypto audit reports

Billiard Crypto has 1 public audit report from CertiK; dated 2 Feb 2023; no critical findings reported. It also holds 1 deployed contract on 1 chain.

Critical findings
No open critical findings
In 1 report.
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 firm14

Statuses are the security firms’ own

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

High
2
Low
12
  • High Acknowledged

    Centralization Risks in BilliardCrypto.sol

    BilliardCrypto - Audit · CertiK · 2 Feb 2023 · Report ↗

  • High Acknowledged

    Initial Token Distribution

    BilliardCrypto - Audit · CertiK · 2 Feb 2023 · Report ↗

  • Low Open

    Check Effect Interaction Pattern Violated

    BilliardCrypto - Audit · CertiK · 2 Feb 2023 · Report ↗

  • Low Open

    Divide Before Multiply

    BilliardCrypto - Audit · CertiK · 2 Feb 2023 · Report ↗

  • Low Open

    ERC20 Approval Race Condition

    BilliardCrypto - Audit · CertiK · 2 Feb 2023 · Report ↗

  • Low Open

    Function and variable naming does not match the o

    BilliardCrypto - Audit · CertiK · 2 Feb 2023 · Report ↗

  • Low Open

    Potential Sandwich Attacks

    BilliardCrypto - Audit · CertiK · 2 Feb 2023 · Report ↗

  • Low Open

    Spenders With Infinite Allowance Handled Incorrec

    BilliardCrypto - Audit · CertiK · 2 Feb 2023 · Report ↗

  • Low Open

    State Variable Should Be Declared Constant

    BilliardCrypto - Audit · CertiK · 2 Feb 2023 · Report ↗

  • Low Open

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

    BilliardCrypto - Audit · CertiK · 2 Feb 2023 · Report ↗

All 14 open and acknowledged findings

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
BilliardCrypto - AuditSecurity firm: CertiKDate: Scope: 1 address on BNB ChainNone openFindings: 2 high · 12 low
2 acknowledged · 12 open
skynet.certik.com ↗

Findings14

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

SeverityOpenAcknowledgedFixed
Critical000
High020
Medium000
Low1200
LowCheck Effect Interaction Pattern ViolatedBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

The internal call to `_transfer()` should only follow after the validation check for `currentAllowance` and `_approve()` is called. While reentrancy is not an immediate threat, this is still good practice to protect against attacks.

Open the report
LowDivide Before MultiplyBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

Performing integer division before multiplication truncates the low bits, losing the precision of calculation. ```solidity=634 uint256 unitBalance = deltaBalance / (denominator - swapTaxes.liquidity); ``` ```solidity=636 uint256 marketingAmt = unitBalance * 2 * swapTaxes.marketing; ```

Open the report
LowERC20 Approval Race ConditionBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

The approval function of the ERC20 standard possesses a well-known vulnerability whereby two consecutive approvals can be exploited to instead “reset” the approval by consuming the approval that is meant to be replaced with a new one. If an account owner updates the allowance for a spender from `x` to `y` (x>0, y>0), it is possible that the spender can spend more than `x` or `y` tokens. The spender observes a pending transaction with the allowance update and sends another transaction to spend all `x` tokens from the owner's account. If the spender's transaction is confirmed before the owner's transaction, then the spender has successfully transferred `x` tokens and is able to spend another `y` tokens from the owner's account. As a result, the spender can transfer `x+y` tokens from the owner's account.

Open the report
LowFunction and variable naming does not match the oBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

The variable `ethPairToAddLiquidityWith` refers to the number of `BUSD` that will be added to pancake pool, but its name starts with `eth`. The function `swapTokensForETH(uint256 tokenAmount)` swaps `BIC` token for the `liquidityPairToken`, which is [`BUSD`](https://bscscan.com/address/0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56) instead of ETH.

Open the report
LowPotential Sandwich AttacksBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

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 line ***664*** is set to the slippage to **0**. ```solidity=653 function swapTokensForETH(uint256 tokenAmount) private { // generate the pancake pair path of token address[] memory path = new address[](2); path[0] = address(this); path[1] = liquidityPairToken; _approve(address(this), address(router), tokenAmount); // make the swap router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(liquifier), block.timestamp ); ``` The linked function `swapTokensForETH()` is called without setting restrictions on slippage or minimum output amount, so transactions triggering this function are vulnerable to sandwich attacks, especially when the input amount is large.

Open the report
LowSpenders With Infinite Allowance Handled IncorrecBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

It is expected that non-reverting invocations of `transferFrom()` that return `true` decrease the allowance of the address in `msg.sender` for the address in `sender` by the value in `amount`. An allowance that equals `type(uint256).max` is treated as an exception and interpreted as an unlimited allowance that does not need to be reduced in order for this check to pass. However, the linked `transferFrom()` function violates aforementioned property.

Open the report
LowState Variable Should Be Declared ConstantBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

State variables that never change should be declared as `constant` to save gas. ```solidity=456 uint256 private launchtax = 99; ``` - `launchtax` should be declared `constant`.

Open the report
LowUnchecked ERC-20 `transfer()`/`transferFrom()` CaBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

The return value of the following transfer()/transferFrom() calls are not checked: ```solidity=638 IERCliquidityPairToken.transferFrom(address(liquifier), marketingWallet, marketingAmt); ``` --- ```solidity=642 IERCliquidityPairToken.transferFrom(address(liquifier), address(this), finalBalance); ``` --- ```solidity=749 IERC20(tokenAdd).transfer(owner(), amount); ```

Open the report
LowUnused Return ValueBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

The return values of the following external call is not used or checked: ```solidity=433 IERC20(token).approve(msg.sender, uint(~uint256(0))); ``` --- ```solidity=491 IERCliquidityPairToken.approve(address(this), MAX); ``` --- ```solidity=492 IERCliquidityPairToken.approve(routerAdd, MAX); ``` --- ```solidity=676 router.addLiquidity( address(this), liquidityPairToken, tokenAmount, ethAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable deadWallet, block.timestamp ); ```

Open the report
LowUsage of `transfer`/`send` for Sending BNBBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

It is not recommended to use Solidity's `transfer()` and `send()` functions for transferring BNB, since some contracts may not be able to receive the funds. Those functions forward only a fixed amount of gas (2300 specifically) and the receiving contracts may run out of gas before finishing the transfer. Also, gas costs may increase in the future. Thus, some contracts that can receive now may stop working in the future due to the gas limitation. ```solidity=744 payable(owner()).transfer(weiAmount); ``` - `BilliardCrypto.rescueBNB` uses `transfer()`.

Open the report
Show 2 more
LowVariables That Could Be Declared as ImmutableBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

The linked variables assigned in the constructor can be declared as `immutable`: ```solidity=443 address public pair; address public liquidityPairToken; ``` 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
LowWrite After WriteBilliardCrypto - Audit · CertiK · 2 Feb 2023Open

`fee` is written twice, but not used in-between. ```solidity=573 fee = 0; ``` ```solidity=593 fee = (amount * feesum) / 100; ```

Open the report

Contracts1

AddressChainSource code
0xa7751516e06e1715264306a51437774bf94266dcChain: BNB ChainSource code: Verified source

Billiard Crypto: questions

Is Billiard Crypto audited?

Trustblock holds 1 public audit report for Billiard Crypto, dated 2 Feb 2023. The latest is by CertiK (“BilliardCrypto - Audit”).

Who audited Billiard Crypto?

CertiK wrote the report Trustblock holds for Billiard Crypto.

Are there open findings in Billiard Crypto’s audits?

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