Malicious Uniswap v4 hooks are baiting DeFi traders with fake swap quotes
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, u...
Watchlist
Published in the last two hours. Multiple named entities are involved.
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 surfaceIn 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.
Infographic illustrates how a malicious liquidity hook can turn the best displayed swap quote into worse execution, while route screening changes the outcome.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 topRouters 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.”
The post Malicious Uniswap v4 hooks are baiting DeFi traders with fake swap quotes appeared first on CryptoSlate.
Why this matters
Uniswap is showing up inside the DeFi theme, so this story is worth tracking for follow-through rather than treating it as a one-off headline.
Original source
Read on CryptoSlateRelated market context
Ethereum Price Prediction: ETH Shrugs Off CLARITY Act and Fed Decision, Could Break $3,000
Ethereum sits at $2,400, dropping a brutal 4% on the day amid its bullish price prediction a week earlier. The largest altcoin abs...
Tonkeeper Rebrands to Keeper and Adds Bitcoin, Ethereum and Four More Chains
Tonkeeper, the wallet built for the Telegram-linked TON blockchain, has rebranded to Keeper and expanded into a multichain wallet,...
Spark Liquidity Layer ranks as largest on-chain capital allocator with $2.5B TVL
The rise of Spark Liquidity Layer highlights DeFi's evolving integration with traditional finance, potentially increasing regulato...
Ethereum and Base Abandon a Shared Wallet Standard as Account-Abstraction Talks Break Down
Ethereum and Base have given up on building one shared account-abstraction standard for both networks and will ship competing desi...
Did crypto’s $20 Billion DeFi surge just get stolen by price inflation?
The central question behind DeFi's latest rebound is whether protocols gained fresh deployable liquidity or simply more valuable c...
The Standard Chartered Effect: Is bank research becoming crypto’s new short-term catalyst?
Standard Chartered initiated coverage on Arbitrum's ARB token on the morning of Sept. 15 with a $10 price target for 2030. That im...