Home NovaAstrax 360 Understanding sandwich attacks and the role of protocol-level defenses in THORChain

    Understanding sandwich attacks and the role of protocol-level defenses in THORChain

    The shift from public mempools to private infrastructure

    Many DeFi users have become complacent regarding sandwich attacks, assuming that the widespread adoption of private routing has eliminated the threat. While it is true that sandwich attacks have decreased in frequency, private routing acts only as a temporary patch on a fundamental protocol-level vulnerability. This fix has already demonstrated weaknesses, including data leaks and attacks occurring within private channels, suggesting that the problem has merely migrated from public view to private infrastructure.

    The Ethereum Foundation is currently investigating ways to combat toxic Maximal Extractable Value (MEV) directly at the protocol level. Meanwhile, THORChain serves as a practical model; its swap-ordering system has successfully prevented traditional sandwich attacks for years, safeguarding over 1.1 million unique wallets.

    The evolution of sandwich attacks

    Data indicates a decline in sandwich activity on Ethereum, with the percentage of blocks containing such trades falling from nearly two-thirds in 2024 to approximately one-fifth by mid-2026. According to EigenPhi, monthly extraction dropped from nearly $10 million in late 2024 to $2.5 million by October 2025. By mid-2026, a single operator, jaredfromsubway.eth, was responsible for 70% to 85% of priority fees related to these attacks, as reported by Greenfield Capital. Despite this consolidation, sandwiching still accounts for 35% to 51% of MEV-related priority fees, and more than 12,000 wallets are affected weekly on Ethereum.

    Similar patterns are evident on other networks. On Solana, daily attacks dropped from over 15,000 in early 2025 to roughly 1,000 by June 2025, before rebounding to nearly 5,000 per day in summer 2026. Notably, stablecoins have become the primary target, accounting for over 50% of recent sandwich activity.

    The limitations of current protections

    The rise of private order flow—which accounted for 92% of Ethereum DEX volume by August 2026—has driven the decline in public attacks. However, this shift introduces new risks. Security incidents have occurred, such as the Flashbots metadata leak in 2023, the Jito validator bans in October 2025, and CoW Protocol investigations into private RPC leaks in March 2026. These events highlight that relying on intermediaries to hide transactions is an insufficient long-term solution.

    THORChain and protocol-level security

    THORChain prevents sandwich attacks by ignoring priority fee auctions. Instead, it uses a queue where swaps are ranked based on a slip-based liquidity fee. Because this fee scales quadratically with trade size and is paid to the liquidity pool rather than the validator, it makes the economics of a sandwich attack unviable. Even with the introduction of streaming swaps, which break large orders into smaller slices, the protocol maintains protection by requiring attackers to front-run and back-run every sub-swap, paying fees on each leg that outweigh the potential profits.

    Why it matters

    The transition from public mempools to private transaction routing has proven to be a fragile defense that introduces new centralized points of failure. By embedding swap-ordering logic directly into the protocol, THORChain demonstrates that preventing toxic MEV is possible through economic design rather than just transaction obfuscation. This approach offers a more sustainable path toward network neutrality and user protection in decentralized finance.

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here