The FlapTaxTokenV3 contract implements an upgradeable ERC20 token with a dynamic tax mechanism and a multi-state pool system. The contract utilizes OpenZeppelin's upgradeable libraries and includes features like anti-farmer duration and tax liquidation. Key strengths include the use of battle-tested libraries, storage packing for gas efficiency, and robust initialization checks. However, potential reentrancy in the truncated _liquidateTax function, reliance on block.timestamp for critical state transitions, and integer truncation risks for packed state variables warrant attention. Centralized owner control over migration functions is also noted.

Early-stage security check — honeypot & rug-pull analysis
Is BEN a Scam?
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 FlapTaxTokenV3 contract implements an upgradeable ERC20 token with a dynamic tax mechanism and a multi-state pool system.
Read the full analysis- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
- Token age < 7 days
Exact factors
- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
- Token age < 7 days (early, volatile)
Security Checklist
as of audit · Sep 12Holders
as of audit · Sep 12, 2026- Contractstreasury, vesting, bridge, staking11.9%
- Walletsanonymous holders, free to sell8.4%
- Everyone elsethe rest of the supply79.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 Sep 12, 2026
Liquidity
as of audit · Sep 12The LP tokens of the analysed pool are not locked or burned, so whoever holds them can withdraw that liquidity.
0x8835…036f0x5004…4d870x64ac…b9200xf92f…4a700x71a0…4e0b0x8e0b…e8380xe980…beb00xf1db…41bd0x4ff4…0c710xed26…cde5No privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.
Security Findings
MediumTimestamp Dependence for Critical State Transitions
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 _liquidateTax function relies on block.timestamp to determine critical state transitions, specifically for taxExpirationTime and antiFarmerExpirationTime. While block.timestamp is suitable for general time-based events, miners can manipulate it within a small window (up to 900 seconds on Ethereum, similar on BSC). This could allow a miner or a sophisticated attacker to slightly accelerate or delay the transition to TaxFree or TaxEnforced states, potentially impacting tax collection or anti-farmer mechanisms in a specific block.
Fix
For highly sensitive time-based events where precise timing is critical, consider using a time-weighted average oracle or a more robust time source if available and suitable for the use case. For less critical events, acknowledge the inherent miner manipulability of block.timestamp and ensure the impact of minor deviations is acceptable. In this context, the impact might be limited but should be understood.
Status
Unresolved
MediumInteger Truncation Risk for Packed State Variables
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 PackedPoolState struct uses smaller integer types (uint64, uint48, uint96) for taxExpirationTime, antiFarmerExpirationTime, and liquidationThreshold respectively. During initialization, initialLiquidationThreshold (a uint256) is cast to uint96 for liquidationThreshold. If START_LIQ_THRESHOLD (which sets initialLiquidationThreshold) is initialized with a value greater than type(uint96).max (approximately 7.9 * 10^28), it will be silently truncated, leading to an incorrect and potentially exploitable liquidationThreshold. While block.timestamp is currently well within uint48 and `u
Fix
Ensure that START_LIQ_THRESHOLD is always initialized with a value that fits within uint96 to prevent silent truncation. Add a require statement in the initialize function to explicitly check `require(params.initialLiquidationThreshold <= type(uint96).max, 'Liquidation threshold too large'); or similar. For time-related variables, consider if uint256` is more appropriate if durations could be exceptionally long, or add checks to ensure sums fit within the packed types.
Status
Unresolved
MediumPotential Reentrancy in _liquidateTax Function
Not confirmed by static analysis (the model's own reading of the source).M-03
_liquidateTax FunctionIssue
Not confirmed by static analysis (the model's own reading of the source). The _liquidateTax function is called within the _transfer function. While the provided code is truncated, the presence of ITaxProcessor and IDividend interfaces strongly suggests that _liquidateTax will make external calls to these contracts. If these external calls are made before critical state updates (e.g., updating poolState or balanceOf(address(this))) or without proper reentrancy guards, a malicious external contract could re-enter _transfer or _liquidateTax to drain funds or manipulate the contract's state. This is a common vulnerability pattern in contracts interacting with external addresses
Fix
Implement a reentrancy guard (e.g., OpenZeppelin's ReentrancyGuard or a custom mutex) on the _liquidateTax function and any other functions that make external calls and modify state. Ensure that all state changes related to the external call are completed before the call is made (Checks-Effects-Interactions pattern).
Status
Unresolved
LowCentralized Control Over Migration Functions
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 startMigration and finalizeMigration functions are protected by the onlyOwner modifier. This grants the contract owner exclusive control over initiating and completing the migration process, which involves critical state changes. While common for administrative functions, this centralization introduces a single point of failure. If the owner's private key is compromised, an attacker could manipulate the contract's state transitions related to migration.
Fix
For critical administrative functions, consider implementing a multi-signature wallet (e.g., Gnosis Safe) as the contract owner. This distributes control and requires multiple approvals for sensitive operations, significantly reducing the risk associated with a single compromised key. Alternatively, implement a time-lock mechanism for these functions to provide a window for users to react to pending changes.
Status
Unresolved
InfoInitial Token Distribution to Deployer
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). During the initialize function, the entire maxSupply of tokens is minted to msg.sender (the deployer of the proxy contract). This means that initially, all tokens are held by a single address. While this is a common pattern for initial token distribution, it implies that the deployer has full control over the initial supply and subsequent distribution.
Fix
This is an informational finding and not a vulnerability in itself. However, it is important for transparency and to ensure that the project's token distribution strategy is clearly communicated to the community. If not already planned, consider a clear and secure strategy for distributing these tokens to avoid centralization concerns or potential market manipulation.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 12The contract demonstrates good technical practices, leveraging OpenZeppelin's upgradeable ERC20 and Ownable implementations (7.2 Code Security). The PackedPoolState struct uses efficient storage packing, and initial parameter checks are robust (7.1 Architecture). However, the _liquidateTax function, which is called within _transfer, appears to involve external calls to ITaxProcessor and IDividend (based on interfaces), presenting a potential reentrancy vulnerability if not properly guarded (7.2 Code Security, 7.6 External). Additionally, critical state transitions rely on block.timestamp, which can be subject to minor miner manipulation (7.2 Code Security). Integer truncation risks exist when casting uint256 values to smaller types like uint96 for liquidationThreshold during initialization (7.2 Code Security).
The economic model incorporates dynamic tax rates and anti-farmer mechanisms, with checks like taxDuration >= antiFarmerDuration ensuring logical consistency (7.4 Economic). The maxSupply is fixed and minted entirely to the deployer during initialization, which is a common but notable initial distribution strategy (7.4 Economic). Access control for critical state changes, such as startMigration and finalizeMigration, is restricted to the contract owner (7.3 Access Control, 7.5 Governance). This centralization introduces a single point of failure, where a compromised owner key could lead to unauthorized state transitions (7.5 Governance).
The contract correctly implements the UUPS proxy pattern using OpenZeppelin's Initializable and Upgradeable contracts, including _disableInitializers() in the constructor and the initializer modifier (7.7 Upgrades). Immutable and constant variables are handled appropriately, preventing modification in future upgrades. A minor concern is the PackedPoolState struct; while efficient, any future changes to its layout in an upgrade would require careful management (e.g., using _gap variables) to avoid storage collisions, a standard consideration for upgradeable contracts (7.7 Upgrades).
It is recommended to implement reentrancy guards (e.g., ReentrancyGuard) for any external calls made within the _liquidateTax function to prevent potential fund manipulation.
Review the initialization parameters for START_LIQ_THRESHOLD to ensure it does not exceed the uint96 maximum, preventing silent truncation. Consider the implications of block.timestamp reliance for critical state changes and evaluate if a more robust time-based mechanism or a multi-signature wallet for owner functions would enhance security.
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 12, 20260Low
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Would You Like a More Detailed Audit of BEN?
This token is brand new. Run a deeper AI-powered analysis of the contract code — free and instant.
Get Detailed Audit Is this your token? Add your links and get it Verified