Hooks.wtf

Introduction

Flaunch v3 Security Review

This is the smart contract security review of Flaunch v3 for Flayer Labs, prepared by Hooks.wtf under reference 007. It covers the new protocol codebase at the commit reviewed on 25 November 2026.

The review considers each module in isolation and the complete asset and permission flows between them. Its scope includes token launches, Uniswap v4 hooks and liquidity, royalty distribution, recipient strategies and escrow, staking rewards, the index fund and dividends, fee calculators, and launch and swap zaps.

Client and review details

ItemDetails
ClientFlayer Labs
ProtocolFlaunch v3
Report / quote reference007
Prepared byHooks.wtf
Repositoryflayerlabs/flaunch-v3-protocol
Reviewed commit38f14ff816697db48de056d62066a63dc61c0713
Quote baseline13 November 2026, at the same commit
Source review date25 November 2026
CoverageProtocol implementation contracts, libraries and their integrations

The findings describe the reviewed commit. The supplied review does not include a subsequent remediation review, so the recommendations below should be checked against a consolidated set of fixes before they are marked resolved.

Review scope

The contract scope follows the 28 implementation and library files listed in quote 007. Interfaces, tests and dependency code support the analysis where needed to establish how the protocol behaves.

AreaReview focus
Launches and ownershipToken creation and clone initialisation, supply allocation, launch NFT ownership and burns, paired-token permissions, pool registration and launch restrictions.
Trading and settlementHook permissions and caller validation, PoolManager callbacks, swap fee deltas, internal JIT liquidity, price manipulation, rounding and native/ERC20 settlement.
Royalties, escrow and stakingMulti-currency fee conservation, protocol shares, recipient isolation and retries, payout gas limits, escrow claims, staking checkpoints and reward entitlements.
Recipient factory and strategiesVersion registration, clone configuration and reuse, deployment context, NFT owner changes, buy-and-burn liquidity and protection of funds across launches.
Index fund and dividendsGraduation and tier allocations, operator permissions, liquidity placement, harvesting and compounding, principal accounting, holding-time dividends and epoch claims.
Zaps and signed authorisationsAtomic launches, prebuys, slippage, deadlines, refunds, original caller identity, EIP-712 signature context, nonce consumption and replay protection.

The review notes explain the method, evidence and limits of the contract review.

Summary of findings

There are 20 smart contract findings: 1 High, 8 Medium and 11 Low. Findings are grouped by affected contract, with the original B-series identifiers retained for traceability. Shared findings link to one full write-up and are counted once.

SeverityCountMain concerns
High1Queued fee inventory can be bought at an attacker-chosen price for dust.
Medium8Locked revenue, unbounded operator quotes, reward timing, price manipulation, launch availability and settlement dependencies.
Low11Launch gates, payout behavior, price orientation, signature scope, dividend edge cases and ownership recovery.

Four findings deserve attention before deployment:

  1. B-01: adding dust liquidity bypasses the previous internal swap pool fix and exposes queued fees across a launch's pairs.
  2. B-02: an ERC20-only launch can permanently lose its Buy-and-Burn share of graduated ETH revenue.
  3. B-04: one graduation operator can place a launch's entire index allocation where it sells for wei.
  4. B-16: buys through routers that settle after the swap can fail when PoolManager cannot fund the internal swap pool's proceeds.

The review did not identify a path for an unprivileged caller to take user principal held in a pool or escrow. It did identify ways to extract fee revenue, lock project income and prevent normal operations. Some findings depend on a privileged role, a particular recipient route or an external token's behavior; those conditions are stated on each finding's page.

IDSeverityContractFinding
B-01HighInternalSwapPool.solInternal swap pool inventory can be bought for dust
B-02MediumBuyAndBurnRecipient.solGraduated ETH revenue is locked for Buy-and-Burn routes without an ETH pair
B-04MediumIndexFund.solOne operator key can sell a launch's index allocation for dust
B-05MediumTrustedSignerFeeCalculator.solAn unbounded trusted window makes the signer a permanent gatekeeper of sells
B-06MediumStakingRecipient.solA one-block stake captures fees accrued before it was deposited
B-07MediumBuyAndBurnRecipient.solA price push held across one block extracts the Buy-and-Burn budget
B-08MediumFlaunch.solAny launch invalidates every nonce-pinned launch in flight
B-10MediumFlaunchPool.solAn issuer freeze can halt trading in a currency across every launch
B-16MediumInternalSwapPool.solBuys can revert when PoolManager cannot fund internal-swap proceeds
B-03LowFlaunchPool.solThe launch-block gate can be bypassed through TrustedSignerZap
B-12LowFeeDistribution.solDistribution cannot complete for launches with many currencies
B-13LowFeeDistribution.solA successful distribution can skip every payout when gas is too low
B-14LowFlaunch.solUnpinned ERC20 launches can open at the reciprocal price
B-15LowFeeDistribution.solThe NFT owner can redirect an unallocated royalty backlog
B-17LowLaunchZap.solA 1 wei donation can block LaunchZap callers that cannot receive ETH
B-18LowTrustedSignerFeeCalculator.solSwap authorisations bind neither direction nor amount
B-19LowIndexToken.solA dust holder can capture dividends rolled over from an empty day
B-20LowIndexToken.solDividends accrue to contracts that cannot claim them
B-21LowFlaunchOwnerRecipient.solOwner recipients credit whoever holds the NFT at distribution
B-24LowFeeDistribution.solSingle-step ownership and renunciation can permanently freeze payouts

Evidence and follow-up

Each contract page groups its findings with their impact, affected code at the reviewed commit, reproduction details and recommended solutions. The Solidity evidence bundle contains the reference tests and the source review's recorded test output. The review notes explain how to run them.

The source review was tool-assisted and does not constitute an independent human audit. Its test results and Base observations are retained as dated evidence. This report reorganises that material into the established finding format; it does not claim a fresh execution of the protocol tests or a new review of later code.