~/talk

TWAP Oracle Manipulation Risks

Talkat DeFi Security Summit 2022 · 2022-08-27..08-28· [security, smart-contracts]
slides:none on file

TWAP (time-weighted average price) oracles on AMMs like Uniswap V2/V3 are practically exploitable: price manipulation by buying/selling then reversing plus supplying or withdrawing liquidity lets attackers skew the averaged price and profit, and several protocols (Inverse Finance, Rari Fuse pools, Euler) that used TWAPs suffer breaches. Concentrated liquidity and Uniswap v3 concentrated liquidity lowers attack cost; pools with 0.01% fees make repeated manipulation cheaper; a ~$15k 51% selfish‑mining on Ethereum today can censor arbitrage, and PoS merge removes that economic barrier, so TWAPs require continuous monitoring or safer oracle alternatives.

AI-written summary · about

  1. 0:00Intro
  2. 0:58What is TWAP
  3. 2:38How are they manipulated
  4. 6:48Cost to maintain imbalance
  5. 8:38Concentrated liquidity
  6. 9:27Math
  7. 11:22Merge
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.