A swap sets amountOutMin to 0 (or no slippage bound), so an attacker brackets the trade with buy/sell to force maximum slippage and extract value.
router.swapExactTokensForTokens(amtIn, minOut, path, to, deadline);
// minOut from a trusted quote with slippage tolerance
The SaferICO scanner runs 201 detectors over your Solidity source, SAFE-0058 among them. Paste an address or the source itself — a small per-scan fee, shown before you sign, or unlimited on any plan.