DEX aggregator 1inch to protect MetaMask users from frontrunning

Partner offers
The Block may may earn a commission if you use our partner offers, at no extra cost to you.

Quick Take

  • Decentralized exchange aggregator 1inch is introducing a new feature designed to protect against a type of frontrunning.
  • If 1inch detects that a transaction may be attacked in this way, it will send it directly to a validator.

Decentralized exchange aggregator 1inch is introducing a feature called RabbitHole that's designed to prevent MetaMask users from getting hit by a certain form of frontrunning.

The issue at hand is sandwich attacks. This is where a trader frontruns a large buy order by buying the token first, pushing up the price. Once the buy order goes through, the token's price rises higher, at which point the trader sells at the higher price (or vice versa for the whole maneuver). It results in the victim seeing the trade executed at a worse price.

The reason this happens is because blockchain transactions are typically broadcast to the network as a whole and there is a period of time before they are included in blocks in the chain. As a result, traders who are able to get their transactions into the chain first — through a range of different methods — are able to frontrun transactions, if it's profitable enough.

RabbitHole checks for transactions that are likely to be subject to such sandwich attacks. If it determines a transaction is likely to be attacked in this way, it uses an alternative method to get the transaction into the blockchain. It submits the transaction directly to a validator, such as Flashbots, avoiding it being broadcast publicly.

RabbitHole is designed for MetaMask users and will initially be free to use. Depending on community opinion, 1nch may monetize the feature in the future.


© 2025 The Block. All Rights Reserved. This article is provided for informational purposes only. It is not offered or intended to be used as legal, tax, investment, financial, or other advice.

AUTHOR

Tim Copeland is the Head of Growth at The Block and host of The Crypto Beat, a live-streaming podcast. He was previously the company's Editor-in-Chief and spent seven years covering the industry as a journalist. Prior to joining The Block, Tim was a news editor at Decrypt. He earned a bachelor's degree in philosophy from the University of York and studied news journalism at Press Association Training. Follow him on X @Timccopeland.

See More
Connect on

Editor

To contact the editor of this story: Mike Millard at [email protected]

WHO WE ARE

The Block is a news provider that strives to be the first and final word on digital assets news, research, and data.

+ Follow us on Google News
Connect with the block on

More by Tim Copeland