Skip to content
NewA calmer, faster ZeroHour
Researchmedium

Study finds undisclosed Hook charges on Uniswap v4 and PancakeSwap

Original title: An Empirical Study of Undisclosed Charges in Hook-Based Decentralized Exchanges

arXiv cs.CRby Kai Ma ()1 min read
AI summary · x-ai/grok-4.7Summaries by Vani AI

Across 7,873 Hooks and 50,011 pools, 24.30% can deduct extra amounts, recorded at $3.97M where token prices were available.

An empirical study of production Hooks on Uniswap v4 and PancakeSwap Infinity finds third-party contracts can deduct amounts that standard pool fee displays do not itemize. The dataset covers 7,873 Hook deployments, 50,011 pools, and 296 million pool events on Ethereum and BNB Smart Chain through August 1, 2026. Bytecode analysis separates Hook charges from swapped assets and standard fees. Direct settlement adjustment is supported by 71.37% of registered Hooks; 24.30% can impose undisclosed deductions, and those deductions appear in 59.23% of accounted swaps that use such Hooks, generating $3.97 million where prices were available.

Unconfirmed: The $3.97 million figure covers only Hooks with available token prices.

Key facts
  • Coverage is Ethereum and BNB Smart Chain through August 1, 2026.
  • The study reconstructs 296 million pool events.
  • Undisclosed deductions occur in 59.23% of accounted swaps using charging Hooks.
  • Authors urge showing Hook deductions next to standard fees.
Security assessment · AI, from the article

Impact: Traders pay Hook deductions omitted from standard fee displays

ProductAffected
Uniswap v4—
PancakeSwap Infinity—
What to do
  1. 1.Treat Hook deductions as separate from displayed pool fees when reviewing swap cost.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

1 min read at arxiv.org

Many decentralized exchanges use automated market makers (AMMs) to trade assets against liquidity pools. Modern AMMs allow third-party contracts, called Hooks, to customize this process. However, Hooks can impose additional deductions that fee breakdowns based on standard pool parameters do not itemize.

arXiv cs.CR

By Kai Ma · arxiv.org

Read the full article at arXiv cs.CR

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.