TrustNet Score
The TrustNet Score evaluates crypto projects based on audit results, security, KYC verification, and social media presence. This score offers a quick, transparent view of a project's credibility, helping users make informed decisions in the Web3 space.
Real-Time Threat Detection
Real-time threat detection, powered by Cyvers.io,
is currently not
activated
for this project.
This advanced feature provides continuous monitoring and instant alerts to safeguard your assets from potential security threats. Real-time detection enhances your project's security by proactively identifying and mitigating risks.
For more information, click here.
Security Assessments
Summary and Final Words
No crucial issues found
The contract does not contain issues of high or medium criticality. This means that no known vulnerabilities were found in the source code.
Contract owner cannot mint
It is not possible to mint new tokens.
Token transfer can be locked
Owner can lock user funds with owner functions.
Token cannot be burned
There is no burning within the contract without any allowances
Ownership is not renounced
The owner retains significant control, which could potentially be used to modify key contract parameters.
Contract is not upgradeable
The contract does not use proxy patterns or other mechanisms to allow future upgrades. Its behavior is locked in its current state.
Scope of Work
This audit encompasses the evaluation of the files listed below, each verified with a SHA-1 Hash. The team referenced above has provided the necessary files for assessment.
The auditing process consists of the following systematic steps:
- Specification Review: Analyze the provided specifications, source code, and instructions to fully understand the smart contract's size, scope, and functionality.
- Manual Code Examination: Conduct a thorough line-by-line review of the source code to identify potential vulnerabilities and areas for improvement.
- Specification Alignment: Ensure that the code accurately implements the provided specifications and intended functionalities.
- Test Coverage Assessment: Evaluate the extent and effectiveness of test cases in covering the codebase, identifying any gaps in testing.
- Symbolic Execution: Analyze the smart contract to determine how various inputs affect execution paths, identifying potential edge cases and vulnerabilities.
- Best Practices Evaluation: Assess the smart contracts against established industry and academic best practices to enhance efficiency, maintainability, and security.
- Actionable Recommendations: Provide detailed, specific, and actionable steps to secure and optimize the smart contracts.
A file with a different Hash has been intentionally or otherwise modified after the security review. A different Hash may indicate a changed condition or potential vulnerability that was not within the scope of this review.
Final Words
The following provides a concise summary of the audit report, accompanied by insightful comments from the auditor. This overview captures the key findings and observations, offering valuable context and clarity.
Smart Contract Analysis Statement
Contract Analysis
The zkFOL contract implements an ERC20 token with a fixed supply, a fee of up to 4% on buys and sells through its Uniswap pair that is converted to WETH for a treasury address, a one-way trading switch, wallet and transaction limits, and higher fixed fees during the first 15 minutes after trading starts.
Ownership Privileges
The contract has a single owner, set to the deploying account. The contract is deployed on Ethereum at 0x660ef3737cA6Bf60A192b6561b1d246a98Fbe587, and its runtime code matches the audited source; at block 26477566 the owner is a single externally owned account (0x254D9Ba168D7DeAE34C0007B2A148E1b4bC4F1F5). The owner retains the following privileges:
- The owner decides when trading starts. Until then only transfers that involve an address chosen by the owner are possible, so ordinary holders cannot transfer or sell, and renouncing ownership or transferring it to an address nobody controls before trading starts would make this permanent.
- The owner can change the treasury address at any time; the zero address, the token itself, WETH, the router and the pair are rejected.
- The owner can set the buy and sell fees between 0% and 4%, exempt addresses from fees and limits, and change the wallet and transaction limits within floors of 1% and 0.1% of supply.
- The owner can enable or disable the conversion of fees to WETH and set its threshold.
- The owner can withdraw ether and any other token held by the contract, but not zkFOL itself.
- Ownership moves in one step without confirmation by the new owner, and after a transfer or renouncement the former owner keeps its exemptions from fees, limits and the trading switch. Likewise, a former treasury keeps its exemptions from the limits after the treasury is changed.
- The owner cannot mint, burn or move holders' tokens, cannot raise the regular fees above 4%, and cannot switch trading off once it is on.
Security Features
The contract implements the following positive security features:
- The total supply is fixed at deployment and cannot be increased.
- The regular buy and sell fees are capped at 4% in code.
- Wallet-to-wallet transfers are never taxed.
- The wallet and transaction limits cannot be set below 1% and 0.1% of the supply.
- The router and the trading pair are fixed at deployment and cannot be replaced.
- The treasury address is checked at deployment and on every change: the token, WETH, the router, the pair and the zero address are rejected.
Note - This Audit report consists of a security analysis of the zkFOL smart contract. This analysis did not include economic analysis of the contract's tokenomics. Moreover, this statement covers only the zkFOL contract; the Migration and CULT contracts of the project are covered by their own statements, and other contracts associated with the project were not audited by our team. We recommend investors do their own research before investing.
Files and details
Findings and Audit result
high Issues | 1 findings
Resolved
#1 high Issue
Unvalidated treasury change can make every sell revert or pay the fee proceeds to sellers
changeTreasury accepts any non-zero address, although the constructor rejects the router as treasury. The swap-back runs inside every transfer to the pair once the fee balance reaches the threshold, regardless of fee exemptions, and sends its WETH to Treasury, while the Uniswap V2 pair rejects its own tokens as recipient. With Treasury set to WETH or zkFOL, every sell and liquidity add reverts, also for exempt accounts and zkFOL claimed from the Migration, while buys and wallet transfers keep working. With the router as Treasury, the converted fees go to the next seller who sells for ETH through the router. The owner can lift the block with changeTreasury, setSwapEnabled(false) or zero fees; renouncing in that state makes it permanent. Local tests reproduced each case.
medium Issues | 1 findings
Acknowledged
#1 medium Issue
Owner controls when trading starts and can leave holders unable to transfer
Trading starts disabled and only the owner can switch it on with enableTrading. Until then _transfer lets a transfer through only if the sender or the recipient is fee-exempt, so ordinary holders, including everyone who claims zkFOL from the Migration, can neither transfer nor sell, while the owner decides through excludeFromFees who may move tokens. There is no deadline, and renouncing ownership or transferring it to an address nobody controls before enableTrading makes the lock permanent. The switch is one-way, so the power ends for good once trading is enabled. On mainnet, at block 26477566, trading is not yet enabled and the owner is a single externally owned account.
low Issues | 5 findings
Acknowledged
#1 low Issue
Launch window charges 40 percent on first-block buys and 30 percent on sells, including fee-excluded wallets
For 15 minutes after enableTrading, _transfer replaces the configured 4 percent with 40 percent on buys in the enableTrading block, 4 percent on later buys and 30 percent on every sell, and it ignores fee exclusions, so the owner, the liquidity provider and the contract's own swap-back pay the same rates. Liquidity removals count as buys. The rates are hard-coded and the window runs once, but the owner chooses when it starts, and anyone selling in that window loses 30 percent to the treasury. The project scripts describe this as intended.
Acknowledged
#2 low Issue
Swap-back sells without slippage protection
swapAndSendMarketing sells up to 0.1 percent of supply with amountOutMin 0 inside the next transfer to the pair. Because _transfer checks the backlog before adding the current fee, a sell can arm the swap-back without running it, and the next transfer then sells at the price that sell left. In a local test with a pool of 20 percent of supply, a 2 percent sell cut the treasury's WETH from a 0.1 percent swap by 16.7 percent while the trader lost 7.5 percent; a fee-exempt address lost 0.4 percent at the default threshold and gained 0.3 percent at the capped one. A fee-paying trader breaks even between pools of 0.5 and 0.25 percent of supply and gains in shallower ones, where the treasury lost up to 97.5 percent of a swap.
Acknowledged
#3 low Issue
Ownership moves in one step and exemptions stay with the former owner
transferOwnership moves ownership in one step without acceptance, so a mistyped address takes the role for good. The constructor exempts the deploying owner from fees, the trading gate and both limits, and transferOwnership and renounceOwnership change only _owner. The former owner therefore keeps those exemptions, also after renouncing: before trading starts it can still sell into the pool and move tokens while every other holder is locked, and afterwards it trades fee-free and beyond the limits. A new owner, for example a multisig, is not exempt and cannot move its own zkFOL before trading. The first treasury's limit exemptions likewise stay with it after changeTreasury, and the new treasury gets none. Local tests confirmed each effect.
Acknowledged
#4 low Issue
Limits and fees treat liquidity adds and removals as trades
_transfer treats liquidity operations of ordinary providers as trades. An add sends zkFOL to the pair, so it pays the sell fee, 30 percent inside the launch window, is capped by the sell limit and can trigger the swap-back in the middle of the add. A removal pays zkFOL from the pair to the router, so the buy fee, the buy limit and the router's wallet limit apply. Adds and removals above 2 percent of supply revert, and router swaps without fee-on-transfer support revert. In local tests an add lost 4 percent of its zkFOL and received LP tokens only for the rest, and a removal lost 4 percent.
Acknowledged
#5 low Issue
Owner can change fees, limits, exemptions and swap settings within coded bounds
Without delay the owner can set the buy and sell fees between 0 and 4 percent, lower the wallet limit to 1 percent and the transaction limits to 0.1 percent of supply, raise them without an upper bound short of overflow or switch them off, exempt any address from fees and any address except the token itself, whose exemption is fixed, from the limits, and change the swap-back switch and threshold within its bounds. Exempting the pair from fees makes every pool trade fee-free and opens pool trading before launch; exempting it from the wallet limit lifts that limit for every buy. These setters emit events, and ordinary transfers stay possible at every allowed value. Local tests confirmed each bound.
optimization Issues | 1 findings
Acknowledged
#1 optimization Issue
Revert strings and repeated storage reads in the transfer path
_transfer reads the exemption mappings, uniswapV2Pair comparisons and several fee variables more than once per call and uses long revert strings throughout. Caching from, to and exemption flags in local variables, replacing require strings with custom errors and merging _totalFeesOnBuy and _totalFeesOnSell with the treasury fee variables they duplicate would lower the cost of every transfer. This only matters for a future deployment.
informational Issues | 3 findings
Acknowledged
#1 informational Issue
enableTrading changes trading state without an event
enableTrading sets tradingEnabled and swapEnabled to true and records tradingBlock and tradingTime, which start the 15-minute launch-fee window, without emitting any event. Holders and monitoring services can only detect the start of trading and of the high launch fees by reading storage. A local test recorded zero logs for the call, while setSwapEnabled emits SwapEnabledUpdated for the same flag.
Acknowledged
#2 informational Issue
claimStuckTokens ignores return values
claimStuckTokens calls ERC20token.transfer without checking the returned value and ignores the boolean returned by the modified Address.sendValue. A token that returns false is treated as rescued although nothing moved, a token without a return value cannot be rescued at all, and a failed native transfer to a contract owner passes silently. The function cannot touch zkFOL itself and the contract holds no user funds, so only the owner's rescue is affected. Local tests showed all three cases.
Acknowledged
#3 informational Issue
One wei of WETH on the pre-created pair blocks liquidity adds through the router
The constructor creates the Uniswap V2 pair before any liquidity exists. Anyone can send 1 wei of WETH to the empty pair and call sync, which leaves one reserve at 1 wei and the other at 0. From then on the router's liquidity functions revert with UniswapV2Library: INSUFFICIENT_LIQUIDITY, so the first liquidity cannot be added through the router. The owner can still seed the pair by transferring both tokens and calling mint in one transaction; if this takes several transactions, anyone can mint the LP tokens. Migration claims do not touch the pair and keep working. The project's add-liquidity script uses addLiquidityETH, so the scripted launch fails in that case. Local tests on Uniswap V2 reproduced it.