1inch releases new tool to protect traders against ‘sandwich attacks’

Published at: Nov. 25, 2022

Exchange aggregator 1inch released a new tool called “Rabbithole” on Nov. 25, which the company says will protect traders against malicious “sandwich attacks.” The team announced the launch of the tool in a press release that has been made available to Cointelegraph.

Rabbithole works by allowing users to submit transactions directly to Ethereum nodes, bypassing the mempool. In order to use it, users need to change the remote procedure call (RPC) endpoint in their crypto wallet. After that, each swap initiated via 1inch will be analyzed by the private tx routing algorithm developed by the 1inch team and then sent to validators directly if there is a possibility of a sandwich attack.

According to the press release, a “sandwich attack” is a type of crypto font-running that consists of three steps:

The attacker scans the blockchain’s mempool until it finds a high-value transactionA transaction is submitted to front-run the victim’s purchase, and higher gas is paid to make sure that the attacker’s transaction gets processed before the victim’s. This early transaction pumps the price of the coin that is about to be purchased, causing the victim to pay moreAfter the victim’s transaction is processed, the attacker submits a second transaction that sells their coins, pocketing the difference in price

This type of attack is so named because it “sandwiches” the victim’s transaction between two transactions submitted by the attacker.

According to a report by TarLogic, titled, “Tracking Ethereum blockchain crypto attackers: Measuring sandwich attacks,” over 60,000 Ether (ETH) was lost from sandwich attacks from May 2020 to April 2022 — a value of over $72,000 at the time of publication.

The crypto R&D team, Flashbots, had previously released a python library that allowed users to submit transactions directly to nodes. However, this library could only be used in a developer environment. According to 1inch, Rabbithole is a library that works similarly to Flashbots, but it also includes a consumer-friendly frontend for users.

Rabbithole is the latest in a string of upgrades to the 1inch decentralized exchange (DEX) aggregator. In August 2021, the team launched an Ethereum layer 2 version on Optimism and in November 2021, a new mainnet router to optimize gas costs was implemented.

Tags
Related Posts
Traditional finance has much to learn from new entrant DeFi
Incumbents in traditional capital markets, as well as new entrants looking to capture market share, should heed the innovations within the crypto ecosystem collectively known as decentralized finance, or DeFi. These innovations present a model for the direction that traditional capital markets are likely to take in the coming years as regulation catches up with the capabilities of distributed ledger technology, or DLT, and as the technology itself is refined through “in-the-wild” usage. Decentralized exchange protocols, also known as automated market makers, or AMMs, are one of these innovations that has been widely adopted in the crypto space. Real-time settlement …
Decentralization / May 15, 2021
DAOs, DEXs and whales? How Web3 organizations became the new crypto beasts
Web3 has brought a lot of excitement into the industry, as evidenced by the nearly $50 billion market capitalization Web3 tokens have grown in recent years. The very ethos of Web3 is one of its most attractive traits. It is an ecosystem free from barriers or intermediaries, welcoming to anyone from anywhere and open anytime. However, there is one massive problem: There is no infrastructure within decentralized finance (DeFi) robust enough to execute these large orders in an entirely decentralized manner, as the use of centralized exchanges contradicts the decentralized nature of the decentralized autonomous organization, or DAO. Let’s unpack …
Blockchain / May 15, 2022
Identity is the antidote for DEXs’ regulation problem
Regulators from Europe, the United States and elsewhere are busily hammering out details on how to designate decentralized exchanges (DEXs) as “brokers,” transaction agents or similar entities that affect a transfer and cooperate with each other. The U.S. called for multinational cooperation in its executive order on responsible digital asset development, as did the European Union with its recent Financial Stability and Integration Review. And that is just what’s publicly accessible. Behind the scenes, the whisper of regulation is getting louder. Did anyone notice that all the Know Your Customer (KYC) requirements have been laid on smaller centralized exchanges in …
Blockchain / May 29, 2022
1inch seeks to optimize gas costs with its new v5 router
According to 1inch, users' gas costs for swaps will be at least 10% lower than its previous offerings in the DEX segment, thereby, making swapping activity on the Ethereum network more profitable for its users. In the Router v5, 1inch estimated that swaps will be approximately 5% more gas efficient than in the previous version, and 10% more gas efficient, compared to the second best performing player in the DEX segment. New features and improvements made to the Router v5 from previous routers include; a new interaction logic, pre-/post-interactions, and an improved smart contract error processing system. The new edition …
Technology / Nov. 15, 2022
Trader Joe takes its first step into the Ethereum ecosystem
Decentralized finance (DeFi) protocol Trader Joe has announced its very first expansion from Avalanche and onto the Ethereum ecosystem, as part of its plans to access new markets and drive up user activity. The decentralized trading platform announced its “multi-chain” expansion into Ethereum layer-2 scaling solution Arbitrum One on Dec. 1 and follows around a month after it stated its intention to expand to additional markets and ink new partnerships amid falling TVL and user activity in the third quarter. We're extremely excited to announce that @traderjoe_xyz has expanded into the Ethereum ecosystem with Arbitrum One as its destination! ‍ …
Adoption / Dec. 2, 2022