Solana transactions are validated on a first come first serve basis. Your transaction will sit in a queue based on how much you tip the validator.
If you dont tip much, and you set your slippage too high, bots can and will take advantage.
The bots will sandwich your transaction by buying an amount and using a big enough tip to set the validation priority before your transaction.
They will try to cause your buy to hit your maximum slippage, so you buy at a higher price and raise the price of the coin.
After they bought right before you, and you raise the overall price of the coin, the bot will immediately sandwich your transaction by selling.
So your experience as a person being sandwiched is that you will experience slippage failures, and if your sale does go through it will be for the maximum silppage. You will then immediately see the price drop.
The sandwich:
1. Bot buys before before you.
2. Your buy executes at a higher price
3. Bot sells immediately after you.
Larger trades with high slippage are very vulnerable to being sandwiched due to greater price impact.
Be careful out there, the bots are crafty.