The FlapTaxTokenV3 contract is an upgradeable ERC20 token incorporating a dynamic tax mechanism and a multi-stage migration process. It leverages OpenZeppelin's upgradeable contracts for core functionalities and access control. The audit identified a potential reentrancy vulnerability in the tax liquidation logic, centralized control by the owner over critical state transitions, and susceptibility to MEV for time-dependent state changes. The contract demonstrates good code quality and adherence to upgradeability patterns, but requires careful review of external interactions and owner privileges.

Early-stage security check — honeypot & rug-pull analysis
Is BUDDY - First Crypto Dog 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 is an upgradeable ERC20 token incorporating a dynamic tax mechanism and a multi-stage migration process.
Read the full analysis- Top-10 concentration > 20%
- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
- LP top1 unlocked holder = 100.0%
- LP top3 unlocked holders = 100.0%
- Token age < 24h
Exact factors
- Top-10 concentration > 20% (31.4% total → 23.3% effective; 17.9% in EOAs, 13.5% in contracts — mild)
- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
- LP top1 unlocked holder = 100.0% (independent LP — depth risk)
- LP top3 unlocked holders = 100.0% (independent LP — depth risk)
- Token age < 24h (brand new — bot activity, unproven)
Security Checklist
as of audit · Sep 12Holders
as of audit · Sep 12, 2026- Contractstreasury, vesting, bridge, staking13.5%
- Walletsanonymous holders, free to sell17.9%
- Everyone elsethe rest of the supply68.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 12The LP tokens of the analysed pool are not locked or burned, so whoever holds them can withdraw that liquidity.
0x4589…e108No privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.
Security Findings
MediumCentralized 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 inherits OwnableUpgradeable, granting a single owner address exclusive control over critical functions such as startMigration and finalizeMigration. These functions significantly alter the token's tax and transfer mechanics, moving it through different PoolStates. This centralization introduces a single point of failure, where a compromised owner key or a malicious owner could unilaterally change the token's behavior, potentially leading to economic instability or loss of user trust.
Fix
Consider implementing a multi-signature wallet (e.g., Gnosis Safe) for the owner address to distribute control and reduce the risk of a single point of failure. For highly sensitive operations like state migrations, introduce a time-lock mechanism to allow users sufficient time to react to impending changes.
Status
Unresolved
MediumTime-Dependent State Changes Susceptible to MEV
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 _liquidateTax function modifies the poolState (e.g., from TaxEnforcedAntiFarmer to TaxEnforced or TaxFree) based on block.timestamp exceeding taxExpirationTime or antiFarmerExpirationTime. These time-based state transitions can have significant economic implications for users, as they directly affect tax rates. Malicious miners or sophisticated actors could exploit this by manipulating block timestamps within a small window or front-running transactions to trigger state changes at an opportune moment, potentially gaining an unfair advantage or causing adverse effects for other users.
Fix
While block.timestamp is commonly used, be aware of its manipulability. If precise timing is critical and economic incentives for manipulation are high, consider alternative time sources (e.g., Chainlink Keepers or Oracles for time-based events) or implement a grace period after a state change is triggered to allow users to react, reducing the immediate impact of MEV.
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 on every _transfer and is likely to perform external calls (e.g., to ITaxProcessor, IDividend, or a DEX via v2Router) to process collected taxes. The provided snippet shows a check for currentPoolState.notLiquidating, but it does not show how this flag is set to false at the beginning of the liquidation process and true at the end. If external calls are made before state updates or without a proper reentrancy guard, a malicious external contract could re-enter the _transfer or _liquidateTax function, potentially draining funds or manipulating contract state.
Fix
Implement a robust reentrancy guard (e.g., OpenZeppelin's ReentrancyGuard or a custom mutex flag) around the _liquidateTax function, specifically covering any external calls. Ensure the notLiquidating flag is correctly managed: set to false at the very beginning of the liquidation logic and reset to true only after all external calls and state updates are complete.
Status
Unresolved
LowLack of Setter Functions for Critical External Contracts
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 external contract addresses, including taxProcessor, dividendContract, v2Router, quoteToken, mainPool, and the pools mapping, are set only during the initialize function. While this ensures immutability after deployment, it also means that if any of these external dependencies need to be updated (e.g., due to a bug, a migration, or a strategic change), the entire FlapTaxTokenV3 contract would require an upgrade. This reduces operational flexibility and increases the overhead for necessary updates.
Fix
For external contract addresses that may require updates over the contract's lifetime, consider implementing owner-only setter functions. These setters should include appropriate access control, zero-address checks, and potentially a time-lock mechanism to provide transparency and a grace period before changes take effect.
Status
Unresolved
InfoMissing _authorizeUpgrade for UUPS Proxy Pattern
Not confirmed by static analysis (the model's own reading of the source).I-01
_authorizeUpgrade for UUPS Proxy PatternIssue
Not confirmed by static analysis (the model's own reading of the source). The contract is an implementation behind a proxy and utilizes OpenZeppelin's Upgradeable contracts. If the proxy follows the UUPS (Universal Upgradeable Proxy Standard) pattern, the implementation contract is responsible for authorizing upgrades via an _authorizeUpgrade function. This function is not present in the provided snippet. Without it, the upgradeability mechanism might either be insecure (if the proxy allows anyone to upgrade) or not fully compliant with the UUPS standard, potentially leading to unexpected upgrade behavior or security risks.
Fix
Verify the exact proxy pattern used. If it is UUPS, ensure that the full implementation contract includes a properly secured _authorizeUpgrade function, typically restricting upgrade calls to the contract owner or a designated governance mechanism. If a different proxy pattern (e.g., Transparent Proxy) is used, confirm that the proxy admin's upgrade authority is adequately secured.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 12The contract utilizes OpenZeppelin's upgradeable ERC20, Ownable, and Permit modules, demonstrating a robust architectural foundation (7.1). Code quality is generally high, with proper use of SafeERC20 and gas-efficient PackedPoolState struct (7.2). However, the _liquidateTax function, called on every transfer, presents a potential reentrancy vulnerability if it makes external calls before updating its notLiquidating state (7.2). Additionally, state changes based on block.timestamp in _liquidateTax are susceptible to miner extractable value (MEV) (7.2). Access control (7.3) is managed by OwnableUpgradeable, centralizing significant power.
The economic model revolves around a dynamic tax mechanism that changes based on the poolState (7.4). The owner has significant centralized control (7.5) over the contract's lifecycle, including initiating and finalizing migration phases that alter tax enforcement. While the tax calculation logic appears sound, the owner's ability to transition states without a multi-signature or time-lock mechanism introduces a single point of failure. External interactions (7.6) with ITaxProcessor, IDividend, and v2Router are critical dependencies.
The contract is designed as an upgradeable implementation using OpenZeppelin's Initializable and Upgradeable patterns (7.7). The constructor correctly calls _disableInitializers(), and the initialize function uses the initializer modifier. However, if the proxy uses the UUPS pattern, the implementation contract would typically require an _authorizeUpgrade function, which is not present in the provided snippet, potentially leaving the upgrade mechanism insecure or non-compliant (7.7). State variables are defined appropriately for upgradeability.
Thoroughly review the complete _liquidateTax function, especially any external calls to ITaxProcessor, IDividend, or v2Router, to ensure robust reentrancy protection.
Implement a reentrancy guard (e.g., nonReentrant or a mutex flag) around any external calls that modify state. Consider decentralizing critical owner functions through a multi-signature wallet or a time-lock contract to mitigate centralized control risks. Evaluate the impact of MEV on time-dependent state changes and explore alternative mechanisms if the risk is deemed too high. Ensure that the upgrade mechanism, particularly _authorizeUpgrade for UUPS proxies, is correctly implemented and secured.
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, 202618Low
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Would You Like a More Detailed Audit of BUDDY - First Crypto Dog?
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