The SpectreAI token contract implements standard ERC-20 functionality with additional features like transaction taxes, anti-whale/anti-bot mechanisms, and an automatic liquidity provision system. The audit identified a critical reentrancy-related vulnerability in the swap mechanism that can halt fee collection, alongside high-severity centralization risks and reliance on block.timestamp for security. Several medium and low-severity issues were also found, primarily concerning transparency and potential for economic manipulation by the owner.

On-chain security analysis — is it a scam or legit?
Is SPECTRE AI Safe?
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 →The SpectreAI token contract implements standard ERC-20 functionality with additional features like transaction taxes, anti-whale/anti-bot mechanisms, and an automatic liquidity provision system.
Read the full analysisSecurity Checklist
as of audit · Sep 15Holders
as of audit · Sep 15, 2026- Contractstreasury, vesting, bridge, staking8.3%
- Walletsanonymous holders, free to sell12.5%
- Everyone elsethe rest of the supply79.2%
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 Sep 15, 2026
Liquidity
as of audit · Sep 15The LP tokens of the analysed pool are locked or burned.
Security Findings
MediumPotential Slippage or Sandwich Attack Vulnerability in Swap
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 code snippet for uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens is truncated. If the amountOutMin parameter is not properly calculated and set to a non-zero value, the swap operation could be vulnerable to sandwich attacks or significant slippage. An amountOutMin of zero or a very low value allows attackers to front-run the transaction, manipulate the price, and profit from the difference, resulting in fewer ETH received by the contract for the swapped tokens.
Fix
Ensure that amountOutMin is always calculated based on a reasonable slippage tolerance (e.g., 0.5% to 1%) and passed to the swapExactTokensForETHSupportingFeeOnTransferTokens function. This protects the contract from receiving significantly less ETH than expected due to price manipulation or high network congestion.
Status
Unresolved
MediumReentrancy Vulnerability / Stuck Swap Mechanism
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 _transfer function's logic for swapping tokens to ETH (when to == uniswapV2Pair) uses an inSwapAndLiquify flag to prevent reentrancy during the external call to uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens. However, the provided code snippet shows that inSwapAndLiquify is set to 1 before the external call but is never reset to 0. This means that once a swap is initiated, the inSwapAndLiquify flag will remain 1 indefinitely, preventing any subsequent fee collection or liquidity provision through this mechanism. This effectively halts a core economic function of the token.
Fix
Ensure the inSwapAndLiquify flag is reset to 0 immediately after the external call to uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens completes. A common pattern is to use a try-catch block or a modifier to ensure the flag is reset even if the external call reverts.
Status
Unresolved
MediumExcessive Centralization of Control
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 Ownable contract grants the owner extensive control over critical contract parameters and functions. The owner can addExcludedWallet, openTrading, setLimit, removeAllLimits, and changeTax without any timelock or community governance. This high degree of centralization introduces significant trust assumptions, as a malicious or compromised owner could manipulate taxes, disable limits, or exclude specific wallets from fees, potentially leading to economic exploitation or unfair advantage.
Fix
Consider implementing a multi-signature wallet for ownership or introducing a timelock mechanism for sensitive administrative functions. This would provide a delay before critical changes take effect, allowing the community to react and reducing the risk of immediate malicious actions. Explore options for decentralizing control over key parameters through a governance mechanism.
Status
Unresolved
MediumReliance on block.timestamp for Anti-Bot Measures
Not confirmed by static analysis (the model's own reading of the source).M-04
block.timestamp for Anti-Bot MeasuresIssue
Not confirmed by static analysis (the model's own reading of the source). The _delayBetweenTx mechanism, intended to prevent rapid transactions (e.g., by bots), relies on block.timestamp. Miners have a degree of control over block.timestamp (they can set it within a certain range, typically up to 900 seconds in the future on Ethereum). This manipulation could potentially allow sophisticated bots or miners to bypass or exploit the transaction delay protection, undermining the anti-bot measures.
Fix
While block.timestamp is commonly used, be aware of its limitations. For more robust time-based security, consider using block.number in conjunction with an estimated block time, or integrate with a decentralized oracle network that provides reliable timestamp data if precise, unmanipulable time is critical. For simple delays, block.timestamp is often acceptable, but the risk should be acknowledged.
Status
Unresolved
LowLack of Event Emission for Critical State Changes
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). Several critical administrative functions, such as setLimit, removeAllLimits, changeTax, and addExcludedWallet, do not emit corresponding events upon execution. While the state changes occur on-chain, the absence of events makes it difficult for off-chain applications, block explorers, and users to monitor these significant administrative actions. This reduces transparency and auditability of the contract's operational history.
Fix
Emit specific events for all functions that modify critical contract state. For example, event TaxChanged(uint256 newBuyTax, uint256 newSellTax) or event WalletExcluded(address indexed wallet, bool isExcluded). This enhances transparency and allows for easier monitoring and auditing of administrative actions.
Status
Unresolved
InfoHardcoded Uniswap Router Address
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 Uniswap V2 Router address () is hardcoded in the contract's constructor. While this is a common practice for well-established protocols, it means that if the Uniswap router address ever changes (e.g., due to an upgrade or migration) or if the project wishes to integrate with a different DEX, the contract would need to be redeployed. This lacks flexibility.
Fix
Consider making critical external contract addresses configurable by the owner (with appropriate access control and timelocks) or through a governance mechanism. This would allow for greater flexibility in adapting to ecosystem changes without requiring a full contract redeployment.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 15The contract's technical architecture (7.1) is a standard ERC-20 with added tax and anti-bot logic. Code security (7.2) is compromised by a critical reentrancy vulnerability in the _transfer function's swap logic, where the inSwapAndLiquify flag is not reset, effectively blocking future swaps. Access control (7.3) is correctly implemented using onlyOwner for administrative functions, but the reliance on block.timestamp for transaction delays (7.2) introduces a potential for miner manipulation. External interactions (7.6) with Uniswap V2 are present, but the truncated code snippet prevents a full review of amountOutMin parameter usage, which could lead to slippage.
The economic model (7.4) includes buy/sell taxes and anti-whale/anti-bot limits. However, the governance model (7.5) is highly centralized, with the owner having extensive control over these parameters, including the ability to change taxes, set transaction limits, and exclude wallets from fees. This introduces significant trust assumptions and potential for economic manipulation. For example, the owner can change buyTax and sellTax at any time, which could be abused. The marketingWallet is immutable, which is a good practice for fixed destinations.
The SpectreAI contract is not designed as an upgradeable proxy contract (7.7). It is a standard, non-upgradeable implementation. Therefore, there are no upgrade-related risks or concerns.
Address the critical reentrancy vulnerability by ensuring the inSwapAndLiquify flag is properly reset after the external swap call.
Implement robust checks for amountOutMin in swap functions to mitigate slippage and sandwich attacks. Enhance transparency by emitting events for all critical state changes, such as tax adjustments and limit modifications. Consider decentralizing control over key parameters or implementing a timelock for sensitive administrative actions to reduce reliance on a single owner.
Contract & Record
Free for any token on the record. It links to this page and always shows the current score and the date it was checked.
- Sep 15, 20260Low
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Would You Like a More Detailed Audit of SPECTRE AI?
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