Skip to content

Back to the catalog

Price is Only the Symptom: Understanding and Analyzing Economic-State Manipulation Vulnerabilities in DeFi
arxiv.orgpaper

Price is Only the Symptom: Understanding and Analyzing Economic-State Manipulation Vulnerabilities in DeFi

Economic-State Manipulation (ESM) in DeFi is studied using 276 real-world attacks and 91 Code4rena audit findings. The authors build a cause-based taxonomy of four categories and eleven subcategories, showing these flaws go beyond price manipulation to accounting, AMM state consistency and execution-time violations. Seven detection approaches were evaluated; the best found only 50.4% of real attacks.

TL;DR Builds a taxonomy of DeFi economic-state manipulation bugs and shows seven existing detectors catch at most 50.4% of real attacks.
Document

What it is

A November 2026 empirical study of Economic-State Manipulation (ESM) in DeFi, by Hao Wu, Haijun Wang, Xiapu Luo, Ming Fan and Ting Liu. Its argument is that price distortion is the visible symptom, and the root cause is a protocol trusting an economic state an attacker can change. The dataset has 276 real attacks (October 2020 to March 2026, $524 million cumulative loss) and 91 Code4rena findings drawn from 1,283 audit findings. Of the attacks, 177 come from DeFiHackLabs and 99 are added from earlier PM/ESM datasets after deduplication. The authors say datasets and evaluation code are released.

How it works

The taxonomy has four categories: Price-Source Trust, Protocol-Internal Accounting, AMM and Liquidity State Integrity, and Execution-Time Protection. They split into eleven subcategories, though the fetched text does not list them.

The worked example is the XDK attack of February 16, 2026, on an XDK/GPC Uniswap V2-style pair. XDK had a "recycle" hook meant to redeem LP tokens sent to a dead address. Instead, on a sell, the hook moved XDK out of the live pool without burning LP tokens or withdrawing GPC. The attacker then looped:

  1. Transfer XDK into the pair.
  2. The recycle hook removes d XDK, so the balance falls below the recorded reserve.
  3. sync() sets the reserve to the lowered balance, before the incoming transfer lands.
  4. The incoming s XDK arrives, leaving balance above reserve.
  5. skim() returns the surplus s to the attacker.

Each cycle drains d XDK from the pool with no matching GPC reduction. The attacker funded this with a flash loan of GPC, repeated the loop until the ratio was skewed, sold the XDK for inflated GPC and repaid. No oracle was manipulated and no price formula was wrong.

What the evaluation found

  • Six prior evaluation datasets cover 6 to 10 of the 11 subcategories but are dominated by a few manipulation mechanisms.
  • Seven detectors, spanning transaction-dependent analysis, bytecode analysis and LLM-assisted source analysis, were run on the new dataset. The best caught 50.4% of real attacks. The text does not name which seven.
  • Missed detections trace to reliance on predefined attack patterns, weak reasoning about economic-state semantics, and taint abstraction and candidate generation limits.
  • False positives in proactive tools mostly come from not checking whether a suspicious state is attacker-controllable.
  • Transaction-based tools depend on observed execution and known attack behavior, so they cannot act before an exploit.

What to do

The page's visible text gives no commands. For audit and tooling work, the useful moves are to review for the integrity assumptions behind each economic state (balance versus reserve, LP share versus underlying assets, execution-time guards), and to treat a detector's claimed coverage with caution. Its benchmark may sit in the same few subcategories. Use the released dataset to test a tool against the full taxonomy.

Caveats

The fetched text is cut off partway through the motivating example. The per-subcategory counts, tool names, and the paper's recommendations are not visible here. The paper is a v1 preprint, marked as submitted to ACM.

Organisations named here

  • Code4rena

Technologies named here

  • Decentralized finance (DeFi) protocols

Techniques named here

  • Price manipulation

Concepts named here

  • AMM
  • AMM state consistency
  • Cause-oriented taxonomy of ESM vulnerabilities
  • DeFi
  • Economic-State Manipulation (ESM)
  • Economic-state semantics
  • Exploitability validation

Also named here

  • Economic-State Manipulation