Lifecycle-aware security evaluation of programmable DeFi hooks: A framework for Uniswap V4

• A lifecycle-aware security analysis framework, HookScope, is proposed for Uniswap V4. • Five runtime threat types (T1-T5) are defined and dynamically detected through simulation. • HookScope applies CVSS-inspired scoring to quantify security risks in programmable hooks. • Analysis of 17 on-chain hooks reveals structural vulnerabilities in real deployments. • HookScope outperforms traditional tool in detecting context-sensitive threats in DeFi hooks. The programmable hook architecture introduced in Uniswap V4 enables external logic to be executed at predefined lifecycle events within automated market maker (AMM) protocols, enhancing the customizability. However, this design introduces a novel attack surface that conventional static analysis tools are ill-equipped to handle, particularly due to hooks’ context-dependent behavior and lack of publicly available source code. This paper proposes HookScope, a lifecycle-aware dynamic analysis framework for evaluating the structural security of programmable hooks. HookScope defines five runtime threat types (T1-T5) specific to the Uniswap V4 hook model and employs simulation-based testing to detect their manifestation during live contract execution. Risk scores are computed using a CVSS-inspired model that incorporates threat severity, execution context, and system-level impact. Comparative evaluation demonstrates that HookScope identifies threats overlooked by widely-used baseline tools such as Mythril, highlighting the necessity of lifecycle-aware dynamic analysis for programmable DeFi infrastructure. The proposed framework contributes a reproducible, quantifiable approach to threat detection in decentralized protocols and provides a foundation for future research on secure extensibility in AMM-based systems.

Authors

Institutions

Publication Details

Journal
Computer Networks
Published
2025-11-28
DOI
https://doi.org/10.1016/j.comnet.2025.111900
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Lifecycle-aware security evaluation of programmable DeFi hooks: A framework for Uniswap V4

Seyoung Lee, Hoon Sang Oh
Computer Networks
Security and Verification in Computing
article

Lifecycle-aware security evaluation of programmable DeFi hooks: A framework for Uniswap V4

Seyoung Lee, Hoon Sang Oh
article en

Abstract

• A lifecycle-aware security analysis framework, HookScope, is proposed for Uniswap V4. • Five runtime threat types (T1-T5) are defined and dynamically detected through simulation. • HookScope applies CVSS-inspired scoring to quantify security risks in programmable hooks. • Analysis of 17 on-chain hooks reveals structural vulnerabilities in real deployments. • HookScope outperforms traditional tool in detecting context-sensitive threats in DeFi hooks. The programmable hook architecture introduced in Uniswap V4 enables external logic to be executed at predefined lifecycle events within automated market maker (AMM) protocols, enhancing the customizability. However, this design introduces a novel attack surface that conventional static analysis tools are ill-equipped to handle, particularly due to hooks’ context-dependent behavior and lack of publicly available source code. This paper proposes HookScope, a lifecycle-aware dynamic analysis framework for evaluating the structural security of programmable hooks. HookScope defines five runtime threat types (T1-T5) specific to the Uniswap V4 hook model and employs simulation-based testing to detect their manifestation during live contract execution. Risk scores are computed using a CVSS-inspired model that incorporates threat severity, execution context, and system-level impact. Comparative evaluation demonstrates that HookScope identifies threats overlooked by widely-used baseline tools such as Mythril, highlighting the necessity of lifecycle-aware dynamic analysis for programmable DeFi infrastructure. The proposed framework contributes a reproducible, quantifiable approach to threat detection in decentralized protocols and provides a foundation for future research on secure extensibility in AMM-based systems.

Computer NetworksVol. 275
Kangwon National University (KR)
Openalex Percentile: Top 80%
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Lifecycle-aware security evaluation of programmable DeFi hooks: A framework for Uniswap V4 — Seyoung Lee, Hoon Sang Oh · Computer Networks (2025) | TGRS Research Map | TGRS