← Back
VulnerabilityTrail of Bits·3 weeks ago

Building secure Uniswap v4 hooks

Uniswap v4's hook architecture enables powerful customization but shifts security responsibilities to application developers, as demonstrated by the Cork ($12M) and Bunni ($8.4M) exploits—both stemming from flawed hook code rather than protocol vulnerabilities. The article identifies seven recurring failure patterns in hook development, including missing caller checks, unvalidated pool selection, accounting bugs, and callback state management issues, alongside an eight-point secure development checklist for builders and seven-point audit framework for reviewers. Understanding these patterns is critical for developers integrating with v4, as hooks execute in the same transaction as pool actions and can silently leak value even when settlement invariants are satisfied.

Read full article at Trail of Bits

Related Articles

VulnerabilityThe Hacker News·8 hours ago

⚡ Weekly Recap: AI-Powered PLC Attacks, GitLab Attacks, Stripe Key Leaks and More

A package gets installed. A login prompt opens. A box sits exposed to the internet. Nothing looks unusual yet. That’s roughly the mood this week. Trusted tools turn hostile, old weak spots get fresh attention, AI makes exploit work cheaper, and researchers keep finding attacks that sound harder than they actually are. Plenty to clean up. Here’s the short version. ⚡ Threat of the Week U.S.

VulnerabilityCISA Advisories·10 hours ago

CISA Adds One Known Exploited Vulnerability to Catalog

CISA has added CVE-2026-21962, an improper access control vulnerability affecting Oracle HTTP Server and Oracle Weblogic Server Proxy Plug-in, to its Known Exploited Vulnerabilities Catalog based on confirmed active exploitation. The vulnerability poses significant risk as it allows total asset compromise post-exploitation, and CISA's Binding Operational Directive 26-04 requires federal agencies to prioritize rapid remediation of such high-risk KEV Catalog entries on publicly exposed systems. CISA encourages all organizations to adopt risk-based vulnerability management practices and prioritize remediation of cataloged exploited vulnerabilities.