Introduction
Review notes and evidence
This report reorganises the 25 November 2026 internal review of the Dices launchpad at commit bcd45b2. Final finding IDs and severities follow the consolidated source findings, rather than the individual skill reports' local scales.
Scope and method
The source review covered every file in src/ and the deployment wiring in script/deployment/V001.s.sol. Dependencies were read where project code relied on their behavior. Later casino, rewards, bridge, forwarder and treasury phases were out of scope.
The original reviewer recorded a baseline build and test run, Slither analysis, four per-function context reviews, five separate skill reviews and a false-positive check of all 30 candidates. A separate verifier examined DICES-05 without the lead reviewer's tests and established its zero-capital form. These are descriptions of the supplied review, not new review work performed while mapping the documentation.
| Recorded measure | Result |
|---|---|
| Baseline tests | 127 passing tests in 14 suites; CI enforces 100% coverage of src/. |
| Original proof-of-concept run | 18 passing tests, including controls and a rejected gas-starvation candidate. |
| Independent DICES-05 verification | 11 passing tests, re-run by the original lead reviewer. |
| Static analysis | Slither 0.11.5: 95 results from 101 detectors; triaged as no exploitable result, two valid optimisations and one valid zero check. |
| Token conformance | DicesCoin passed the recorded slither-check-erc run. |
| Hook bytecode | 23,077 bytes, leaving 1,499 bytes below the deployment size limit. |
| Code maturity | 1.7 / 4.0, with documentation, governance and transaction ordering among the weak areas. |
| Uniswap skill risk score | 19 / 33 under its main weighting; professional audit required. An alternative weighting gave 27. |
The 18 and 11 proof-of-concept tests include measurements and negative controls. They are not additional findings. Their source and output are preserved in poc-tests.md and poc-tests-verify05.md.
Severity and counting
Severity reflects impact on users and the protocol; difficulty describes what an attacker needs. The final consolidated ratings are 4 Medium, 4 Low, 1 Undetermined and 13 Informational. Shared findings are counted once, regardless of the number of affected contracts.
DICES-09 remains Undetermined because the repository cannot establish whether the client agreed to the implemented fee and reserve model. The individual spec review's higher compliance ratings do not override that consolidated decision. DICES-05 retains Medium: its independent verifier considered Low appropriate unless large launch buys are routine, and the lead reviewer treated that pattern as expected for a launchpad.
Reproducing the contract tests
Download and extract the complete evidence bundle. Its 2026-11-25-skills-review/ directory contains all supplied reports, context files and Slither output, plus poc/AuditPoC.t.sol and poc/Verify05.t.sol extracted verbatim from the reports' Solidity blocks. The individual sources are also available as AuditPoC.t.sol and Verify05.t.sol.
Use a checkout of Dices-Tech/launchpad-evm-tokens at bcd45b2eea7b67477797df599443e2e8ae018f88 with its dependencies installed. The source review used Forge 1.9.0. Set DICES_REVIEW_EVIDENCE_DIR to the absolute path of the extracted 2026-11-25-skills-review directory, then run from the protocol checkout:
git rev-parse HEAD
mkdir -p test/audit-poc
cp "$DICES_REVIEW_EVIDENCE_DIR"/poc/AuditPoC.t.sol test/audit-poc/
cp "$DICES_REVIEW_EVIDENCE_DIR"/poc/Verify05.t.sol test/audit-poc/
forge test --match-path 'test/audit-poc/*' -vv
Confirm that the printed commit matches the reviewed snapshot. The tests import the project's own fixtures using relative paths, so the test/audit-poc/ location matters. The original temporary test directory was removed after the review; no source, test or deployment-script changes were part of that review.
The holder-version DICES-05 tests seed extra PoolManager USDC to model a shared deployment. testPoC11 measures that settlement dependency. The independent verifier also reproduced the zero-capital payout without extra USDC and checked escrow solvency. A passing exploit test establishes the recorded failure at this commit; it does not demonstrate a fix.
Rejected candidates
Each was a plausible concern that the check showed to be unfounded. Full reasoning is in fp-check-verification.md.
| ID | Candidate | Why it was rejected |
|---|---|---|
| R-01 | A caller starves qualify of gas so a swap completes without recording its price | Measured: no gas limit does this. The hook's remaining work costs more than the 1/64 of gas it would have left |
| R-02 | Slither arbitrary-send-erc20 in CurrencySettler.settle | The transferFrom branch is unreachable; the only caller passes address(this) |
| R-03 | Slither reentrancy-eth in _afterSwap | Every callee is fixed or owner-set; the late write only ratchets upward |
| R-04 | Slither weak-prng in LiveCalculator._average | The modulo is a ring index and a rounding test |
| R-05 | The stored conversion state is left behind, or consumed by another pool's swap | Nothing untrusted runs between beforeSwap and afterSwap; a failed swap reverts the write |
| R-06 | The swap pool or a third party can remove the hook's launch liquidity | Positions are keyed by owner; the swap pool removes only what it added in the same swap |
| R-07 | A conversion can cost more coins than were queued and revert the swap | Proven from the liquidity formulas: cost ≤ inventory |
| R-08 | Starting the 24-hour clock with syncLevel at launch reaches a level early | The average is over a moving window; early low observations cannot raise it |
Source reports
The skill names below describe tools used by the original reviewer. They do not imply that Trail of Bits or Uniswap performed or endorsed this review.
| Source | Contents |
|---|---|
| README.md | Original executive summary, priorities, method and limits. |
| findings.md | All 22 consolidated findings and final ratings. |
| fp-check-verification.md | Verification of all 30 candidates, including eight rejections. |
| poc-tests.md | Original 18-test source, output and finding mapping. |
| poc-tests-verify05.md | Independent eleven-test verification of DICES-05. |
| tob-audit-context.md | System model, actors, workflows and trust boundaries. |
| tob-entry-points.md | State-changing entry points and access levels. |
| tob-secure-workflow.md | Slither triage, security properties and proposed further checks. |
| tob-guidelines.md | Development-guidelines review. |
| tob-code-maturity.md | Nine-category maturity assessment. |
| tob-token-integration.md | Token behavior, USDC integration and settlement assumptions. |
| tob-spec-compliance.md | Documentation and NatSpec compared with code. |
| uniswap-v4-security-foundations.md | Hook permissions, delta accounting, threat model, callback gas and risk scoring. |
The bundle also preserves all four per-function context files and the raw Slither reports. The source review records Trail of Bits skill versions 1.0.0–1.1.1 and Uniswap uniswap-hooks 1.6.0 from marketplace clones dated May 2026. The original README contains the precise skill and report mapping.
Cross-reference to the skill reports
The skill reports use their own numbering. This table maps them.
| Finding | Token integration | Uniswap | Guidelines | Code maturity | Spec compliance |
|---|---|---|---|---|---|
| DICES-01 | TI-04 | V4SF-02, V4SF-08 | F-05, F-09 | F1, F10 | DIV-14 |
| DICES-02 | TI-01 | F-01 | |||
| DICES-03 | TI-02 | V4SF-01 | F-03 | F2, F8 | DIV-03 |
| DICES-04 | V4SF-01, V4SF-08 | F-03 | F2 | ||
| DICES-05 | F-15 (suspected) | ||||
| DICES-06 | V4SF-03 | F-07 | F3 | DIV-06 | |
| DICES-07 | F-08 | F8 | DIV-13 | ||
| DICES-08 | TI-10 | V4SF-04 | F-06 | F7 | DIV-04 |
| DICES-09 | V4SF-11 | F-02 | F4 | DIV-01, 02, 05, 08, 09 | |
| DICES-10 | TI-11 | V4SF-05 | F-13 | F9 | |
| DICES-11 | TI-12 | V4SF-07 | F-11 | F6 | |
| DICES-12 | TI-07 | F-10 | |||
| DICES-13 | TI-13 | F-12 | F11 | ||
| DICES-14 | TI-06 | ||||
| DICES-15 | TI-05 | ||||
| DICES-16 | V4SF-12 | F-12 | DIV-10 | ||
| DICES-17 | V4SF-11 | F-02 | F4 | DIV-07, 11, 12, 15, 17 | |
| DICES-18 | F-14 | DIV-10 | |||
| DICES-19 | V4SF-09 | ||||
| DICES-20 | V4SF-06 | F-18 | |||
| DICES-21 | TI-03, TI-09 | V4SF-10 | F-04 | F5 | |
| DICES-22 | TI-08 | V4SF-08 |
Review limits
- The review was internal and tool-assisted. It is not a substitute for an independent professional audit before mainnet.
- No fork tests or on-chain queries were performed. The Base PoolManager, Universal Router, Permit2 and USDC assumptions were taken from source and documentation.
- No Echidna, Medusa, Halmos or Mythril run was performed. Further properties are listed in the secure-workflow report.
- Slither could not analyse
DicesHook._swapFee,DicesHook._addInitialTokenLiquidityorInternalSwapPool.closeInternalSwapPool; they were reviewed manually. - Dependencies received targeted review rather than a standalone audit. Key management, monitoring and incident response were not established from the repository.
- The recorded Base Sepolia deployment predates the reviewed commit and was not compared with it.
- The evidence describes a fixed source snapshot. No remediation review or fresh Solidity test execution is claimed by these documentation pages.