What Is a ‘Front-Running’ Attack in the Context of an Oracle Price Update?
A front-running attack occurs when a malicious actor sees a pending, profitable oracle price update transaction in the memory pool (mempool). The attacker then submits their own transaction with a higher gas fee to execute a trade (e.g. a large options position) before the oracle price update is confirmed, profiting from the imminent, predictable price change.