What Is Slippage Tolerance and How Does Adjusting It Mitigate Front-Running Risk?
Slippage tolerance is the maximum percentage difference a user is willing to accept between the quoted price and the executed price of a trade. In the context of front-running, setting a very low slippage tolerance means that if a front-runner successfully moves the price by a significant amount, the victim's transaction will fail instead of executing at a disadvantageous price.
This makes the front-running attack unprofitable for the attacker, thereby acting as a deterrent.