Skip to main content

Why Might a Limit Order on a DEX Still Be Vulnerable to Front-Running in Some Niche Scenarios?

A limit order on a DEX can be vulnerable in niche scenarios, primarily if the order is large enough to move the market price to the limit price. An attacker could front-run the order by placing a small trade to move the price to the limit, causing the victim's order to execute, and then immediately trading again to profit from the subsequent price movement.

This is a form of market manipulation rather than traditional front-running, but it exploits the visibility of the pending limit order.

What Is the Difference between a “Pull” and “Push” Oracle Design?
How Does a High Slippage Tolerance Enable “Slippage Exploitation” Attacks?
What Is the Security Trade-off between Pull and Push Oracle Designs?
How Can an Oracle Be Manipulated in a “Flash Loan” Attack Scenario?