What Is “Slippage Tolerance” and How Does It Enable Sandwich Attacks?

Slippage tolerance is the maximum percentage deviation from the expected trade price that a user is willing to accept for their transaction. It is a necessary setting on DEXs due to the volatile nature of on-chain liquidity.

High slippage tolerance enables sandwich attacks because it signals to the front-runner that the victim is willing to accept a wide range of prices. The attacker can then confidently execute their "buy" transaction (driving the price up) and "sell" transaction (driving the price down) around the victim's trade, knowing the victim's trade will still execute at the now-manipulated price.

Can a Block Builder Manipulate the Execution Price of a Derivatives Trade?
How Do Flash Loan Attacks Exploit Smart Contract Vulnerabilities?
How Can a User Protect Themselves from Sandwich Attacks Caused by High Slippage Tolerance?
How Do Transaction Ordering Mechanisms on Blockchains Enable Front-Running?
How Does Slippage Tolerance on a DEX Affect a User’s Vulnerability to Sandwich Attacks?
What Is the Key Vulnerability That Sandwich Attacks Exploit on Automated Market Makers (AMMs)?
How Does a High Slippage Tolerance Enable “Slippage Exploitation” Attacks?
What Is “Slippage Tolerance” and How Does a Low Setting Make a User Vulnerable to Sandwich Attacks?

Glossar