How a Bot Gained and Lost Over $1 Million of ETH in One Night

South Africa News News

How a Bot Gained and Lost Over $1 Million of ETH in One Night
South Africa Latest News,South Africa Headlines
  • 📰 Crypto_Potato
  • ⏱ Reading Time:
  • 40 sec. here
  • 2 min. at publisher
  • 📊 Quality Score:
  • News: 19%
  • Publisher: 51%

An MEV bot capitalized on a great arbitrage opportunity but lost its treasure due to bad code.

On Tuesday night, an Ethereum MEV bot gained 800 ETH through the use of clever arbitrage, only to lose all of it and more to a hacker an hour later.The event began with a third-party trader mistakenly losing nearly $2 million to spreads on Uniswap v2 trade. While he initially traded in 1.8 million cUSDC, he onlyAccording to Flashbots Product Lead Robert Miller, this only created a “massive arbitrage opportunity” for another trader to swoop in and claim plenty of ETH.

“0xbaDc0dE [the MEV bot] dutifully backran the arb in the mempool in a looong arb touching many protocols,” he explained. In the end, the bot netted 800 ETH. However, that ETH was entirely stolen just an hour later. Miller claims the bot didn’t properly protect the function it’s used to execute dydx flashloans, leaving it vulnerable.

“When you get a flashloan the protocol you’re borrowing from will call a standardized function on your contract,” he said. “0xbaDc0dE’s code unfortunately allowed for arbitrary execution.” Using this vulnerability, an attacker approved all of the bot’s WETH for spending on the contract, then transferred it to his own address. That was 1,106 WETH in total, worth over $1.4 million at writing time.of roughly $1 million in ETH this month.

We have summarized this news so that you can read it quickly. If you are interested in the news, you can read the full text here. Read more:

Crypto_Potato /  🏆 568. in US

South Africa Latest News, South Africa Headlines

Similar News:You can also read news stories similar to this one that we have collected from other news sources.

DreamBall’s Big ReturnDreamBall’s Big ReturnOver $1 million was raised for Look Good Feel Better at the organization's first live event since 2019.
Read more »

A’s loss is a historic win for MarinersA’s loss is a historic win for MarinersMariners headed to playoffs for first time since 2001 after beating A’s 2-1
Read more »

‘Smile’ Sees $2M In Previews, ‘Don’t Worry Darling’ Ends First Week With $25.5M+ – Box Office‘Smile’ Sees $2M In Previews, ‘Don’t Worry Darling’ Ends First Week With $25.5M+ – Box OfficeParamount’s horror movie Smile struck up $2M in Thursday night previews that started at 7 p.m., a figure that’s just above M. Night Shyamalan’s Old from summer 2021, which did $1.…
Read more »

Oakland A’s spoil Ohtani’s no-hit bid, but can’t avoid 100th loss of seasonOakland A’s spoil Ohtani’s no-hit bid, but can’t avoid 100th loss of seasonThe 2022 A’s join the 1979 squad as the only teams to lose 100 games in the franchise’s 54 seasons in Oakland.
Read more »



Render Time: 2025-08-28 00:49:10