TLDR Tech / Crypto
Uniswap v4 Hooks Were a Mistake
0x Protocol's review of 84,163 Uniswap v4 hooks across six chains found only 19.4% safe, with 54.2% classified as malicious and 26.4% probable malicious, a dataset drawn from routing ~70% of the firm's $42.67 billion in annual volume through Uniswap liquidity. Malicious hooks exploit the gap between quote-time and settlement-time execution, spoofing aggregators and wallets to display one price while delivering up to 50% less at fill. A single hook on Base extracted $143,037 from users across 6,516 trades by charging an 18% median fee on 60.6% of fills. The permissionless design that grants builders custom AMM logic also removes routers' ability to trust quoted prices without independent execution verification.
Read the full story