Coinbase Earned $1M Amid Hack, but Hasn't Reimbursed Victims

Coinbase received 570 ETH, the second-largest payout tied to MEV in Ethereum’s history, to process transactions related to the Curve exploit.

AccessTimeIconSep 15, 2023 at 1:19 p.m. UTC
Updated Apr 8, 2024 at 9:49 p.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now
  • The $73 million Curve exploit in July briefly pushed prices on the DeFi platform out of whack, and a trading bot paid 570 ETH to ensure it could take advantage of that once-in-a-lifetime arbitrage opportunity.
  • The Ethereum validator that received that payment was apparently run by Coinbase, making it an unwitting beneficiary of the incident.
  • Exploit victim Alchemix reached out to Coinbase to seek a refund for victims, but the crypto exchange has evidently not turned over the money.

An exploiter’s July attack on decentralized finance giant Curve Finance roiled the entire DeFi market. Much of the stolen money has been returned, but not everyone has been made whole.

One titan of crypto, though – Coinbase, the largest U.S. exchange – is sitting on a roughly $1 million profit tied to the incident, according to market participants and observers. It hasn’t surrendered this inadvertent windfall to victims. And, to be clear, it’s currently not obligated to.

The bizarre situation stems from a quirky feature of the DeFi economy’s infrastructure.

When $73 million worth of assets were stolen from Curve, the platform’s asset-pricing system was briefly thrown out of whack. A trading bot noticed this once-in-a-lifetime arbitrage opportunity and pounced, paying 570 ETH (worth $1.06 million at the time) to make sure an Ethereum blockchain validator processed its trade as quickly as possible. It was the second-biggest payment ever tied to the practice known as MEV.

Validators run the Ethereum network, and there are many of them. In this case, Coinbase was the validator that received the payment, according to Alchemix, which lost money during the Curve exploit, and data from Nansen that shows Coinbase was the recipient of the money.

While the bulk of the $73 million in assets lost in the Curve hack has been recouped, the Alchemix protocol – which saw $22 million of its Curve-based tokens looted by the hacker – said that Coinbase has turned down requests to send back the money it earned as a result of the heist.

“Coinbase has shown no willingness to return the funds, despite knowingly benefitting directly from the exploit,” Alchemix told CoinDesk in a statement.

Alchemix, which argues Coinbase is keeping stolen money, says Coinbase representatives have told it there’s no legal requirement for it to reimburse anyone.

A Coinbase spokesperson said the company has “nothing additional to share at this time” and declined a request to comment.

The controversy underscores the tension between the free-wheeling, “code is law” ideals of blockchain-based finance and the frustrating lack of recourse for victims of crypto theft.

Some $735 million worth of digital assets have been stolen in hacks this year, according to DefiLlama; The ubiquity of crypto exploits – and the difficulty of recovering funds after they occur – is frequently cited as a key deterrent for would-be users of the technology.

The Coinbase-Curve saga provides a unique window into the messy process of asset-recovery that follows most crypto hacks. The convoluted world of crypto trading algorithms and spur-of-the-moment arbitrage opportunities can make it hard to trace where funds end up after they’re stolen from a crypto protocol. Frequently, the biggest beneficiaries of a crypto heist end up in that position by accident – earning surprise fees in exchange for running certain kinds of blockchain infrastructure.

This is the situation that Coinbase finds itself in. Whether or not the company should reimburse Curve victims with funds it earned as a result of the heist – or whether those funds are even “dirty money” in the first place – is largely a matter of interpretation.

How Coinbase gained from the Curve hack

The July 30 attack on Curve exploited a bug in the code for certain liquidity pools – baskets of cryptocurrency loaned out by users of the platform to help facilitate “decentralized” token swaps. A total of $73 million of assets were lost, and the event roiled the broader cryptocurrency markets due to Curve’s position as a cornerstone of Ethereum’s DeFi ecosystem.

One of the pools drained in the attack contained ether (ETH) and alETH, an ether derivative issued by Alchemix, a DeFi lending platform. Before the attack, the pool held 7,259 ETH and 4,822 alETH, Alchemix said. Then, the exploiter drained the majority of the tokens, leaving only 1 ETH and 3,856 alETH.

Traders use liquidity pools to swap between tokens, and the exchange rate between any two tokens in a pool is set by the ratio of assets in that pool.

Following the Curve exploit, the massive imbalance between ETH and alETH tokens in the ETH/alETH pool created an arbitrage opportunity – opening up the ability for savvy traders to purchase alETH at a steep discount. A trading robot noticed the opportunity and bought up the remaining alETH in the pool for a pittance – quickly selling them off for frxETH (another ETH derivative), which it then swapped for ETH, blockchain data shows.

Fund flows of the arbitrage trade (Blocksec)
Fund flows of the arbitrage trade (Blocksec)

The trading bot only netted 43 ETH from the transactions. Most of the profits from the trade went to the validator – in this case, Coinbase’s – that wrote the transaction into Ethereum’s ledger. The unusually large fee of 570 ETH, according to blockchain data, served as an incentive to persuade the validator to automatically prioritize the bot’s transaction ahead of others looking to make the same trade.

This controversial practice of strategically ordering blockchain transactions to profit off of spur-of-the-moment trading opportunities is called maximal extractable value (MEV). The alETH arbitrage fee marked the second-highest MEV payout for a single transaction in the Ethereum blockchain’s history, according to a report from Flashbots, a leading MEV firm.

No refund

SingleQuoteLightGreenSingleQuoteLightGreen
“It’s crazy ... I’ve tried negotiating with them and spoken on the phone, but they won't return the funds even after admitting it’s stolen.”
SingleQuoteLightGreenSingleQuoteLightGreen
Pseudonymous blockchain sleuth Ogle

Following a public bounty and an ultimatum, the Curve exploiter returned all $22 million worth of stolen ETH and alETH to Alchemix. White hats – good-faith actors that front-ran the hacker and drained the funds themselves before they could be stolen – also sent back $13 million worth of assets, CoinDesk reported.

Though they were not obligated to, a trading bot operator known as c0ffeebabe.eth returned 2,879 ETH – worth nearly $5.5 million – to Curve.

The arbitrage trading bot that profited from the alETH imbalance – the transaction Coinbase earned $1 million from – gave back its 43-ETH profit after the Alchemix team asked for it.

But Alchemix says Coinbase has not done likewise.

“It’s crazy,” pseudonymous blockchain sleuth Ogle, founder of Ogle Security Group that specializes in asset recovery from crypto thefts including the Curve exploit, said in a Telegram message. “I’ve tried negotiating with them and spoken on the phone, but they won’t return the funds even after admitting it’s stolen.”

“They are citing neutrality and decentralization and quoted some slippery slope arguments like saying they can’t be expected to prevent all crime on the blockchain, highways aren’t responsible for people that commit crimes on them, etc.,” said Ov3rkoalafied, an Alchemix contributor who also attended a call with Coinbase.

“It’s a bad analogy because they are not a public good, and they directly profit from these operations,” he added. “If someone uses your product for crime and you are unaware, you cannot be held responsible. But if you receive a report of a specific crime being committed and knowingly profit off it, you are expected to return those funds.”

UPDATE (Sept. 15, 2023, 16:45 UTC): Adds Nansen data in the fifth paragraph.

Edited by Sam Kessler and Nick Baker.

Disclosure

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by Block.one; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.

Krisztian  Sandor

Krisztian Sandor is a reporter on the U.S. markets team focusing on stablecoins and institutional investment. He holds BTC and ETH.


Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.