How Does ‘Slippage Tolerance’ Make a Transaction Vulnerable to a Sandwich Attack?
Slippage tolerance is the maximum percentage change in price a user is willing to accept for their trade before it fails. A high tolerance allows a sandwich attacker to execute their 'buy' transaction, move the price significantly, let the target trade execute at the worse price, and then execute their 'sell' transaction, all within the user's acceptable slippage range.
A low tolerance minimizes the profit window for the attacker.