Skip to main content
QUICK REVIEW

[Paper Review] F3B: A Low-Overhead Blockchain Architecture with Per-Transaction Front-Running Protection

Haoqian Zhang, Louis-Henri Merino|arXiv (Cornell University)|May 17, 2022
Blockchain Technology Applications and SecurityComputer Science5 citations
TL;DR

F3B is a low-overhead blockchain architecture that prevents per-transaction front-running by using threshold cryptography to encrypt transactions until they are finalized. It achieves only 0.026% latency overhead on Ethereum by enabling secret-sharing committees to decrypt transactions only after finality, ensuring privacy without modifying consensus or smart contracts.

ABSTRACT

Front-running attacks, which benefit from advanced knowledge of pending transactions, have proliferated in the blockchain space since the emergence of decentralized finance. Front-running causes devastating losses to honest participants and continues to endanger the fairness of the ecosystem. We present Flash Freezing Flash Boys (F3B), a blockchain architecture that addresses front-running attacks by using threshold cryptography. In F3B, a user generates a symmetric key to encrypt their transaction, and once the underlying consensus layer has finalized the transaction, a decentralized secret-management committee reveals this key. F3B mitigates front-running attacks because, before the consensus group finalizes it, an adversary can no longer read the content of a transaction, thus preventing the adversary from benefiting from advanced knowledge of pending transactions. Unlike other mitigation systems, F3B properly ensures that all unfinalized transactions, even with significant delays, remain private by adopting per-transaction protection. Furthermore, F3B addresses front-running at the execution layer; thus, our solution is agnostic to the underlying consensus algorithm and compatible with existing smart contracts. We evaluated F3B on Ethereum with a modified execution layer and found only a negligible (0.026%) increase in transaction latency, specifically due to running threshold decryption with a 128-member secret-management committee after a transaction is finalized; this indicates that F3B is both practical and low-cost.

Motivation & Objective

  • To address the growing threat of front-running in DeFi that undermines fairness and causes significant financial losses.
  • To design a blockchain architecture that provides per-transaction front-running protection without requiring changes to existing consensus algorithms or smart contracts.
  • To minimize latency overhead while ensuring strong privacy guarantees for all unfinalized transactions, even under network delays.
  • To enable practical deployment by integrating with Ethereum’s execution layer and using efficient threshold cryptography.

Proposed method

  • Uses per-transaction symmetric encryption, where users encrypt transactions with a secret-management committee (SMC) before submitting to the blockchain.
  • Deploys a threshold decryption protocol where the SMC releases shares only after the transaction is finalized by the consensus group.
  • Employs two cryptographic schemes—TDH2 and PVSS—offering trade-offs between key management flexibility and preprocessing cost.
  • Introduces a deposit-refund storage fee to prevent spam of encrypted transactions on the blockchain.
  • Modifies Ethereum’s execution layer to support a new transaction type with delayed execution and decryption.
  • Stores decryption keys on the blockchain as metadata, ensuring availability and consistency for consensus nodes.

Experimental results

Research questions

  • RQ1Can front-running be mitigated at the execution layer without modifying consensus algorithms or smart contracts?
  • RQ2What is the minimal latency overhead required to achieve per-transaction privacy via threshold decryption?
  • RQ3How can transaction confidentiality be preserved even when transactions are delayed or not finalized promptly?
  • RQ4Can a secret-management committee be securely and efficiently coordinated to release decryption keys only after finality?
  • RQ5How does the proposed system compare in performance and security to existing commit-and-reveal or per-block encryption schemes?

Key findings

  • F3B achieves only 0.026% latency overhead on Ethereum with a 128-member secret-management committee using the TDH2 scheme.
  • The PVSS-based variant incurs 0.027% latency overhead, demonstrating near-constant performance regardless of transaction volume.
  • F3B is fully compatible with existing consensus mechanisms, including Proof-of-Stake, Proof-of-Authority, and Proof-of-Work.
  • The system prevents front-running by ensuring transactions remain confidential until finalized, even under network delays.
  • F3B outperforms Submarine, which has a 200% latency overhead due to three rounds of blockchain communication.
  • The solution requires only a single write to the blockchain per transaction, minimizing storage and latency costs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.