Quantum Audit Logo
Launch App

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

Is 蝴蝶人生 Safe?

BNB Chain
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 Sep 12, 2026 · 1 audit on record
SummaryAI Copilot

The FlapTaxTokenV3 contract implements an upgradeable ERC20 token with a dynamic tax mechanism and state-based transitions.

Read the full analysis
What raised the score
  • Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
  • LP top1 unlocked holder = 62.9%
  • LP top3 unlocked holders = 100.0%
  • Token age < 30 days
Exact factors
  • Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
  • LP top1 unlocked holder = 62.9% (independent LP — depth risk)
  • LP top3 unlocked holders = 100.0% (independent LP — depth risk)
  • Token age < 30 days (still settling)

How scores are computed

Security Checklist

as of audit · Sep 126 of 7 checks passed
Contract verifiedVerified
OwnershipRenounced
MintNo mint
Liquidity lockNot locked
UpgradeabilityFixed code
HoneypotNone found
Buy / sell tax0% / 0%

Holders

as of audit · Sep 12, 2026
25.3%Contracts4.5%70.2%Everyone else
25.3%Contracts4.5%70.2%Everyone else
ContractsWalletsEveryone elseBubble area = share of supply
29.8%of supply sits with the top 10 holders
  • Contractstreasury, vesting, bridge, staking25.3%
  • Walletsanonymous holders, free to sell4.5%
  • Everyone elsethe rest of the supply70.2%
Effective concentrationwhat the score reads14.6%
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 12, 2026

Liquidity

as of audit · Sep 12$251.6K across 4 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$251.6KShare of depth100.0%
Top-1 Unlocked Holder62.9%
Top-3 Unlocked100.0%
Unlocked LP held by
0x1584…cb020x14e5…be4a

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

Security Findings

3 Medium1 Low2 Info
Medium

Centralized Control by Owner

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 contract grants significant control to the onlyOwner for critical operations such as startMigration and finalizeMigration. While this provides clear administrative control, it introduces a single point of failure. A compromise of the owner's private key could lead to unauthorized manipulation of the token's state and tax mechanisms, potentially causing economic instability or loss of funds.

Fix

Consider implementing a multi-signature wallet for the owner address to distribute control and reduce the risk of a single point of failure. Alternatively, explore transitioning to a more decentralized governance model (e.g., a DAO) for critical protocol decisions, or at least for the most sensitive functions.

Status

Unresolved

Medium

Critical External Dependency Risk

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 contract relies on external ITaxProcessor and IDividend contracts for core tax processing and dividend distribution. The addresses for these contracts are set during initialization and cannot be changed post-deployment. If these external contracts contain vulnerabilities, are malicious, or become unmaintained, they could lead to a denial of service for token transfers (if they revert) or a loss of collected tax funds (if they mismanage or are exploited).

Fix

Thoroughly audit the ITaxProcessor and IDividend contracts to ensure their security and reliability. Consider adding an onlyOwner function to allow updating these critical external addresses in case of an emergency or to facilitate upgrades of these dependencies. Implement circuit breakers or emergency stop functions that can disable or bypass these external calls if they become problematic.

Status

Unresolved

Medium

Reentrancy Vulnerability in _liquidateTax

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 _liquidateTax function, called by _transfer, attempts to prevent reentrancy by setting currentPoolState.notLiquidating = false; before making external calls to ITaxProcessor.processTax and IDividend.distributeDividends. However, currentPoolState is a local memory variable. The updated poolState (storage) is only written *after* these external calls complete. If an external call re-enters _transfer (and subsequently _liquidateTax), the poolState.notLiquidating in storage would still be true from the perspective of the re-entrant call, allowing the liquidation logic to execute again. This could

Fix

Implement a proper reentrancy guard using the Checks-Effects-Interactions pattern. Update the poolState.notLiquidating storage variable *before* any external calls are made. A robust solution would be to use OpenZeppelin's ReentrancyGuard modifier on the _liquidateTax function or ensure the storage variable poolState.notLiquidating is updated to false before any external calls and reverted to true only after all external calls have successfully completed.

Status

Unresolved

Low

Lack of Emergency Pause Mechanism

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 lacks a general emergency pause mechanism (e.g., using OpenZeppelin's Pausable module) that could temporarily halt sensitive operations like token transfers. In the event of a critical bug discovery, a market exploit, or other unforeseen circumstances, the absence of such a mechanism could prevent the team from quickly mitigating damage.

Fix

Integrate OpenZeppelin's PausableUpgradeable contract. This would allow the owner (or a designated role) to pause and unpause transfers and other critical functions, providing a crucial safety net during emergencies.

Status

Unresolved

Info

Immutability of metaURI

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 metaURI variable, which stores the token's metadata URI, is set during initialization and cannot be updated thereafter. While this ensures immutability, it removes the flexibility to change the URI if, for example, the hosting service changes, the link breaks, or the metadata itself needs to be updated.

Fix

If flexibility is desired for future updates, consider adding an onlyOwner function to allow modification of the metaURI. If the immutability is an intentional design choice, ensure this is clearly documented.

Status

Unresolved

Info

Potential for Decreasing liquidationThreshold

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

Issue

Not confirmed by static analysis (the model's own reading of the source). The _liquidateTax function includes logic to decrease the liquidationThreshold by 10% (currentPoolState.liquidationThreshold * 9 / 10) if the taxAmount is less than the current threshold. This mechanism could lead to a continuously decreasing threshold over time if collected tax amounts are frequently low. A very low liquidationThreshold might make it difficult to trigger the desired liquidation behavior, potentially accumulating large amounts of tax that are never processed.

Fix

Review the long-term economic implications of a continuously decreasing liquidationThreshold. Ensure this behavior aligns with the protocol's intended design. Consider implementing a minimum floor for the liquidationThreshold or providing an onlyOwner function to reset or adjust it if it drops to an undesirable level.

Status

Unresolved

Analysis

AI Copilotas of audit · Sep 12
Executive SummaryWhat the contract is and what the review found

The FlapTaxTokenV3 contract implements an upgradeable ERC20 token with a dynamic tax mechanism and state-based transitions. The audit identified a critical reentrancy vulnerability in the tax liquidation logic, which could lead to double processing of tax funds. Additionally, the contract exhibits centralized control by the owner and relies heavily on external, unaudited dependencies, posing significant operational and economic risks. While the use of OpenZeppelin upgradeable contracts provides a solid foundation, the identified issues require immediate attention.

Technical10/10Low risk

The contract leverages OpenZeppelin's upgradeable ERC20, Ownable, and Permit modules, demonstrating a commitment to established standards (7.2 Code Security). The state-based tax mechanism is complex but structured. However, a critical reentrancy vulnerability was identified in the _liquidateTax function, where the reentrancy guard is applied to a local memory variable rather than the storage state, allowing re-entrant calls to bypass the intended protection (7.2 Code Security). This flaw could lead to double spending of collected tax funds or unexpected state manipulation. The reliance on external ITaxProcessor and IDividend contracts introduces further technical risk if these dependencies are not robust (7.6 External).

Governance7/10Low risk

The contract's economic model is centered around a dynamic tax system and liquidation mechanism, with maxSupply being fixed at initialization (7.4 Economic). The _liquidateTax function includes logic to adjust the liquidationThreshold, which could potentially decrease over time, impacting the frequency of tax processing (7.4 Economic). Governance is highly centralized, with the OwnableUpgradeable pattern granting the owner exclusive control over critical state transitions like startMigration and finalizeMigration (7.5 Governance). This single point of control presents a significant risk if the owner's key is compromised, as it could lead to unauthorized changes in the token's operational state.

Upgrades9/10Low risk

The contract is designed as an upgradeable proxy implementation, correctly utilizing OpenZeppelin's Initializable and Upgradeable patterns (7.7 Upgrades). The _disableInitializers() in the constructor and the initializer modifier are correctly implemented, preventing re-initialization. State variables are managed, with PackedPoolState efficiently using a single storage slot. Future upgrades must carefully consider storage layout, especially if new variables are added to PackedPoolState or if the order of existing variables is changed, to avoid storage collisions (7.7 Upgrades).

Final RecommendationWhat to do about this score

Address the critical reentrancy vulnerability in _liquidateTax by implementing a robust reentrancy guard that updates storage state before external calls, or by using OpenZeppelin's ReentrancyGuard modifier.

Enhance security by considering a multi-signature wallet for ownership or implementing a more decentralized governance model to mitigate the risks associated with centralized control. Thoroughly audit all external dependencies (ITaxProcessor, IDividend) and consider adding mechanisms for updating these addresses or implementing emergency circuit breakers. Finally, evaluate the economic implications of the liquidationThreshold adjustment logic and consider adding a minimum floor or owner-controlled reset mechanism.

Contract & Record

1 audit on record
TypeFlapTaxTokenV3
NetworkBNB Chain
Token age20d
Contract0x87ae…7777
Deployer0xc95b…b24b
Badge for your website
蝴蝶人生 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. Sep 12, 20264Low

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

Would You Like a More Detailed Audit of 蝴蝶人生?

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