Worked example · 2021-20
Multi-block MEV TWAP oracle manipulation cohort — EVM — 2021–2025
Summary
Single-block TWAP oracle manipulation requires the attacker to move the price significantly within a single block and unwind within the same block — a capital-intensive operation typically requiring flash-loan-scale capital (billions of dollars of notional to move a major pool's TWAP). Multi-block MEV TWAP manipulation relaxes this constraint: if the attacker controls the block proposer for multiple consecutive blocks (via MEV-Boost builder coordination, validator collusion, or proposer-bribery via bribery protocols like MEV-Boost), the attacker can spread the price movement across N blocks, achieving the same cumulative TWAP distortion with a fraction of the single-block capital requirement.
The technique's surface was characterised academically by Mackinga, Nadahalli and Wattenhofer, who describe a multi-block MEV attack in which the attacker colludes with a miner or proposer who can produce two consecutive blocks, making TWAP manipulation far cheaper [mackingatwap]. The earlier attribution to Flashbots research (2021-2023) is unverified here. The core insight:
- A TWAP oracle computes a time-weighted average price over a configurable lookback window (e.g., 30 minutes of blocks).
- In a single block, manipulating the TWAP requires moving the spot price far enough that the single-block contribution to the weighted average is material — requiring large capital.
- Across N consecutive blocks under the same proposer's control, the attacker can contribute N blocks of manipulated price data to the TWAP window with more modest per-block capital — the cumulative effect across N blocks is material even if any single block's contribution would be negligible.
- The attacker's profit is realized against a lending market or derivative protocol that consumes the manipulated TWAP as its price reference — the attacker deposits collateral at the manipulated (inflated) TWAP price and borrows against it, or holds a derivative position that settles at the manipulated TWAP.
The technique composes (does not replace) T9.001 and T17.004: the oracle manipulation primitive is the same; the staging mechanism (proposer-controlled multi-block sequencing) is the T17.005 surface.
Timeline (UTC)
| When | Event | OAK ref |
|---|---|---|
| 2022-04-12 | Mackinga, Nadahalli, Wattenhofer, "TWAP Oracle Attacks: Easier Done than Said?" received by IACR ePrint (2022/445) [mackingatwap] |
T17.005 (surface characterisation) |
| 2021–2023 | MEV-Boost builder ecosystem matures; multi-block proposer control becomes operationally feasible via builder coordination and proposer-bribery protocols | T17.005 (operational feasibility) |
| 2022-04-02 | Inverse Finance TWAP manipulation (~$15.6M): attacker raised INV price ~50x in a low-liquidity SushiSwap pool via a bundle sent directly to miners, funded with 901 ETH from Tornado Cash; price persisted across blocks N and N+1 [redstoneinverse] |
T17.004 (T17.005 not established) |
| 2022–2025 | Further literature (Zhou et al. 2023 SoK; EigenPhi analysis) is cited in earlier drafts but not verified here | T17.005 (research consolidation, unverified) |
Realised extraction
No single incident attributed solely to T17.005 at v0.1; Inverse Finance 2022-04 is a related TWAP-manipulation incident, not an established T17.005 case. The class is documented at the MEV-research layer.
Public references
[mackingatwap]— Mackinga, Nadahalli, Wattenhofer, "TWAP Oracle Attacks: Easier Done than Said?", IACR ePrint 2022/445 (received 2022-04-12): https://eprint.iacr.org/2022/445[redstoneinverse]— RedStone, "Oracle Attacks #1 — Inverse Finance, $15M stolen" (2022-08-03): https://www.redstone.finance/blog/oracle-attacks-1-inverse-finance-15m-stolen/- Flashbots multi-block MEV research (2021-2023) — unverified, no URL found
- Zhou et al., "SoK: Decentralized Finance (DeFi) Attacks" (2023) — academic taxonomy including multi-block MEV surface
- EigenPhi multi-block MEV bundle analysis — unverified, no URL found
- MEV-Boost relay data and builder-concentration research
- See
techniques/T17.005-multi-block-mev-twap-oracle-manipulation.mdfor full technique characterisation