Introduction
Dices Launchpad Security Review
This report presents the 25 November 2026 internal, tool-assisted review of the Dices launchpad at commit bcd45b2. It covers the launchpad contracts in src/ and the V001 deployment script.
Summary of findings
The review confirmed 22 findings: 4 Medium, 4 Low, 1 Undetermined and 13 Informational. It checked and rejected eight further candidates. There are no Critical or High findings in the consolidated report.
| Severity | Count | Main concerns |
|---|---|---|
| Medium | 4 | Permanently broken pools from zero creators, unreachable game levels, unbounded owner controls and manipulation of queued fee conversions. |
| Low | 4 | Mainnet ownership defaults, launch-block router exemptions, malformed calculator returns and inconsistent fee splits after calculator replacement. |
| Undetermined | 1 | The intended fee, reserve and sealed-game model requires client confirmation. |
| Informational | 13 | Callback gas, settlement dependencies, token behavior, unused code, documentation, events, testing and known design limits. |
DICES-05 is the confirmed path for an unprivileged caller to leave with USDC: after a single 30,000 USDC buy, a contract starting with no coins, USDC or approvals received 470.38 USDC in the recorded test. The opportunity depends on a large buy leaving queued fees and is bounded by that buy's fee inventory.
The review found no path to remove the locked launch liquidity, take another user's coins or take credits from the escrow. This describes the reviewed snapshot and the tests recorded in the source report; it is not a guarantee about all possible behavior or later code.
Findings by contract
Each finding retains its original DICES identifier and final severity. Its complete write-up lives on one contract page; other affected contract pages link to it under shared findings. The table counts every confirmed finding once.
Review details
| Item | Details |
|---|---|
| Protocol | Dices launchpad |
| Repository | Dices-Tech/launchpad-evm-tokens |
| Reviewed commit | bcd45b2eea7b67477797df599443e2e8ae018f88 on main |
| Source review date | 25 November 2026 |
| Source reviewer | Claude Code, using Trail of Bits and Uniswap review skills |
| Scope | Launchpad core in src/, plus script/deployment/V001.s.sol |
| Remediation status | The supplied review does not include a subsequent review of fixes. |
Contract scope
The documentation is organised by affected implementation contract, library or deployment script. Interfaces and tests support the analysis where needed to establish behavior.
| Module | Review focus |
|---|---|
| DicesHook.sol | Launch validation, locked liquidity, callbacks, fee collection, owner controls and level synchronisation. |
| DicesCoin.sol | Clone initialisation, holder counting, token supply, burns and Permit2 allowances. |
| InternalSwapPool.sol | Queued fee inventory, conversion pricing, temporary liquidity and settlement. |
| FeeEscrow.sol | Beneficiary validation, fully funded credits, claims and monitoring. |
| TrustedRouters.sol | Router trust, caller attribution and inherited ownership. |
| FeeCalculator.sol | Launch price, rates, fee distribution and agreement with the brief. |
| LiveCalculator.sol | Rolling price averages, holder floors, market-cap targets and game levels. |
| CurrencySettler.sol | Settlement utility selection, reachable branches and comments. |
| UniswapEvents.sol | Event coverage, unused declarations and indexing assumptions. |
| V001.s.sol | Mainnet ownership, recipient validation and router wiring. |
Recommended priorities
- Validate the creator in
createCoinand the buy-and-burn recipient in the constructor (DICES-01). - Confirm the holder requirements and intended fee model with the client (DICES-02, DICES-09).
- Choose a conversion price floor or a USDC buy-fee design before adjusting the conversion machinery (DICES-05).
- Before mainnet, cap fees, validate distributions and levels, require an explicit contract owner and use two-step ownership (DICES-03, DICES-04, DICES-07).
- Decide who may trade in the launch block and make the guard enforce that decision (DICES-06).
- Update the protocol documentation and expand tests around the confirmed failures (DICES-17, DICES-20).
Evidence and review limits
The review notes and evidence describe the method, recorded test results, rejected candidates and reproduction steps. Download the complete source review and Solidity proof-of-concept bundle for the original reports, verification records and test sources.
This is an internal, tool-assisted review, not an independent audit. The original Uniswap skill assessment placed the hook in a tier requiring a professional audit before mainnet. Preparing these pages did not rerun the Solidity tests, make on-chain queries or review a later commit.