TWAP Feed Vulnerability

Vulnerability

A TWAP feed vulnerability refers to a specific weakness in a Time-Weighted Average Price oracle mechanism, where an attacker can manipulate the price feed by executing large trades within the time window used for calculating the average price. This vulnerability arises when the oracle’s sampling frequency or window size is insufficient to resist manipulation. The exploitation of this weakness can lead to significant financial losses for protocols relying on the compromised price feed.