v4-security-foundations
OfficialSecurity-first Uniswap V4 hook foundations.
AuthorUniswap
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provide actionable guidance and a security-first framework to prevent vulnerabilities in Uniswap V4 hooks during development and audits.
Core Features & Use Cases
- Threat modeling and risk assessment for V4 hooks, including PoolKey, beforeSwap, afterSwap workflows.
- Secure coding patterns, delta accounting, access control, and audit readiness for production hooks.
- Use Case: A developer implementing a new V4 hook can reference the CRITICAL risks and template to ensure safe integration and pass pre-deployment checks.
Quick Start
Follow this guide to implement a secure V4 hook project starting from threat modeling to production-ready checks.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: v4-security-foundations Download link: https://github.com/Uniswap/uniswap-ai/archive/main.zip#v4-security-foundations Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.