Breaking
CRYPTO-TRInterest Rate Decision of the US Federal Reserve is Awaited: Criticism from Rick RiederARSatellite images reveal severe damage that led to a vital Saudi oil pipeline stopping workINTLAt least 21 killed as war-damaged building collapses in GazaRUA plane arrived in Germany to evacuate diplomats from the Russian Consulate General in BonnKRYemen's Houthi rebels claim to have shot down a Saudi F-15 fighter jetCNHong Kong police arrest man following discovery of woman's body in Chai WanBRMore than 70 women were kept in private prison and tortured with punishments and sedatives in a clinic in ParanáBRJewelry store robbery in Goiânia ends with four deadITCutting fuel excise duties and abolishing car tax: the measures in the Council of MinistersUKUK inflation rises to 3.1% as energy costs surge amid Middle East conflictCRYPTO-TRInterest Rate Decision of the US Federal Reserve is Awaited: Criticism from Rick RiederARSatellite images reveal severe damage that led to a vital Saudi oil pipeline stopping workINTLAt least 21 killed as war-damaged building collapses in GazaRUA plane arrived in Germany to evacuate diplomats from the Russian Consulate General in BonnKRYemen's Houthi rebels claim to have shot down a Saudi F-15 fighter jetCNHong Kong police arrest man following discovery of woman's body in Chai WanBRMore than 70 women were kept in private prison and tortured with punishments and sedatives in a clinic in ParanáBRJewelry store robbery in Goiânia ends with four deadITCutting fuel excise duties and abolishing car tax: the measures in the Council of MinistersUKUK inflation rises to 3.1% as energy costs surge amid Middle East conflict
Back0x Warns of Alarming Increase in Malicious Uniswap v4 Hooks
0x Warns of Alarming Increase in Malicious Uniswap v4 Hooks
Developing
CryptoSlate4 hours agoTech3 min read

0x Warns of Alarming Increase in Malicious Uniswap v4 Hooks

Liquidity aggregator reports that over 80% of analyzed Uniswap v4 hooks are malicious or likely malicious, leading to significant price discrepancies.

Quick Look

Liquidity aggregator 0x reported an alarming rise in malicious Uniswap v4 hooks designed to quote one price and settle at another, with over 80% of analyzed hooks classified as malicious or likely malicious.

AI-generated summary

Why It Matters

Liquidity aggregator 0x examined 84,163 Uniswap v4 hooks across six chains using static and dynamic analysis.

Font size

Liquidity aggregator 0x said on Sept. 14 that it had seen an alarming increase in malicious Uniswap v4 hooks over recent weeks, designed to quote one price and settle at another.

In the most extreme trades it observed, users received as much as 50% less at execution than the amount displayed in the quote.

An aggregator searches many pools, estimates their output, and typically favors the route promising the most tokens. A malicious pool can win the order by looking unusually attractive during that comparison.

Uniswap v4 hooks show when the best quote becomes the attack surface

In its analysis of Uniswap v4 hooks, 0x said it examined 84,163 hooks across six chains using static analysis, dynamic analysis, and settled-trade observations. In the dataset, labeled as of Sept. 11, 0x classified 19.4% as safe, 54.2% as malicious, and 26.4% as likely malicious.

The report separately said 0x had observed malicious routes deliver up to half less than quoted, a maximum shortfall rather than a typical outcome.

One Base hook trading the ETH/NVDAc showed 6,516 fills, including 3,946 charged fills. Fees ranged from 0% to 18%, with an 18% median when charged, and the hook collected $143,037 in total fees as of Sept. 11.

Uniswap v4 hooks are optional external contracts that can run around key pool actions. Uniswap's developer documentation says hooks can execute before or after a swap, while selected permissions can adjust balance deltas.

This flexibility also enables legitimate features such as dynamic fees and custom accounting. Uniswap warns users that independent third parties write hooks and that the code may be malicious or cause unintended consequences.

Permissionless code can enter a price competition whose output looks objective to the person approving the trade.

Imagine Wallet A offers 100 tokens and Wallet B offers 98, so Wallet A wins the screen comparison. If its selected pool recognizes the quote request and later settles for 80, Wallet B's apparently worse offer was the better trade.

In July, routing infrastructure provider Enso documented what it called toxic pools, including a Polygon Uniswap v4 hook that used execution-environment signals and an Ethereum Curve pool whose oracle behavior changed under simulation-like conditions.

A March 0x study found a related pattern in proprietary liquidity. Its Base propAMM analysis said one market maker beat a reference AMM in 100% of sampled quote-time observations but settled consistently worse, typically by 5 to 10 basis points, or 0.05% to 0.10%.

0x said it cuts off liquidity sources until execution issues are fixed, even when its displayed quotes then appear less competitive.

ClearTrace's Sept. 8 scorecard found zero or small median quote gaps for several sampled aggregators in Ethereum fork simulations. The test covered simulated quote accuracy rather than 0x's hook set, suggesting the abuse is venue-specific evidence instead of proof that swap routing is broadly dishonest.

Permissionless underneath, curated on top

Routers must decide which pools to simulate, which execution patterns to monitor, and when an apparently attractive source deserves exclusion. Wallets that rely on those routers inherit the result, usually without showing users which liquidity was excluded.

Some systems are moving more of the comparison toward settlement. KyberSwap said its Smart Settlement prepares multiple candidate pools for a swap hop, compares them on-chain at execution, and atomically selects the candidate offering the highest output.

0x said it routed 81.92 million trades and $42.67 billion in volume during 2026 through Sept. 14, with roughly 70% of transactions touching Uniswap liquidity. At that scale, a blocklist or vetting decision can shape which markets users can reach and what price they see.

Protocol-level access stays open, while application-level access becomes more curated as wallets and routers filter the liquidity behind their interfaces. A service that rejects adversarial pools may look more expensive even when it produces the better outcome.

If malicious liquidity keeps adapting to quote engines, one headline number will describe less of the trade. Route quality, vetted-liquidity status, and the expected gap between quote and settlement could become part of what a wallet needs to show when it promises the “best price.”

What to Watch

AI outlook — possibilities, not facts

  • 0x will continue cutting off liquidity sources with execution issues

    Very likely · Within months

Open Questions

  • How will Uniswap developers respond to the prevalence of malicious hooks?
  • Will other aggregators implement similar blocklists?

Related Topics

This article was originally published by CryptoSlate.

Related Stories

More on this topic0x