TWAP Feed Vulnerability

Exploit

A TWAP Feed Vulnerability arises from manipulation of the time-weighted average price (TWAP) oracle used by decentralized exchanges (DEXs) and derivative platforms. This vulnerability centers on the predictability of TWAP calculations over specific intervals, allowing malicious actors to influence the reported price. Successful exploitation typically involves large trades executed strategically around the TWAP calculation timestamps, shifting the average price to benefit the attacker’s position, and creating arbitrage opportunities or impacting liquidation thresholds.