Lune

USENIX Security2024Top-tier venue

Mempool Privacy via Batched Threshold Encryption: Attacks and Defenses

Arka Rai Choudhuri, Sanjam Garg, Julien Piet, Guru-Vamsi Policharla

Abstract

With the rising popularity of DeFi applications it is important to implement protections for regular users of these DeFi platforms against large parties with massive amounts of resources allowing them to engage in market manipulation strategies such as frontrunning/backrunning. Moreover, there are many situations (such as recovery of funds from vulnerable smart contracts) where a user may not want to reveal their transaction until it has been executed. As such, it is clear that preserving the privacy of transactions in the mempool is an important goal. In this work we focus on achieving mempool transaction privacy through a new primitive that we term batchedthreshold encryption, which is a variant of threshold encryption with strict efficiency requirements to better model the needs of resource constrained environments such as blockchains. Unlike the naive use of threshold encryption, which requires communication proportional to O(nB) to decrypt B transactions with a committee of n parties, our batched-threshold encryption scheme only needs O(n) communication. We additionally discuss pitfalls in prior approaches that use (vanilla) threshold encryption for mempool privacy. To show that our scheme is concretely efficient, we implement our scheme and find that transactions can be encrypted in under 6 ms, independent of committee size, and the communication required to decrypt an entire batch of B transactions is 80 bytes per party, independent of the number of transactions B, making it an attractive choice when communication is very expensive. If deployed on Ethereum, which processes close to 500 transaction per block, it takes close to 2.8 s for each committee member to compute a partial decryption and under 3.5 s to decrypt all transactions for a block in single-threaded mode.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Lighthouse: Single-Server Secure Aggregation with O(1) Server-Committee Communication at Scale cites Threshold Batched Identity-Based Encryption from Pairings in the Plain Model
  • Lighthouse: Single-Server Secure Aggregation with O(1) Server-Committee Communication at Scale cites BEAT-MEV: Epochless Approach to Batched Threshold Encryption for MEV Prevention
  • CCA-Secure Traceable Threshold (ID-based) Encryption and Application cites High-Frequency Trading on Decentralized On-Chain Exchanges
  • CCA-Secure Traceable Threshold (ID-based) Encryption and Application cites BEAT-MEV: Epochless Approach to Batched Threshold Encryption for MEV Prevention
  • Threshold Batched Identity-Based Encryption from Pairings in the Plain Model cites Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability
  • Threshold Batched Identity-Based Encryption from Pairings in the Plain Model cites BEAT-MEV: Epochless Approach to Batched Threshold Encryption for MEV Prevention
  • High-Frequency Trading on Decentralized On-Chain Exchanges cites On the Security and Performance of Proof of Work Blockchains
  • High-Frequency Trading on Decentralized On-Chain Exchanges cites Order-Fairness for Byzantine Consensus
  • BEAT-MEV: Epochless Approach to Batched Threshold Encryption for MEV Prevention cites Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability
  • BEAT-MEV: Epochless Approach to Batched Threshold Encryption for MEV Prevention cites On the Security and Performance of Proof of Work Blockchains
  • BEAT-MEV: Epochless Approach to Batched Threshold Encryption for MEV Prevention cites Order-Fairness for Byzantine Consensus
  • BEAT-MEV: Epochless Approach to Batched Threshold Encryption for MEV Prevention cites Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum Blockchain
  • Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum Blockchain cites High-Frequency Trading on Decentralized On-Chain Exchanges
  • Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum Blockchain cites Order-Fairness for Byzantine Consensus
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Threshold Batched Identity-Based Encryption from Pairings in the Plain ModelJunqing Gong, Brent Waters, Hoeteck Wee, David J. WuEUROCRYPT 2026 · 9 citations
  2. CCA-Secure Traceable Threshold (ID-based) Encryption and ApplicationRishiraj Bhattacharyya, Jan Bormet, Sebastian Faust, Pratyay Mukherjee et al.CCS 2025 · 2 citations
  3. Lighthouse: Single-Server Secure Aggregation with O(1) Server-Committee Communication at ScaleSanjam Garg, Alireza Kavousi, Dimitris Kolonelos, Erkan Tairi et al.USENIX Security 2026 · 1 citation
  4. Distributed Broadcast Encryption for Confidential Interoperability across Private BlockchainsAngelo De Caro, Kaoutar Elkhiyaoui, Sandeep Nishad, Sikhar Patranabis et al.NDSS 2026
  5. BEAT-MEV: Epochless Approach to Batched Threshold Encryption for MEV PreventionJan Bormet, Sebastian Faust, Hussien Othman, Ziyan QuUSENIX Security 2025

Builds on12

  1. On the Security and Performance of Proof of Work BlockchainsArthur Gervais, Ghassan O. Karame, Karl Wüst, Vasileios Glykantzis et al.CCS 2016 · 1,668 citations
  2. Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus InstabilityPhilip Daian, Steven Goldfeder, Tyler Kell, Yunqi Li et al.S&P 2020 · 607 citations
  3. High-Frequency Trading on Decentralized On-Chain ExchangesLiyi Zhou, Kaihua Qin, Christof Ferreira Torres, Duc Viet Le et al.S&P 2021 · 243 citations
  4. Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum BlockchainChristof Ferreira Torres, Ramiro Camino, Radu StateUSENIX Security 2021 · 179 citations
  5. Order-Fairness for Byzantine ConsensusMahimna Kelkar, Fan Zhang, Steven Goldfeder, Ari JuelsCRYPTO 2020 · 152 citations

Related papers

  1. Practical Mempool Privacy via One-time Setup Batched Threshold EncryptionArka Rai Choudhuri, Sanjam Garg, Guru-Vamsi Policharla, Mingyuan WangUSENIX Security 2025
  2. BEAST-MEV: Batched Threshold Encryption with Silent Setup for MEV preventionJan Bormet, Arka Rai Choudhuri, Sebastian Faust, Sanjam Garg et al.CCS 2026 · 12 citations
  3. Silent Threshold Traitor Tracing & Enhancing Mempool PrivacyAnirban Chakrabarti, Monosij Maitra, Arup Mondal, Kushaz SehgalCCS 2025
  4. Efficiently-Thresholdizable Batched Identity Based Encryption, with ApplicationsAmit Agarwal, Rex Fernando, Benny PinkasCRYPTO 2025 · 12 citations
  5. Weighted Batched Threshold Encryption With Applications to Mempool PrivacyAmit Agarwal, Kushal Babel, Sourav Das, Babak Poorebrahim Gilkalaye et al.S&P 2026 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines