# Don't Let Your Trading Become the Recipe of Someone's Sandwich

In a sandwich attack, the searchers/attackers 'sandwich' the victim's transactions between their own two transactions, called the front-run and the back-run. The victimized users suffer an implicit loss when these attackers reorder the transactions to benefit themselves.

You can visit the [Sandwich MEV introduction](https://eigenphi-1.gitbook.io/classroom/mev-types/sandwich-mev) in [EigenPhi's Classroom](https://eigenphi-1.gitbook.io/classroom/) to understand more about the basic idea behind it.

Next, we will walk you through some sandwich cases to show you how dangerous Sandwich MEV can be in terms of strategies under attack. &#x20;

* [The notorious Jaredfromsubway.eth's Sandwich attack.](https://eigenphi-1.gitbook.io/head-first-defi/dont-let-your-trading-become-the-recipe-of-someones-sandwich/the-notorious-jaredfromsubway.eths-sandwich-attack)
* [Combined with Flash Loan, this leveraged Sandwich launched the attack with millions of volumes](https://eigenphi-1.gitbook.io/head-first-defi/dont-let-your-trading-become-the-recipe-of-someones-sandwich/combined-with-flash-loan-this-leveraged-sandwich-launched-the-attack-with-millions-of-volumes).
* [Liquidity providers can also be victims of Sandwich, as shown in this case.](https://eigenphi-1.gitbook.io/head-first-defi/dont-let-your-trading-become-the-recipe-of-someones-sandwich/sandwich-targeting-liquidity-providers)
* [Even the Ethereum Foundation couldn't escape the claw of this flash-loan-enabled Sandwich MEV. ](https://eigenphi-1.gitbook.io/head-first-defi/dont-let-your-trading-become-the-recipe-of-someones-sandwich/the-flash-loan-enabled-sandwich-attack-against-ethereum-foundation)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eigenphi-1.gitbook.io/head-first-defi/dont-let-your-trading-become-the-recipe-of-someones-sandwich.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
