Evidence to examine
- Confirm the swap. Decode the router call and identify the pool, tokens, direction, input amount, and output constraints.
- Locate it in the block. Record the exact transaction index and successful or reverted receipt.
- Inspect nearby swaps. Look before and after the victim for trades involving the same pool.
- Link the legs. Test whether the surrounding transactions share a sender, funding source, builder bundle, or token-flow relationship.
- Verify direction and economics. A typical attacker buys before the victim, sells after it, and ends with positive net value after gas and fees.
What counts as a strong signal?
A same-pool transaction immediately before the victim and an opposite-direction transaction immediately after it, both controlled by the same actor, is a strong structural signal. Execution traces and balance changes make the conclusion more reliable.
Block [NUMBER] · positions 140 to 144Illustrative
PosTransactionRead as
140Unrelated transferContext
141Searcher buys TOKEN with WETHsame pool as your swap, price moves upFront run
142Your swap: WETH to TOKENfills at the worse priceYou
143Searcher sells TOKEN for WETHunwinds the position from 141Back run
144Unrelated contract callContext
Same sender wraps your swap on both sides.High confidence pattern
Avoiding false positives
Arbitrage, liquidations, routing across multiple pools, and unrelated swaps can resemble parts of a sandwich. Do not label a victim from adjacency alone. Check ownership links, exact swap direction, asset flows, gas costs, and realized profit.