Orca Crypto
Security term

Sandwich attack

A bot buys before your swap and sells after it, taking the difference.

All terms
All termsAddressBlockBlock timeBlockchainConfirmationGasGweiHashMempoolNodePrivate keyPublic keySeed phraseTransactionWalletAll time high (ATH)Bear marketBull marketCandlestickCapitulationChart patternsDollar cost averaging (DCA)Funding rateLeverageLimit orderLiquidationLiquidityMarket capMarket orderOrder bookPosition sizingRisk managementSlippageSpreadSupport and resistanceTrendVolatilityVolumeWhaleAMMBridgeCEXDAODeFiDepegDEXFlash loanGovernance tokenImpermanent lossLiquidity poolLP tokenOraclePerpetual (perp)RestakingRWAStablecoinTVLWrapped tokenYield farmingAirdropAlphaApe inBagholderDegenDiamond handsFloor priceFOMOFUDGMHODLMaxiMeme coinMoonNFTNGMINormiePaper handsPFPRektShillSnapshotWAGMIAddress poisoningCold storageCustodyDue diligence (DYOR)Dusting attackExit scamFront runningHardware walletHoneypotHot walletMEVMultisigPhishingPump and dumpRug pullSandwich attackSelf custodySIM swapToken approvalTwo factor authenticationWallet drainerWash tradingAccount abstractionAppchainBlock explorerCirculating and total supplyConsensusData availabilityEVMFaucetFinalityForkFully diluted valuation (FDV)Gas warHalvingLayer 1Layer 2Layer 3MainnetMiningName serviceOptimistic rollupProof of stakeProof of workRollupShardingSidechainSlashingSmart contractStakingTestnetToken standardTokenomicsValidatorZero knowledge proofZK rollupArweave and the permawebComposabilityCross chain messagingdAppDecentralized identity (DID)DePINGameFi and play to earnIndexerInteroperabilityIPFSOnchain and offchainSession keysSmart accountSocialFiSoulbound tokenSybil resistanceToken gatingWeb2 vs Web3Web3
Updated 2026-08-303 min readDefinition
Definition

A bot buys before your swap and sells after it, taking the difference.

The bot sees your pending swap in the mempool. It buys the token first, pushing the price up, lets your trade execute at that worse price, then sells immediately after.

Your slippage tolerance sets the ceiling on how much they can take. A high tolerance is an open invitation.

In practice

Keep slippage as tight as the trade allows, and use protected routing like 1inch Fusion or a private relay for larger swaps.

Where to go next

More security terms

Back to the full encyclopedia

Want this explained out loud?

Some of these land faster in conversation than in writing. Sessions are one to one and you can ask anything, including the things that feel too obvious to ask.