Flashbots Transparency Report: MEV-Share, Relay exploits, Shapella and REV

Overview

The dark forest of MEV continues to be highly active, with mysterious crusaders ready to strike, and innovative solutions emerging to safeguard users’ privacy and redirect MEV. The past few weeks have been exceptionally vibrant resulting in yet another packed report summarizing developments, research, discussions, and events.

This edition will focus on the launch of MEV-Share, the exploit of an MEV-Boost relay, the Shapella upgrade and our improved Transparency Dashboard. I hope you enjoy!

Announcing MEV-Share beta

An initial release of the MEV-Share protocol has been released! MEV-Share is an important step in decentralizing the orderflow market and redistribute MEV back to users. It provides users the bargaining power to internalize the MEV they create by selectively sharing data about their transactions with searchers, who compete to include them in bundles. In order to mediate this exchange, MEV-Share introduces a new actor called the Matchmaker.


From Announcing MEV-share beta

The Matchmaker is being released as part of an early implementation of MEV-Share, encouraging experimentation and collaboration among users, wallets, dapps, searchers, builders, and other parties in the MEV supply chain. The Flashbots Matchmaker is actively under development and may experience service interruptions or API breaks as we add new features.

We invite actors in the MEV supply chain to join the Decentralized Orderflow Working Group to align community efforts towards research and development for the decentralized future of the MEV supply chain. Additional details can be found in the announcement.

Searching On MEV-Share

To get searchers up to speed on MEV-Share @brock and @shea published a guide exploring the ideas behind the protocol and what’s different compared to MEV-Boost and mev-geth. The post explains the new features of MEV-Share and gives both nstructions and examples of how searchers can access new orderflow and upgrade their strategies.

To begin searching on MEV-Share, you can use Flashbots’ example arbitrage bot to blindly backruns private transactions, or create your own strategies using a client library like matchmaker-ts.

See our updated documentation for information on how to connect as a user, how to get started as a searcher, and how to integrate MEV-Share into your wallet or dapp. Additional details can be found in the threads below going into MEV-Share and simple-blind-arbitrage by @bert, @shea and @brock:

If you are interested in collaborating with us on these research areas, please reach out here, and join the conversation on the MEV-Share protocol here!

Disclosure of metadata inadvertently shared through Protect Status API

On April 27th, Flashbots received a report from Martin Köppelmann that it was possible to view additional metadata (to, from, nonce, gas, and value) on Etherscan about pending transaction hashes shared at mev-share.flashbots.net.

It was not possible to view information on trade details and we have no evidence that Protect users were affected by this issue. The issue was active for one week and was resolved within 73 minutes of the report. We are dedicated to user privacy and trust, and remain committed to addressing incidents quickly and transparently. We appreciate any contributions, responsible disclosures and will make every effort to acknowledge your contributions, see our security policy for more details.

MEV-Boost

MEV-Boost-relay exploit

On April 3rd a vulnerability in the open sourced mev-boost-relay implementation, maintained by Flashbots, was exploited by a malicious proposer to manipulate the ultra sound relay and steal ~$20M from multiple sandwich bots.

The attack was possible due to a bug where the relay would reveal the block body to the proposer regardless of whether the signed block header from the proposer would be accepted by the network or not. With access to the block body the proposer could unbundle sandwiches they had baited searchers to create, and effectively steal their money. And by sending an invalid header to the relay, the proposer ensured that they would win the block equivocation race.

The vulnerability was patched in mev-boost-relay v1.0.0-alpha3 by requiring the relay to first send the block to the network and only release the block to the proposer if that succeeds. A small delay was also introduced to give the relay a head start against any later block a proposer could publish to accumulate the necessary attestations for the fork-choice rule.

A timeline of how the event unfolded and additional details can be found in the post mortem. In the days after the exploit, the network saw an increase in the number of forks.


Increase in forks following the exploit on April 3rd. From Metrika Consensus Performance dashboard

As noticeable in the chart above, the network experienced an increase in the number of missed proposals following Shapella on April 12th. The root cause was identified as an invalid signature bug in the Prysm client, leading to the proposer returning an invalid signature to the MEV-Boost relays which would then reject and not return a block.

A fix to the issue was released in v4.0.2 of Prysm. See the post-mortem from Prysm and Execution Layer Meeting 159 for additional information. @mikeneuder.eth and @metachris published a note, and a forum post with more insights from the relay perspective.

Additional issues in the Prysm client related to the external block builder code path and keymanager were identified shortly after and subsequently patched in v4.0.3.

Disclosure from low carb crusader

On April 21st the actor who executed the unbundling attack on April 3rd reached out and disclosed information about a new block equivocation strategy. Similar to the initial attack this strategy would allow a proposer to receive block bodies from relays and have a structural advantage in the block equivocation race against them. The strategy was never used in production and a patch to mitigate the issue is now live on all relays.

The disclosure also included a request from the attacker to be referred to as “low-carb-crusader”, instead of “sandwich the ripper”, which the address was previously tagged as. Timeline and more specifics on the event can be found in the forum post by @bert.

To ensure a healthy and robust MEV value chain we call on the security, research, and open source communities to join us in hardening MEV-Boost and future enshrined PBS designs.

  • Developers: Contribute to mev-boost relay implementations (mev-boost-relay, mev-relay, or Dreamboat) and mev-boost.
  • Security researchers: Audit mev-boost relay codebases and mev-boost, as well as contribute to designs for enshrined PBS.
  • Researchers: Contribute to medium term research (e.g. the Optimistic Relay roadmap for enshrined PBS) and long term research (PEPC, enshrined PBS).
  • Operators: consider running your own mev-boost relay.
  • Searchers: study your contracts and be mindful of the MEV they may expose in light of various risks in the MEV marketplace.
  • Others: Join MEV-Boost community calls.

Flashbots Transparency Dashboard

The Flashbots Transparency Dashboard has received a significant upgrade with post-merge data on REV (Realized Extractable Value) and a new series of charts. Our methodology has been refined to improve the accuracy of REV estimations; instead of using mev-inspect-py, the dashboard now examines the difference in the block proposer’s balance before and after a block is proposed.


From Will the real MEV please stand up?

We remain committed to providing transparency in the MEV ecosystem and supplying data for research to contributors and collaborators. If you are interested in collaborating on new methodologies or structures to quantify REV, we encourage you to join the conversation!


From Flashbots Transparency Dashboard: Over 175,000 ETH has been paid to proposers since the Merge.

Relay diversification

The diversification of the relay market continues with both Agnostic relay and the ultra sound relay delivering roughly the same number of blocks as the Flashbots relay in recent weeks.
There is still work to be done though and we are committed to foster an open, permissionless, and transparent MEV marketplace through open source, sharing our learnings and engaging in discussions.


Relay diversification since the Merge. From mevboost.pics

As a result of PBS through MEV-Boost, block proposers post-Merge have received the same average block rewards. To ensure credible neutrality and a decentralized validator set on Ethereum, is vital to democratize access to MEV and ensure equal opportunity for all validators without the need for advanced infrastructure or relationships with builders.


MEV-Boost payments to block proposers in the last 6 months. From mevboost.pics

MEV-Boost development

mev-boost relay

Ahead of the Shapella upgrade @metachris and @Shana published guides outlining the MEV-Boost Capella upgrade for relays and recommendations for builders. The Capella-ready v1.0.0-alpha2 release also removed the requirement to run the Flashbots Prysm fork, and uses memcached as fallback for execution payloads.

v1.0.0-alpha3 was released following the exploit on April 3rd to patch the issue of relays not correctly verifying the block header signature before returning the block body.

v1.0.0-alpha4 introduces optional block submission cancellations by allowing block builders to submit blocks with lower value than their last submission.

Prio-load-balancer v0.5.0

A new version of the prio-load balancer has been released, featuring support for SGX proxy nodes that are verifiably inside an SGX enclave. This is yet another open step towards a trustless SGX infrastructure and end-to-end privacy.

Support for Block Building in reth

An issue has been opened in the reth repository by @metachris regarding support for block building and submitting blocks to multiple MEV-Boost relays.

MEV-Boost community calls

MEV-Boost community call #2

(Recording)

This call covered a range of topics, kicking off with Shapella readiness and updates for proposers, builders and relayers using MEV-Boost. The conversation then moved onto a breakdown of optimistic relay going live on ultra sound relay, enshrined PBS and block cancellations.

MEV-Boost community call #3

(Recording)

The conversation in this call covered the unbundling attack on April 3rd and the mainnet Shapella upgrade. The conversation then focused on block cancellations, the optimistic relay roadmap and enshrined PBS through two-slot PBS.

Keep an eye on this forum, and the Flashbots Collective calendar to get notified on upcoming calls!

Research and discussions

[Re]distribution study circle by @guayabyte calls for researchers, developers, activists, and others to explore mechanisms for MEV redistribution. The study club aims to bring people together from diverse backgrounds and disciplines, to share knowledge and experiences, learn from each other, and co-create alternative economic models.

The introductory session is scheduled for May 16th!

Opening Builder/Relay Data by @fiiiu is seeking input from searchers and researchers on whether we should make public the strategies that haven’t landed on-chain, for an extended period of time.

This data has not been shared to protect searchers’ privacy. Considering our commitment to transparency, this is something we want to reconsider and seek community input. If you’re a searcher or researcher, let us know what you think!

A Tale of Two PFOF Models (Paper) by @Eru_Iluvatar compares two PFOF solutions for Flow Providers: batch auction and individual bidding models, aiming to advance the discussion on their mechanisms and effectiveness. The research suggests that individual bidding models provide fairer and higher value for Flow Providers and end users, despite being more complex and potentially adding latency.

Ensuring User Protection and Rollup Revenue with Radius and MEV-Boost by @Tariz from Radius presents an approach to balance user protection against harmful MEV and revenue generation for rollups through a zk-based shared sequencing layer. The solution divides rollup blockspace into two sections, one for regular user transactions with MEV protection and one for revenue-generating activities.

How much should we care about regulation? by @memester explores potential regulatory impacts on MEV and raises questions about the engagement with policymakers to influence policy and protect centralization vectors from potential attacks. The topic raises questions related to how much effort should be spent on engaging with policymakers and which regulatory bodies to focus on.

Flashbots Research Proposals (FRPs)

FRP-28: Contingent Fees in Order Flow Auctions

(Paper)

The work done in FRP-28 by @maxr, with Flashbots contact @quintus, has been published!
The paper develops a simple model of an order flow auction and compares contingent fees with upfront payments as well as mixtures of the two. Results suggest that auctions with a greater share of the payment contingent on execution have lower execution probability, lower revenue, and increased effective spreads in equilibrium


From FRP-28 by Max Resnick

FRP-31: A Study of Threshold-Decrypted Mempools, MEV and Their Benefit to Users

In this FRP Antoine Rondelet, with Flashbots contact @quintus, will look at encrypted mempools as a solution to mitigate frontrunning and sandwiching. The research will explore the benefits and drawbacks of threshold-decrypted mempools, their potential impact on users, and compare trade-offs between complete privacy and full transparency in mempool designs.

Flashbots is an open research organization, anyone can submit a research proposal and become eligible for a grant. In order to increase discoverability and highlight the research done in FRPs we’ve recently ported over all FRPs to the new FRP category right here on the forum, check it out!

Events and podcasts

MEVconomics

On March 24th Flashbots, together with ETHGlobal, hosted a one-day summit focusing on the economics of MEV (aka MEVconomics) as part of the annual virtual hackathon - Scaling Ethereum. The event brought together researchers and developers to discuss the latest trends in MEV, distribution mechanisms, and related protocols, building on previous MEV-related events and workshops.

Recordings of the events can be found on Youtube, with transcripts by Zhixiong Pan uploaded to IPFS (including translations to Chinese)! See also Tarun’s intern takeaways of the event, a high-level summary from Grace Deng and Austin King notes on @hasu‘s presentation.

Bell Curve Season 4

The fourth season of the Bell Curve podcast is dedicated to the topic of MEV with @hasu joining as co-host. 6 episodes on MEV have been published so far:

  1. A Journey into the Dark Forest | Hasu
    The premier episode introduces the topics and thesis for the season: the MEV value chain, the modular stack, OFAs, how MEV affects security, the role of latency, fair ordering, FCFS, and more.
  2. Shining A Light On MEV | Tarun Chitra, Justin Drake
    In the second episode the hosts are joined by Tarun Chitra and Justin Drake to discuss value accrual in the MEV value chain, MEV auction, fair ordering, latency games and approaches to reduce MEV.
  3. Inside the Economics of MEV | Matt Cutler
    Matt Cutler joins the third episode for a discussion on the economics of MEV and dive deep into MEV value capture, OFAs, account abstraction and relayer monetization.
  4. MEV in a Modular World | Jon Charbonneau, Robert Miller
    @jon and @bert joins to discuss how Ethereum’s modular roadmap impacts the future of MEV, decentralized sequencer models, cross-domain MEV, latency games, and SUAVE.
  5. Interview with a Searcher 2.0 | Dean Eigenman, Anish Agnihotri
    Anish Agnihotri and Dean Eigenmann provide an inside look into the business model of an MEV searcher and explore the intricacies of finding and extracting MEV.
  6. Solana’s MEV Problem | Eugene Chen, Lucas Bruder
    Eugene Chen and Lucas Bruder join the show to compare Solana’s MEV market to Ethereum’s and delve into the unique MEV challenges on Solana and Jito’s MEV solution.

CryptoXai.wtf

Together with friends of the Pi-Rate Ship in Zuzalu, Flashbots is organizing an event on May 6th on the intersection of cryptographic- & crypto-economic primitives and AI. The event aims to foster in-depth discussions and synergy between the fields, comparing popular alignment approaches and exploring their tradeoffs.

Participants will examine the merits of combining functional decision theory with cryptographic commitments and the interpretability of such commitments for AI coordination. The event will be livestreamed, with recordings and resources shared in the forum thread.

:date: In order to stay up to date on any upcoming events feel free to subscribe to the Flashbots Collective calendar!

Resources

Below is a collection of publications, podcasts, dashboards and other resources from the broader community posted since the last report on topics related to MEV, PBS and Flashbots.

Check out the list from previous months for more fantastic resources and please feel free to share additional resources as replies below or in the bookmark-topics!

Papers and Articles

Posts & threads

  • samczsun published an overview of the MEV-Boost relay exploit and how it was mitigated.
  • Matt Cutler gives an overview of ERC-4337 through a look at the new transaction flow, including alt-mempools and the role of bundlers.
  • Martin Köppelmann posted a thread on the success of the Agnostic Relay and the increase in content-agnostic blocks proposed on Ethereum.
  • Jim published a thread that provides an overview of the emerging ecosystem of Rollups-as-a-Service providers.
  • Fabrizio Romano Genovese looks into the interaction between recursive auctions and commitment devices, which is being researched under FRP-26 & FRP-27.
  • Blockworks Research posted a thread on the searcher jaredfromsubway.eth performing sandwich attacks on Uni v2 pools of newly created tokens with over 30,000 transactions in the last week.
  • Good published a thread providing a rundown on how the MEV-bot jaredfromsubway.eth is making $1M per day front running trades on meme coins.
  • Al N published a thread on vertical integration between searchers and builders and the implications this might have for order flow auctions.
  • Shivani posted a thread on how shared sequencer + SUAVE could be a PBS solution for rollups.
  • @bert published a thread diving into the details of the record-breaking 619 ETH MEV proposer payments from MEV-Boost on March 20 due to a bot miscalculating trades in illiquid Uniswap v2 pools.
  • Grace Deng posted a thread looking into the combination of MEV and Eigenlayer, PEPC for achieving PBS, MEV-boost++ for protocols who want proposers’ commitments and decentralized sequencers for rollups.

Podcasts & Videos

Other

Get involved :zap::robot:

At Flashbots, we research and build systems around MEV, and we would love to collaborate with you. We are a distributed organization with the principles of a pirate hacker collective, and we have several open positions. We also issue grants to external researchers doing work aligned with ours, please find out more in our Research repository. Make sure to also look around on our forum and join the conversations!

Previous Transparency reports

6 Likes