Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mtarcure/claude-vibe-squad --skill uniswap-v4-hook-access-controlgit clone --depth 1 https://github.com/mtarcure/claude-vibe-squadWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mtarcure/claude-vibe-squad/uniswap-v4-hook-access-control)<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/uniswap-v4-hook-access-control"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/uniswap-v4-hook-access-control/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/uniswap-v4-hook-access-control"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/uniswap-v4-hook-access-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.00595 |
| Opus 5.5 | $0.00035 | $0.00238 |
| Sonnet 5.5 | $0.00017 | $0.00119 |
| Haiku 4.5 | $0.00009 | $0.00060 |
Grade A, and why
uniswap-v4-hook-access-control scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Uniswap v4 Hook Callback Access-Control Audit
Audit Uniswap v4 (and v4-style singleton/hook) integrations for the missing-caller-check class: a
custom hook callback (beforeSwap/afterSwap/beforeAddLiquidity/donate/etc.) that does not verify
msg.sender == address(poolManager) and does not validate the supplied PoolKey, letting an
attacker call the hook directly with forged accounting parameters to mint unbacked tokens or drain
the pool.
Source: corpus A §I.6 — Dedaub / Cyfrin / Cork Protocol, May 2025 ($11M pool drain).
Impact class: funds theft / pool drain (intrinsic).
Governing method: Phase-3a hypothesis lane of systematic-attacking; leads only into the
full verification spine.
Method
- Enumerate every hook callback the target exposes (
slither, and read theHookspermission bitmap on the deployed hook viacast). - For each callback, confirm BOTH guards: (a) a strict
require(msg.sender == address(poolManager))(or the framework's equivalent authority check), and (b) validation that thePoolKey/ currency / fee parameters correspond to a pool the hook is actually authorized for — not attacker-chosen. - Trace the hook's internal accounting: identify any state (redemption balances, reserve counters, minted supply) mutated inside a callback from parameters the caller controls.
- PoC on
anvil --fork: call the unguarded callback directly (bypassing the PoolManager) with inflated deposit/redemption values; assert unbacked mint or drain. Link-level negative control = the same call through the real PoolManager reverts or nets to zero. - Add a
forge/halmosinvariant: "hook accounting only advances via PoolManager-originated calls with a registered PoolKey."
Acceptance
- Every hook callback is classified for the caller check AND PoolKey validation.
- The direct-call PoC drains/mints against a real fork; the PoolManager-routed negative control does not.
- Finding names the exact unguarded callback and the accounting field it corrupts; deduped against the Cork / v4-hook advisory corpus before submission.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 41 lines · 87 tokens per session scan A a434ec7f7860
uniswap-v4-hook-access-control is a skill published in the GitHub repository mtarcure/claude-vibe-squad (165 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 595 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.
Other skills, from other repositories
pay
Pay one external payment requirement within exact parent authority, through a payment method the payer holds, and read the paid resource back.
aomi-transact
Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini). Aomi turns prompts into wallet-signed txs on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated. 40+ apps: Uniswap, Aave, Lido, Morpho, GMX, Hyperliquid, Polymarket.
codew-release-qa-sweep
Use before claiming Codewhale release work is done: run the full gate sweep and list the manual QA targets.
gh-file-issue
Use when filing a new Codewhale GitHub issue: turn a bug or idea into a well-formed, actionable issue with repro, acceptance criteria, labels, and milestone.
gh-treasure-hunt
Hunt the issue/PR queue for highest value-over-risk wins: clean focused community PRs, already-implemented issues to close, safe quick-fixes.
document
Skill "document" from Hmbown/Codewhale, covering document, when to use, non-goals and workflow.