This audit covers the Stock4TaxToken contract, an ERC-20 token implementation behind a proxy on the BSC network. The contract features a complex fee mechanism for buy/sell operations, distributing fees to founders, holders, burn addresses, and liquidity pools. It utilizes OpenZeppelin libraries for secure ERC-20 operations and includes reentrancy guards for fee dispatching. Key findings highlight centralized control over critical parameters and external dependencies, potential for fee accumulation, and reliance on an external ITokenHelper for core operations. The upgradeability pattern appears standard and secure.

Early-stage security check — honeypot & rug-pull analysis
Is 4Stock 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 →This audit covers the Stock4TaxToken contract, an ERC-20 token implementation behind a proxy on the BSC network.
Read the full analysis- Top-10 concentration > 20%
- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
- Token age < 7 days
Exact factors
- Top-10 concentration > 20% (47.2% total → 21.1% effective; 3.7% in EOAs, 43.5% in contracts — mild)
- 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, staking43.5%
- Walletsanonymous holders, free to sell3.7%
- Everyone elsethe rest of the supply52.8%
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.
0x79ad…24780x8d48…578b0x6229…ae0f0x214a…0b300xba44…ea330xbd7a…d8eb0xa0bf…0efb0x2175…de9c0x770c…4b970x87dc…3658No privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.
Security Findings
MediumPotential for Fee Accumulation and Stagnation
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 dispatchTax function is responsible for distributing accumulated fees to various destinations (founder, holders, burn, liquidity). However, its execution is gated by several conditions, including tokenAccumulated > minDispatch, feeAccumulated > minDispatchQuote, and the availability of tokenHelper. If minDispatch or minDispatchQuote are set too high, or if tokenHelper is not properly configured or becomes unavailable, fees could accumulate indefinitely without being distributed. This could lead to a lack of rewards for holders and an inability to fund other protocol functions (7.4 Economic).
Fix
Review and carefully set minDispatch and minDispatchQuote to ensure they are economically viable for frequent dispatching. Implement a mechanism for the tokenModule to manually trigger dispatching or adjust these minimums if automatic dispatching stalls. Consider adding a fallback mechanism for fee distribution if tokenHelper becomes unresponsive.
Status
Unresolved
MediumHeavy Reliance on External ITokenHelper for Core Operations
Not confirmed by static analysis (the model's own reading of the source).M-02
ITokenHelper for Core OperationsIssue
Not confirmed by static analysis (the model's own reading of the source). The Stock4TaxToken contract delegates crucial functionalities related to liquidity management and token swaps (e.g., addLiquidity, swapForQuote, swapForToken, swapForETH) to an external ITokenHelper contract. The address of this tokenHelper is configurable by the tokenModule. A compromise or malicious behavior of the ITokenHelper contract could directly impact the token's economic stability, potentially leading to fund loss, price manipulation, or disruption of the fee distribution mechanism. The security of Stock4TaxToken is thus highly dependent on the security and trustworthiness of `ITokenHelper
Fix
Conduct a thorough audit of the ITokenHelper contract. Ensure that the tokenHelper address is set to a verified, immutable, and audited contract. Implement robust monitoring for the tokenHelper contract's behavior. Consider adding circuit breakers or emergency pause mechanisms if the tokenHelper exhibits suspicious activity.
Status
Unresolved
MediumCentralized Control over Critical Parameters and External Contracts
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 tokenModule (likely an admin role) possesses significant control over the contract's operation. It can configure critical external dependencies such as wrappedNative, quote, shareHolderManager, tokenHelper, and lpV2Manager via the postInitialize function. Additionally, the shareHolderManager contract, once set, has the power to blacklist users, preventing them from transferring tokens. This level of centralized control introduces a single point of failure and a high trust assumption on the tokenModule and shareHolderManager addresses (7.3 Access Control, 7.6 External).
Fix
Implement a multi-signature wallet for the tokenModule address and any other privileged roles. Consider time-locks for critical parameter changes to allow users to react to impending modifications. Clearly document the roles and responsibilities of each privileged address.
Status
Unresolved
LowIncomplete Event Emission for Critical Parameter 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). The initialize function sets several critical economic parameters such as buyFeeRate, sellFeeRate, rateFounder, rateHolder, rateBurn, rateLiquidity, minDispatch, minDispatchQuote, and minShare. While LPV2ManagerConfigured is emitted in postInitialize, there are no corresponding events emitted when these core economic parameters are initially set or if they were to be changed in a future upgrade. This lack of event emission hinders off-chain monitoring, transparency, and the ability for users and external systems to track the token's economic model effectively (7.8 Operations).
Fix
Emit explicit events for all critical parameters set during initialize and postInitialize. If any of these parameters are made mutable in future upgrades, ensure that corresponding events are emitted upon each modification.
Status
Unresolved
LowDefault founder to creator in _decodeOrDefault
Not confirmed by static analysis (the model's own reading of the source).L-02
founder to creator in _decodeOrDefaultIssue
Not confirmed by static analysis (the model's own reading of the source). The _decodeOrDefault function, used during initialization, sets the founder address to the creator (which is msg.sender of the initialize call, typically the tokenModule or deployer) if p.founder is address(0) in the provided TaxTokenParams. While this might be intended, it means the tokenModule automatically becomes a recipient of a portion of the fees if a specific founder is not explicitly set. This could lead to an unintended distribution of funds if the tokenModule is not the intended long-term founder or if the creator address is a temporary deployment wallet (7.2 Code Security).
Fix
Explicitly require p.founder to be a non-zero address in TaxTokenParams to prevent accidental assignment to the creator. Alternatively, clearly document this default behavior and ensure the creator address is appropriately managed if it's intended to receive founder fees.
Status
Unresolved
InfoRedundant quote parameter in postInitialize
Not confirmed by static analysis (the model's own reading of the source).I-01
quote parameter in postInitializeIssue
Not confirmed by static analysis (the model's own reading of the source). The quote state variable is initialized in the initialize function using c.quoteAsset. Subsequently, the postInitialize function also takes an address quote_ parameter and assigns it to the quote state variable, effectively overwriting the value set during the main initialization. While this might be intentional to allow for a two-step configuration, it introduces redundancy and could be a source of confusion or potential misconfiguration if the two values are intended to be different or if the quote_ parameter in postInitialize is accidentally set incorrectly (7.2 Code Security).
Fix
Clarify the intended purpose of setting quote in both initialize and postInitialize. If postInitialize is meant to finalize this value, ensure clear documentation. If it's truly redundant, remove the quote_ parameter from postInitialize and rely solely on the value set in initialize.
Status
Unresolved
InfoPotential Reentrancy in _transfer (Truncated Code)
Not confirmed by static analysis (the model's own reading of the source).I-02
_transfer (Truncated Code)Issue
Not confirmed by static analysis (the model's own reading of the source). The provided _transfer function snippet is truncated, preventing a full security analysis. However, in fee-on-transfer tokens, _transfer often involves complex logic, including calculating and distributing fees, which may entail external calls (e.g., to swap fees, add liquidity). If these external calls are made before critical state updates or without robust reentrancy guards, the contract could be vulnerable to reentrancy attacks. While swapping and dispatchingFee flags are present elsewhere, their application and effectiveness within the full _transfer logic cannot be confirmed (7.2 Code Security).
Fix
A complete review of the _transfer function and any related fee-handling logic is crucial. Ensure strict adherence to the Checks-Effects-Interactions pattern. All state changes must be finalized before any external calls are made. Confirm that all functions involving external calls or sensitive state modifications are protected by appropriate reentrancy guards, such as swapping or dispatchingFee, and that these guards are correctly implemented and scoped.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 12The contract demonstrates good technical practices, including the use of OpenZeppelin's SafeERC20 for secure token transfers and explicit reentrancy guards (swapping, dispatchingFee) for sensitive operations (7.2 Code Security). However, the contract's heavy reliance on external interfaces like ITokenHelper for liquidity and swap operations introduces significant external dependency risk (7.6 External). The truncated _transfer function also raises concerns about potential reentrancy if not fully protected (7.2 Code Security).
The token's economic model involves a detailed fee distribution mechanism, including founder, holder, burn, and liquidity rates, which are set during initialization (7.4 Economic). However, the tokenModule (likely an admin) holds significant centralized control over critical parameters and external contract addresses, posing a high trust assumption (7.3 Access Control). There is also a potential for fees to accumulate and stagnate if dispatching conditions are not met, impacting holder rewards (7.4 Economic). The shareHolderManager can blacklist users, introducing a censorship risk (7.5 Governance).
The contract is designed as an upgradeable proxy implementation, using the initializer modifier for one-time setup, which is a standard and secure pattern for UUPS proxies (7.7 Upgrades). The __OpenFourToken_init function ensures proper initialization of the base contract. This setup allows for future logic upgrades without migrating user funds, provided the upgrade process itself is managed securely.
To enhance the security and resilience of the Stock4TaxToken protocol, it is strongly recommended to decentralize control over critical parameters and external contract configurations where feasible, potentially through multi-signature governance or time-locked operations.
A comprehensive audit of all external dependencies, especially ITokenHelper, is crucial to mitigate risks associated with third-party contracts. Furthermore, ensure that all critical state changes and parameter modifications are accompanied by explicit event emissions for improved transparency and off-chain monitoring.
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, 20261Low
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Frequently Asked Questions
What is the 4STOCK contract address?
The 4Stock contract on BNB Chain is 0xd270d4e1ec6e6e0d28c0ecb8be966ec75997ffff. Compare it with the address the project itself publishes before trading: other contracts can carry the same name and ticker.
Is 4Stock a scam?
Quantum Audit's risk score for 4Stock is 1/100 (Low risk) as of Sep 12, 2026, computed by a deterministic function from on-chain facts — Contract verified: Verified; Ownership: Renounced; Mint: No mint; Liquidity lock: Not locked; Upgradeability: Fixed code; Honeypot: None found; Buy / sell tax: 0% / 0%. A score is a dated snapshot of those facts, not a guarantee; each one is listed on this page.
Is 4STOCK liquidity locked?
Liquidity lock: Not locked (as of Sep 12, 2026). Total DEX liquidity: $2.11M.
Who holds 4STOCK?
As of Sep 12, 2026, the 10 largest holders own 47.2% of the supply. The Holders section on this page shows who they are by holder type.
Would You Like a More Detailed Audit of 4Stock?
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