Quantum Audit Logo
Launch App

On-chain security analysis — is it a scam or legit?

Is Basic Attention Token Safe?

BATEthereum
Not verified This record has not gone through deep verification and is not being monitored. The score is a dated snapshot — the token’s risk can change at any time.Own this token? Put it under verification →
Last checked Oct 11, 2026 · 1 audit on record
SummaryAI Copilot

The BAToken contract implements an ERC-20-like token with integrated crowdsale functionality.

Read the full analysis
What raised the score
  • Mintable supply — no cap found, dilution unbounded
  • Ownership status UNKNOWN
  • Liquidity not locked
  • Top-10 concentration > 30%
Exact factors
  • Mintable supply — no cap found, dilution unbounded
  • Ownership status UNKNOWN (owner could not be resolved)
  • Liquidity NOT locked (100% of the pool; this pool is 60% of DEX liquidity) — held by independent providers — market-depth risk
  • Top-10 concentration > 30% (39.9% total → 38.7% effective; 37.9% in EOAs, 2.0% in contracts)

How scores are computed

Security Checklist

as of audit · Oct 114 of 7 checks passed
Contract verifiedVerified
OwnershipUnknown
MintMintable
Liquidity lockNot locked
UpgradeabilityFixed code
HoneypotNone found
Buy / sell tax0% / 0%

Holders

as of audit · Oct 11, 2026421,236 holders
2.0%37.9%Wallets60.1%Everyone else
37.9%Wallets60.1%Everyone else
ContractsWalletsEveryone elseBubble area = share of supply
39.9%of supply sits with the top 10 holders
  • Contractstreasury, vesting, bridge, staking2.0%
  • Walletsanonymous holders, free to sell37.9%
  • Everyone else421,226 holders60.1%
Effective concentrationwhat the score reads38.7%
How holder types affect the score

Share held by contracts — treasury, vesting, bridge or staking — is discounted against share held by wallets when the score is computed: a contract cannot decide to sell the way an anonymous holder can, though it can still be drained or voted to sell. Effective concentration is the figure the risk score is actually calculated from.

Holder balances as recorded by the audit of Oct 11, 2026

Liquidity

as of audit · Oct 11$495.2K across 24 pairs
LP tokensNot locked

The LP tokens of the analysed pool are not locked or burned, so whoever holds them can withdraw that liquidity.

Analysed pool$297.7KShare of depth60.1%
Top-1 Unlocked Holder31.8%
Top-3 Unlocked59.6%
Unlocked LP held by
0x8f11…2c7d0x0118…53f00x7602…b9d10x3717…b8220xd6fc…85a30xbcf5…378f0xe471…96290xec64…c6af0x659d…69be0x312b…3a55

No privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.

Security Findings

5 Medium1 Low5 Info
Medium

ERC-20 approve Race Condition Vulnerability

Not confirmed by static analysis (the model's own reading of the source).M-01

Issue

Not confirmed by static analysis (the model's own reading of the source). The approve function in StandardToken is susceptible to a known ERC-20 race condition. If a user approves an amount for a spender, and then approves a *different* (typically lower) amount before the spender has spent the original allowance, the spender might be able to spend both the original and the new allowance. This occurs because the spender can execute a transferFrom transaction with the original allowance after the new approval transaction is mined but before the original allowance is updated, effectively allowing them to spend more than intended.

Fix

To mitigate this, implement a two-step approval process (e.g., increaseAllowance and decreaseAllowance functions) or the 'approve and call' pattern. This prevents the spender from exploiting the race condition by requiring them to first set the allowance to zero before setting a new value.

Status

Unresolved

Medium

Fixed Gas Limit for External ETH Transfers (.send())

Not confirmed by static analysis (the model's own reading of the source).M-02

Issue

Not confirmed by static analysis (the model's own reading of the source). The finalize() and refund() functions use the .send() method for transferring ETH to external addresses (ethFundDeposit and msg.sender, respectively). The .send() function has a fixed gas stipend of 2300. This amount is often insufficient for recipient contracts that have complex fallback functions or require more gas to process the incoming ETH. If the recipient contract's fallback function consumes more than 2300 gas, the ETH transfer will fail, potentially locking funds in the contract or preventing the successful finalization of the crowdsale or user refunds.

Fix

Consider using .call{value: ethVal}('') for external ETH transfers, as it forwards all available gas by default. When using .call, it is crucial to implement robust reentrancy guards (e.g., OpenZeppelin's ReentrancyGuard) to prevent reentrancy attacks, although in this specific contract, state changes occur before the send call, mitigating direct reentrancy for the same transaction.

Status

Unresolved

Medium

Integer Overflow in StandardToken transfer and transferFrom

Not confirmed by static analysis (the model's own reading of the source).M-03

Issue

Not confirmed by static analysis (the model's own reading of the source). The StandardToken contract, inherited by BAToken, does not utilize SafeMath for addition operations within its transfer and transferFrom functions. Specifically, the line balances[_to] += _value; in both functions is vulnerable to integer overflow. If balances[_to] is sufficiently large and _value is also large, their sum could exceed uint256's maximum value, causing the balance to wrap around to a small number. This could lead to an incorrect balance for the recipient, potentially allowing them to receive fewer tokens than intended or disrupting the total supply accounting.

Fix

Implement SafeMath for all arithmetic operations in StandardToken. Specifically, replace balances[_to] += _value; with balances[_to] = safeAdd(balances[_to], _value); in both transfer and transferFrom functions.

Status

Unresolved

Medium

Liquidity not locked

0.0% of the pool's LP is burned or time-locked. 85.0% is held, unlocked, by 10 address(es) other than the owner/deployer.QA-LIQUIDITY

Issue

0.0% of the pool's LP is burned or time-locked. 85.0% is held, unlocked, by 10 address(es) other than the owner/deployer. No single one holds a majority: their exits thin the market rather than hand anyone the pool. Some pools are concentrated-liquidity (V3/V4) positions; shares above are by position as GoPlus reports them. This assessment covers the main pool, which holds 60% of the token's DEX liquidity; the other pools were not assessed.

Fix

Check the lock's end date and beneficiary on the locker's own page before relying on it.

Status

Acknowledged

Medium

What the token's controller can do

The contract lets its controller — an owner that could not be resolved — mint new supply.QA-POWERS

Issue

The contract lets its controller — an owner that could not be resolved — mint new supply. Nothing independent vouches for whoever holds them, so each is a live risk to holders.

Fix

Check who holds these powers and whether a timelock or multisig stands between them and holders.

Status

Acknowledged

Low

Use of Outdated Solidity Version and throw Statement

Not confirmed by static analysis (the model's own reading of the source).L-01

Issue

Not confirmed by static analysis (the model's own reading of the source). The contract is compiled with Solidity ^0.4.10, which is an outdated version. This version lacks many security features, optimizations, and best practices introduced in later Solidity releases. Additionally, the contract uses throw statements for error handling. throw consumes all remaining gas upon failure, which is less gas-efficient than revert() or require() (introduced in Solidity 0.4.10 and 0.4.22 respectively), which refund unused gas.

Fix

Upgrade the Solidity compiler version to a more recent stable release (e.g., ^0.8.0). This will enable automatic overflow/underflow checks and provide access to modern language features. Refactor all throw statements to require() or revert() for improved gas efficiency and clearer error messages.

Status

Unresolved

Info

Lack of Emergency Pause/Withdrawal Mechanism

Not confirmed by static analysis (the model's own reading of the source).I-01

Issue

Not confirmed by static analysis (the model's own reading of the source). The contract lacks a mechanism to pause critical operations (such as token transfers or crowdsale participation) or to perform emergency withdrawals of funds in case of unforeseen vulnerabilities or critical issues. While the crowdsale has specific finalize and refund conditions, there is no general 'kill switch' or pause functionality that could be activated by an authorized entity (e.g., a multi-signature wallet) to mitigate risks from unknown vulnerabilities or external attacks.

Fix

For future contracts, consider implementing a well-designed pause mechanism (e.g., using OpenZeppelin's Pausable contract) and/or an emergency withdrawal function, typically controlled by a multi-signature wallet, to provide a safety net in critical situations.

Status

Unresolved

Info

Who holds the supply

The ten largest holders own 39.9% of supply. What remains: 37.9% in wallets, 2.0% in other contracts.QA-HOLDERS

Issue

The ten largest holders own 39.9% of supply. What remains: 37.9% in wallets, 2.0% in other contracts. 421,236 holders in total.

Fix

Watch the largest wallets that are not exchanges, pools or locks — those are the ones that can move the price.

Status

Acknowledged

Info

Identity verified by independent sources

Listed on CoinGecko as Basic Attention (BAT), market cap $204M, rank #188. On GoPlus's list of trusted tokens.QA-IDENTITY

Issue

Listed on CoinGecko as Basic Attention (BAT), market cap $204M, rank #188. On GoPlus's list of trusted tokens. Traded on Binance, Coinbase. 421,236 holders. Verified by: CoinGecko, GoPlus, exchange listings.

Fix

Match the contract address against the project's official channels before trading.

Status

Acknowledged

Info

The market for this token

Liquidity $495K (DexScreener, all pools). 24h trading volume $87.3M (CoinGecko, all markets, daily snapshot).QA-MARKET

Issue

Liquidity $495K (DexScreener, all pools). 24h trading volume $87.3M (CoinGecko, all markets, daily snapshot). 24h trading volume $388K (DexScreener, all pools). CoinGecko's record for this coin: all-time high $1.90 on 2021-11-27; the price is now 92.8137% below it.

Fix

Size any position to the liquidity and daily volume shown — they set how much you can sell and at what price.

Status

Acknowledged

Info

Asset class: Project token

A token issued by a project for use, governance or fundraising.QA-PROFILE

Issue

A token issued by a project for use, governance or fundraising. Basis: no class-specific evidence. Tokenomics — Supply: mintable with no on-chain cap found. Control: an owner that could not be resolved. Code: not upgradeable (no proxy). Fees: no buy or sell tax. Market: $495K of DEX liquidity across 24 pools. Launch: 2336 days of market history.

Fix

Check the project's own documentation for what the token is used for; this report covers what the contract allows.

Status

Acknowledged

Analysis

AI Copilotas of audit · Oct 11
Executive SummaryWhat the contract is and what the review found

The BAToken contract implements an ERC-20-like token with integrated crowdsale functionality. While SafeMath is used for critical crowdsale calculations, the inherited StandardToken contract contains an integer overflow vulnerability in its addition operations. The contract also utilizes an outdated Solidity compiler version and older patterns like send() with fixed gas limits, which introduce additional risks. The design is non-upgradeable, making any discovered vulnerability permanent.

Technical8/10Low risk

The contract demonstrates a basic architecture for an ERC-20 token with crowdsale features (7.1 Architecture). Strengths include the use of SafeMath for crowdsale-specific arithmetic and clear access control for the finalize function (7.3 Access Control). However, significant code security issues exist (7.2 Code Security), notably an integer overflow vulnerability in the StandardToken's transfer and transferFrom functions. External calls using .send() (7.6 External) are susceptible to fixed gas limit issues, potentially causing transaction failures for recipient contracts. The ERC-20 approve function also carries a known race condition vulnerability.

Governance4/10Medium risk

The economic model for the crowdsale is clearly defined with fundingStartBlock, fundingEndBlock, tokenCreationCap, and tokenCreationMin (7.4 Economic). Refund conditions are appropriately set for a failed crowdsale. Access control for finalize is restricted to ethFundDeposit, which is a positive aspect (7.5 Governance). However, the contract lacks any post-crowdsale governance mechanisms or emergency controls, and the ERC-20 approve function's race condition could lead to unintended token spending.

Upgrades3/10High risk

The contract is not designed with any upgradeability mechanism (7.7 Upgrades). This means that once deployed, its logic is immutable. While this offers simplicity and reduces the complexity associated with proxy patterns, it also implies that any discovered vulnerability or required feature change cannot be addressed without a complete redeployment and migration, posing a high risk for long-term maintenance and security.

Final RecommendationWhat to do about this score

It is strongly recommended to refactor the StandardToken contract to incorporate SafeMath for all arithmetic operations, especially additions, to prevent integer overflows.

Additionally, update the Solidity compiler version to a recent stable release (e.g., 0.8.x) and replace throw statements with require() or revert() for improved gas efficiency and clearer error handling. For external ETH transfers, consider using .call{value: ...}('') with appropriate reentrancy guards instead of .send() to avoid fixed gas limit issues. Implement a two-step approval mechanism for the ERC-20 approve function to mitigate the known race condition.

Contract & Record

1 audit on record
TypeBAToken
NetworkEthereum
Token age6y
Contract0x0d87…87ef
Deployer0x3095…8c41
Badge for your website
Basic Attention Token security record badge

Free for any token on the record. It links to this page and always shows the current score and the date it was checked.

Audit History
  1. Oct 11, 202634Low

Score changes are recorded as dated snapshots — history is append-only and cannot be edited.

Would You Like a More Detailed Audit of Basic Attention Token?

Our AI-powered scanner gives you a deeper, real-time smart contract analysis — free, with every scoring factor shown.

Get Detailed Audit Is this your token? Add your links and get it Verified