TWAP Oracle Manipulation Risks
summary
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
chapters (7)
- 0:00Intro
- 0:58What is TWAP
- 2:38How are they manipulated
- 6:48Cost to maintain imbalance
- 8:38Concentrated liquidity
- 9:27Math
- 11:22Merge
related talks
23mSecurity Considerations when using Pull Oracles
40mBuilding Priceless Financial Contracts on UMA - Solving the Oracle Problem
15mDeFi Protocols and Decentralized Oracles
19mBancor's Chainlink Integration
24mReimagining the AMM with
24mCreate and Deploy a Token Price Oracle in 15 Minutes
24mOracles Secure The Data - Who Secures The Oracles?
24mReimagining the AMM with 1inch Aqua
