• Home
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • XRP
    • Litecoin
    • Altcoin
    • Cardano
    • Tether
    • DOGE
    • Solano
    • XLM
    • DOT
    • XDC
    • SHIBA
    • BNB
    • Ape
    • HBAR
    • QNT
  • Blockchain
  • Regulation
  • Market
  • Live
    • Prices
    • ICO
  • Meta
    • NFT
  • Technical Analysis
    • XRP
    • BTC
    • XLM
    • ADA
    • TETHER
    • ETC
    • ETH
    • DOGE
    • LTC
  • Exchange
  • Mining
Monday, March 27, 2023
  • Login
  • Register
Coin24h.com
  • Home
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • XRP
    • Litecoin
    • Altcoin
    • Cardano
    • Tether
    • DOGE
    • Solano
    • XLM
    • DOT
    • XDC
    • SHIBA
    • BNB
    • Ape
    • HBAR
    • QNT
  • Blockchain
  • Regulation
  • Market
  • Live
    • Prices
    • ICO
  • Meta
    • NFT
  • Technical Analysis
    • XRP
    • BTC
    • XLM
    • ADA
    • TETHER
    • ETC
    • ETH
    • DOGE
    • LTC
  • Exchange
  • Mining
No Result
View All Result
  • Home
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • XRP
    • Litecoin
    • Altcoin
    • Cardano
    • Tether
    • DOGE
    • Solano
    • XLM
    • DOT
    • XDC
    • SHIBA
    • BNB
    • Ape
    • HBAR
    • QNT
  • Blockchain
  • Regulation
  • Market
  • Live
    • Prices
    • ICO
  • Meta
    • NFT
  • Technical Analysis
    • XRP
    • BTC
    • XLM
    • ADA
    • TETHER
    • ETC
    • ETH
    • DOGE
    • LTC
  • Exchange
  • Mining
No Result
View All Result
Coin24h.com
No Result
View All Result
Ledger Nano X - The secure hardware wallet
ADVERTISEMENT

New Research Sheds Light on the Front-Running Bots in Ethereum’s Dark Forest

29 December 2020
in Blockchain
Reading Time: 6 mins read
A A
0
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter
cryptotrader
ADVERTISEMENT


New research from the cryptocurrency wallet ZenGo has shed additional light on front-running attacks happening on the Ethereum blockchain. 

First outlined in “Ethereum Is a Dark Forest,” DeFi investors Dan Robinson and Georgios Konstantopoulos called attention to a variety of attacks by bots that were roving the Ethereum blockchain in search of prey. 

The new report from ZenGo outlines how the researchers identified and isolated generalized front-running bots while evaluating their efficiency and how likely a transaction is to get hunted down, while also testing how to evade them. 

“Front-running in general is not something new on Ethereum,” said Alex Manuskin, a blockchain researcher at ZenGo, who conducted the research. “The novelty here is that we looked at bots that seek any profit, even in contracts they have never seen before, and even if these contracts are quite complex, and perform several internal calls to other contracts.”

Front-running

Cryptohopper
ADVERTISEMENT

The ZenGo report described front-running as the “act of getting a transaction first in line in the execution queue, right before a known future transaction occurs.” 

An exchange bid is an example of front-running. If someone is about to buy a large amount of ETH on Uniswap, to such an extent that it would drive the price higher, one way to cash in would be to buy ETH right before the large purchase goes through, then sell immediately after. 

Ethereum front-running happens because bots are able to bid “a slightly higher gas price on a transaction, incentivizing miners to place earlier in the order when constructing the block. The higher paying transactions are executed first. Thus if two transactions making a profit from the same contract call are placed in the same block, only the first takes the profit, “ write the researchers. 

“Under the surface of every transaction that finds its way to the blockchain, there are fierce wars over every bit of profit,” said Manuskin. “If you happened to come across an arbitrage opportunity, or even notice an error in some contract, it is very likely that it will be hard to extract this value without either operating a bot yourself to fend off the front-runners, connecting to and paying a miner to conceal your golden goose transaction, or making the transaction complex enough for the front-runners to not notice.”

Luring a bot

Related articles

First Citizens Nearing Deal for Silicon Valley Bank: Bloomberg

First Citizens Nearing Deal for Silicon Valley Bank: Bloomberg

27 March 2023
Crypto Pundits Romance the Hyperinflation and Dollar Death Narrative. Is It a Real Scare?

Crypto Pundits Romance the Hyperinflation and Dollar Death Narrative. Is It a Real Scare?

24 March 2023

The researchers set out to attract a generalized front-running bot. In order to achieve this, they had to put enough funds into their honeypot transaction to make it attractive to such a bot.

“This time, we had a hit,” the researchers wrote. “The transaction was pending for ~3 minutes before it was mined, without getting value from the honeypot contract. Looking at the contract’s internal transaction, we could see the funds went to someone else. 

The front-runner’s transaction had used slightly more gwei, the smallest unit of ether, (0.000001111 gwei more, to be precise) and was mined in the same block as their attempted abstraction. 

Crypto markets are lit markets, by definition. So predators can see the prey coming. The prey can see them, too – but the prey cannot escape. When you submit an Ethereum) transaction, it must wait in that mempool until a miner picks it up. It has nowhere else to go. So it is, to coin a phrase, a “sitting duck.” Every predator in the pool can see it. It inevitably gets replicated, front-run or otherwise stolen. The wonder is that any legitimate transactions ever get verified at all

Frances Coppola

Once they’d identified the bot, they were able to track how much it had pulled in since the start of its operations. Using Dune Analytics, they estimated the bot started operating in May of 2018, and surmised it had raked in about $10k in ETH in total. While that may not seem initially like a high amount, remember, one individual can create any number of bots to act on their behalf.

(ZenGo)
Source: Dune Analytics

Another bot, which the researchers attracted with a slightly larger honeypot transaction, was more sophisticated. When the researchers tried to extract the funds from their bait transaction, they obscured their call by means of a proxy contract. This type of contract function involves a totally separate contract and does not publish to the public blockchain 

They “deployed the ProxyTaker contract and called the appropriate function in an attempt to extract our funds.”

The transaction was quickly front-run by another bot.

“This time it was far more impressive,” they wrote. “Not only was the bot able to detect our extraction transaction, but it identified it from within an internal call, from a completely different contract! Accomplishing this in a record-breaking time. Our extraction transaction was mined in a few seconds (and so was the bot’s).”

This bot was much more sophisticated and focused not just on ETH transactions; rather, it performed a variety of arbitrage transactions involving multiple currencies. 

Viewing the account collecting the funds, the researchers found it was much more successful than the previous bot and was holding 300 ETH, or $180K at the time of publication.  

Results from tracking the bot

The research shed light on the methods of some fairly sophisticated bots combing the blockchain for profitable transactions, though other bots may have varying behavior parameters. 

“Factors such as potential upside, communication patterns, and minimum complexity (e.g., gas limit), among others, likely impact the way they operate,” they wrote. 

Manuskin said that there is still a lot of research that needed to be done, but he did have some high-level takeaways. 

“Generalized front-runners are more prominent than one might think,” he said. “Any contract call that can bring profit to anyone who calls it is very likely to be front-run by these generalized front-runners.”

Additionally, he found that avoiding detection by the front-runners is possible, but is not easy. 

“Each operates differently and might be triggered by different factors of the transaction,” he said. “The bots themselves are in competition with each other over who gets the reward. This is only the tip of the iceberg in the full picture of the bots out there, which makes it even more interesting.”



Source link

[crypto-donation-box]
Tags: BotsDarkEthereumsForestFrontRunningLightResearchSheds
Share76Tweet47
Ledger Nano X - The secure hardware wallet
Previous Post

Market Wrap: Bitcoin Down to $26K but Traders Remain Bullish

Next Post

Crypto.com to Delist, Suspend XRP in the US After SEC’s Ripple Suit – Yahoo Finance

Related Posts

First Citizens Nearing Deal for Silicon Valley Bank: Bloomberg

First Citizens Nearing Deal for Silicon Valley Bank: Bloomberg

27 March 2023
0

While Silicon Valley Bank didn't provide fiat on-ramps to exchanges, like Silvergate or Signature bank, a number of key crypto...

Crypto Pundits Romance the Hyperinflation and Dollar Death Narrative. Is It a Real Scare?

Crypto Pundits Romance the Hyperinflation and Dollar Death Narrative. Is It a Real Scare?

24 March 2023
0

“In the event of a widespread banking panic, which seems unlikely at this time, there will probably be the typical...

Bitcoin Edges Below $28K as Investors Weigh Deutsche Bank Contagion Fears

Bitcoin Edges Below $28K as Investors Weigh Deutsche Bank Contagion Fears

24 March 2023
0

Bitcoin (BTC), the largest cryptocurrency by market capitalization, was recently changing hands at about $27,450, down more than 2% over...

Bitcoin From Defunct BTC-e Exchange on the Move Again: Report

Bitcoin From Defunct BTC-e Exchange on the Move Again: Report

24 March 2023
0

Soon after BTC-e stopped operations, its successor, WEX, appealed to the BTC-e users, offering to resume trading from their accounts...

Federal Reserve Says Custodia’s Crypto-Focused Business Model Is ‘Inconsistent’ With Approval

Federal Reserve Says Custodia’s Crypto-Focused Business Model Is ‘Inconsistent’ With Approval

24 March 2023
0

The Federal Reserve Board argued that Custodia Bank’s proposed business model was “inconsistent” with approval in an order explaining its...

Load More
Next Post

Crypto.com to Delist, Suspend XRP in the US After SEC’s Ripple Suit - Yahoo Finance

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

We publish a comprehensive news feed covering all news relevant to the crypto user, covering main industry news, politics and regulation as well as consumer-level “news you can use” (practical stuff), including handy DIY tips, links to useful tools, unbiased reviews and opinions revolving around cryptocurrency. Simple logic and real-world examples are preferred before technical jargon and personal rants.

Categories

  • Altcoin
  • ApeCoin
  • Bitcoin
  • Blockchain
  • BNB
  • Cardano
  • Cryptocurrency
  • DOGE
  • DOT
  • Ethereum
  • HBAR
  • Litecoin
  • Market
  • Meta News
  • Mining
  • NFT
  • QNT
  • Regulation
  • SHIBA
  • Solano
  • Tether
  • Uncategorized
  • XDC
  • XLM
  • XRP

What’s New Here!

  • ARK Invest Scoops Up Coinbase, Block Shares for Second Straight Day
  • First Citizens Nearing Deal for Silicon Valley Bank: Bloomberg
  • NVIDIA says cryptocurrencies do not ‘bring anything useful for society’

Newsletter

  • About Us
  • Privacy Policy
  • Contact Us

© 2022 coin24h.com

No Result
View All Result
  • Home
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • XRP
    • Litecoin
    • Altcoin
    • Cardano
    • Tether
    • DOGE
    • Solano
    • XLM
    • DOT
    • XDC
    • SHIBA
    • BNB
    • Ape
    • HBAR
    • QNT
  • Blockchain
  • Regulation
  • Market
  • Live
    • Prices
    • ICO
  • Meta
    • NFT
  • Technical Analysis
    • XRP
    • BTC
    • XLM
    • ADA
    • TETHER
    • ETC
    • ETH
    • DOGE
    • LTC
  • Exchange
  • Mining

© 2020 coin24h.com

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
  • bitcoinBitcoin(BTC)$27,939.000.65%
  • ethereumEthereum(ETH)$1,768.600.28%
  • tetherTether(USDT)$1.00-0.48%
  • binancecoinBNB(BNB)$328.590.92%
  • usd-coinUSD Coin(USDC)$1.00-0.50%
  • rippleXRP(XRP)$0.4556280.70%
  • cardanoCardano(ADA)$0.353565-1.13%
  • staked-etherLido Staked Ether(STETH)$1,764.950.33%
  • dogecoinDogecoin(DOGE)$0.073978-1.37%
  • matic-networkPolygon(MATIC)$1.100.60%
  • binance-usdBinance USD(BUSD)$1.00-0.49%
  • solanaSolana(SOL)$20.70-0.45%
  • polkadotPolkadot(DOT)$6.020.23%
  • litecoinLitecoin(LTC)$92.56-1.28%
  • shiba-inuShiba Inu(SHIB)$0.0000110.07%
  • tronTRON(TRX)$0.064496-0.65%
  • avalanche-2Avalanche(AVAX)$16.94-0.98%
  • daiDai(DAI)$1.00-0.30%
  • uniswapUniswap(UNI)$5.770.02%
  • wrapped-bitcoinWrapped Bitcoin(WBTC)$27,958.000.68%
  • chainlinkChainlink(LINK)$7.180.10%
  • cosmosCosmos Hub(ATOM)$11.20-0.47%
  • leo-tokenLEO Token(LEO)$3.472.20%
  • ToncoinToncoin(TON)$2.10-0.35%
  • moneroMonero(XMR)$159.02-3.60%
  • ethereum-classicEthereum Classic(ETC)$20.13-0.53%
  • okbOKB(OKB)$41.960.47%
  • stellarStellar(XLM)$0.092085-0.27%
  • bitcoin-cashBitcoin Cash(BCH)$124.23-1.15%
  • filecoinFilecoin(FIL)$5.621.96%
  • AptosAptos(APT)$11.830.85%
  • true-usdTrueUSD(TUSD)$1.00-0.55%
  • hedera-hashgraphHedera(HBAR)$0.0613911.07%
  • lido-daoLido DAO(LDO)$2.152.83%
  • quant-networkQuant(QNT)$122.55-0.42%
  • crypto-com-chainCronos(CRO)$0.068416-1.63%
  • nearNEAR Protocol(NEAR)$1.94-0.47%
  • vechainVeChain(VET)$0.022868-0.49%
  • ArbitrumArbitrum(ARB)$1.294.55%
  • algorandAlgorand(ALGO)$0.2099670.12%
  • apecoinApeCoin(APE)$4.03-4.00%
  • internet-computerInternet Computer(ICP)$4.950.01%
  • blockstackStacks(STX)$0.971.70%
  • eosEOS(EOS)$1.13-0.20%
  • the-graphThe Graph(GRT)$0.140226-0.03%
  • fantomFantom(FTM)$0.438166-0.83%
  • the-sandboxThe Sandbox(SAND)$0.63-0.31%
  • decentralandDecentraland(MANA)$0.59-0.18%
  • elrond-erd-2MultiversX(EGLD)$42.45-0.29%
  • tezosTezos(XTZ)$1.151.52%