Skip to content
V

v4-security-foundations

Security-first Uniswap v4 hook development

by uniswapFree

#10379in AI Skills
0In stores

Description

v4 Security Foundations is an agent skill for writing Uniswap v4 hooks with security first. Hooks can drain user funds if they are written b…

Highlights

  • Threat model reviewed before writing hook code
  • Caller verification for the PoolManager
  • Router allowlisting and sender identity
  • Reentrancy guidance for external calls
  • Risk matrix for all 14 hook permissions

Ratings & Reviews

No ratings yet

Be the first to rate v4-security-foundations.

People also visit

S

swap-integration

Integrate Uniswap swaps into applications

AI Skills
Get
V

viem-integration

Integrate EVM blockchains using viem

AI Skills
Get
K

kukapay/uniswap-trader-mcp

Automate token swaps on Uniswap across multiple blockchains

AI Skills
Get
O

onchain-automation

Route event-driven onchain automation

AI Skills
Get
E

emblem-ai-agent-wallet

Connect to EmblemVault and manage crypto wallets via EmblemAI

AI Skills
Get
S

Swapper Toolkit

DeFi toolkit for AI agents and coding assistants

AI
Launch

v4-security-foundations FAQ

What is this skill for?

It helps a coding agent write Uniswap v4 hooks while avoiding the common security mistakes that could put user funds at risk.

Who is it for?

Developers building Uniswap v4 hooks who want the security checks built into their workflow.

How do I install it?

Run npx skills add https://github.com/uniswap/uniswap-ai --skill v4-security-foundations.

What does the permission risk matrix show?

It lists all 14 hook permission flags with the risk level of each one.

What are the security audit results?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best v4-security-foundations alternatives?

Popular alternatives to v4-security-foundations include swap-integration, viem-integration and kukapay/uniswap-trader-mcp. See all v4-security-foundations alternatives

Developer Stuff

Badges