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
| Item | Details |
|---|---|
| Client | Flayer Labs |
| Protocol | Flaunch v3 |
| Report / quote reference | 007 |
| Prepared by | Hooks.wtf |
| Repository | flayerlabs/flaunch-v3-protocol |
| Reviewed commit | 38f14ff816697db48de056d62066a63dc61c0713 |
| Quote baseline | 13 November 2026, at the same commit |
| Source review date | 25 November 2026 |
| Coverage | Protocol 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.
| Area | Review focus |
|---|---|
| Launches and ownership | Token creation and clone initialisation, supply allocation, launch NFT ownership and burns, paired-token permissions, pool registration and launch restrictions. |
| Trading and settlement | Hook permissions and caller validation, PoolManager callbacks, swap fee deltas, internal JIT liquidity, price manipulation, rounding and native/ERC20 settlement. |
| Royalties, escrow and staking | Multi-currency fee conservation, protocol shares, recipient isolation and retries, payout gas limits, escrow claims, staking checkpoints and reward entitlements. |
| Recipient factory and strategies | Version registration, clone configuration and reuse, deployment context, NFT owner changes, buy-and-burn liquidity and protection of funds across launches. |
| Index fund and dividends | Graduation and tier allocations, operator permissions, liquidity placement, harvesting and compounding, principal accounting, holding-time dividends and epoch claims. |
| Zaps and signed authorisations | Atomic 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.
| Severity | Count | Main concerns |
|---|---|---|
| High | 1 | Queued fee inventory can be bought at an attacker-chosen price for dust. |
| Medium | 8 | Locked revenue, unbounded operator quotes, reward timing, price manipulation, launch availability and settlement dependencies. |
| Low | 11 | Launch gates, payout behavior, price orientation, signature scope, dividend edge cases and ownership recovery. |
Four findings deserve attention before deployment:
- B-01: adding dust liquidity bypasses the previous internal swap pool fix and exposes queued fees across a launch's pairs.
- B-02: an ERC20-only launch can permanently lose its Buy-and-Burn share of graduated ETH revenue.
- B-04: one graduation operator can place a launch's entire index allocation where it sells for wei.
- 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.
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.