Strain: A Secure Auction for Blockchains

Erik-Oliver Blass, Florian Kerschbaum

TL;DR

Strain is a high-efficiency auction protocol for blockchains that guarantees bid confidentiality even when faced with malicious participants. By moving away from highly interactive traditional multi-party computation (MPC), it achieves a constant latency of just four blockchain blocks, regardless of the number of bidders or the length of the bids.

What Problem Does This Paper Address?

Blockchains are a double-edged sword for auctions. Their transparency and immutability are perfect for ensuring that bids can't be retracted and winners are verifiable. However, that same transparency is a disaster for "sealed-bid" auctions (like procurement auctions), where revealing a bid to a competitor can ruin a company's competitive edge.

While Secure Multi-Party Computation (MPC) can theoretically solve this by allowing parties to compute a winner without seeing the inputs, MPC is notoriously "chatty." On a blockchain, every round of communication requires a new transaction and a new block. With Ethereum's ~15-second block times, a traditional MPC protocol with many rounds would take minutes or even hours to complete a single auction. The authors tackle this "latency wall" to make privacy-preserving auctions practical for fast-moving decentralized markets.

Methods

The authors introduce Strain ("Secure aucTions foR blockchAINs"), which utilizes several clever cryptographic building blocks:

  • Goldwasser-Micali (GM) Encryption: Chosen for its homomorphic properties, specifically the ability to perform XOR operations on encrypted data.
  • Maliciously-Secure Comparisons: The core of Strain is a two-party comparison mechanism based on Fischlin’s protocol. It allows two bidders to compare their bids ($v_i > v_j$) blindly. The authors extend this to be secure against "fully-malicious" adversaries who might try to lie about their inputs or results.
  • The Semi-Honest Judge: To keep latency low, Strain introduces a "judge" (usually the auctioneer). The judge verifies Zero-Knowledge (ZK) proofs provided by the bidders to ensure they followed the protocol correctly. Crucially, the judge is "semi-honest"—they follow the rules and don't see the bid values, but they must not collude with bidders.
  • Verifiable Key Distribution: Before bidding, suppliers verifiably share pieces of their private keys. This ensures that if a bidder aborts the protocol mid-way to disrupt the auction, an honest majority of other bidders can "force-open" the bid and complete the process.
  • Optional Anonymity: The protocol can be layered with Dining Cryptographer (DC) networks and blind signatures to hide which suppliers are even participating.

Datasets

The paper does not use a standard machine learning dataset. Instead, the authors evaluated their protocol using a prototypical implementation in Python. They benchmarked the cryptographic operations using:

  • Bid length ($\eta$): 32 bits.
  • Security parameter ($\lambda$): 40 (for soundness errors of $2^{-40}$).
  • Prime lengths: 768-bit primes for Blum integers.
  • Hardware: A standard Linux laptop (Intel i7-6560U CPU).

Key Insights and Ideas

  • Constant Latency is King: The most significant "aha" moment is that Strain’s round complexity is independent of bid length and the number of participants. It always takes exactly 4 blocks.
  • Trading MPC for Efficiency: By accepting a slightly weaker adversary model (requiring a non-colluding judge) compared to full MPC, the authors achieved a massive speedup that makes blockchain deployment feasible.
  • Order Leakage: Unlike some protocols that hide everything except the winner, Strain reveals the total order of bids to the participants. The authors argue this is a practical trade-off for the massive gain in speed and simplicity.
  • Robustness against Aborts: Most MPC protocols fail if a party leaves. Strain’s use of verifiable secret sharing for the private keys ensures the auction is "guaranteed output delivery"—it will finish even if malicious actors try to block it.

Key Results

  • Latency: The entire protocol completes in 4 blocks.
  • Throughput: In the comparison phase, a single CPU core can verify roughly 30 other suppliers within one 15-second Ethereum block interval.
  • Computational Speed: The VerifyEval operation (the judge's task) is extremely fast, taking only 15ms.
  • Scalability: The protocol supports auctions with dozens of concurrent suppliers while remaining within the time constraints of typical blockchain block intervals.

Limitations and Future Work

  • The Judge Requirement: The security relies on the auctioneer (the judge) being semi-honest and not colluding with bidders. If the judge and a bidder collude, they could potentially learn other bids.
  • Information Leakage: As noted, the protocol leaks the order of all bids. While the values remain secret, knowing the ranking of competitors might still be sensitive in some high-stakes industries.
  • Smart Contract Gas Costs: While the cryptographic operations are fast on a laptop, the authors acknowledge that implementing these complex ZK proof verifications directly in Solidity (on the Ethereum Virtual Machine) would be expensive in terms of "gas." Future work would likely involve optimizing these for specific blockchain runtimes or using Layer-2 scaling solutions.

Summary updated

BibTeX
@inproceedings{blass2018strain,
  author = {Erik-Oliver Blass and Florian Kerschbaum},
  title = {{Strain: A Secure Auction for Blockchains}},
  booktitle = {ESORICS},
  year = {2018},
  url = {https://openreview.net/forum?id=hmvZ3MO1O3A},
}
Figure