Trail of Bits

Uniswap v4 Core

Type

Security review

Client

Uniswap

Date

2024-07

Domain

Blockchain

Effort

6 wks

Section

Uniswap

Trail of Bits's security review of Uniswap (Jul 2024) identified 6 issues: 1 low, and 5 informational.

Findings · 6

  1. 1 Strict equality on fee comparison can cause fees to exceed 100% Informational
  2. 2 Incorrect variable usage on swap fee Informational
  3. 3 Collected protocol fees may count against user’s currency deltas Low
  4. 4 Use of incorrect mask to clear higher bits of the protocolFee value Informational
  5. 5 Insucient event generation Informational
  6. 6 Similar-looking pool IDs can be brute-forced through the PoolKey hooks fields Informational

Findings extracted from the published report PDF. See the full report below for details and remediation.

Related