Skip to main content

Sandwich Attacks

Definition

Sandwich attacks involve a malicious actor placing two transactions around a victim’s pending trade on a decentralized exchange. This maneuver aims to profit from the price change induced by the victim’s original transaction. The attacker executes a purchase before the victim’s order and a sale immediately after, effectively ‘sandwiching’ the victim’s trade. This strategy exploits transaction ordering vulnerabilities on blockchain networks to extract value.