Oracle Front-Running
Oracle Front-Running occurs when a malicious actor observes a pending transaction from an oracle network that will update a price on-chain and submits their own transaction with a higher gas fee to be processed first. This allows the attacker to exploit the price difference before the oracle update officially shifts the market state.
In the context of derivatives, an attacker might front-run a price update to execute trades at stale prices that do not reflect current market conditions. This behavior exploits the inherent transparency of public mempools where pending transactions are visible before confirmation.
It undermines the fairness of decentralized exchanges and lending platforms. Protocols often implement commit-reveal schemes or private transaction relays to mitigate this risk.