Building secure Uniswap v4 hooks
A security review of Uniswap v4 hooks identifies recurring flaws in application and hook code, including missing caller checks and accounting errors. The Cork and Bunni exploits illustrate the risks, with losses exceeding $20 million; neither incident involved a flaw in Uniswap v4 core or its PoolManager. The review draws on audit findings and public reports and offers seven failure patterns for builders and auditors to use as a checklist.
AI-written summary, checked against the cited sources. How summaries work
