v4-hook-generator
Warn
Audited by Snyk on Apr 8, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (high risk: 1.00). The skill is explicitly for creating Uniswap v4 hook contracts that implement and control on-chain token movement and swap behavior. It names swap-related hook types (BaseHook, BaseAsyncSwap, LimitOrderHook), discusses enabling permissions that modify swaps and extract fees (beforeSwap, afterSwap, afterSwapReturnDelta, afterAddLiquidityReturnDelta, etc.), and recommends including the
currencySettlerutility which providessettleandtakehelpers to move tokens between the hook and the PoolManager. It also covers hook-owned liquidity, share tokens (ERC20/ERC1155), and integration paths to deploy and interact with hooks (viem/v4-sdk). These are specific crypto/blockchain financial operations (swaps, moving user funds, fee extraction), not generic tooling, so this grants direct financial execution capability.
Issues (1)
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
Audit Metadata