← Lab /Software

SpecTrum uncovers 27 cross-client consensus divergences in Ethereum

The authors assert they identified 27 consensus divergence cases across five major Ethereum clients using their framework

Software arXiv 18 Aug 2026 Measurement Prototype evidence

Published as “SpecTrum: Specification-Guided Differential Fuzzing for Ethereum Consensus Clients”

Why it matters

The discovered divergences affect consensus safety and can lead to chain splits or stalled finality, highlighting the need for systematic testing of implicit validity conditions.

Summary

SpecTrum raises premise coverage from 46.3% to 91.1% and uncovers 27 cross-client divergence cases (including 4 consensus-failure cases) across five major Ethereum consensus clients. It achieves this by mechanizing the consensus specification into explicit if-premises and generating tests that target under-exercised conditions. The evaluation uses 21,444 generated inputs and reproduces all divergences on two fork versions, showing modest effort to extend the mechanization. The paper notes that 22 of the divergences would not be found without the inserted premises, while five could be found by other means. The study is limited to the state-transition function of one protocol version and five clients.

What they found 2

  1. SpecTrum identified 27 cross-client divergence cases, 22 of which cannot be found without the premises inserted in the mechanization.

    “we identify 27 cross-client divergence cases, 22 of which cannot be found without the premises inserted in our mechanization.”

  2. Premise coverage increased from 46.3% to 91.1% after adding SpecTrum-generated tests.

    “raising premise coverage from 46.3% to 91.1%.”

Caveats 4

  • Random exposes 12 divergence cases and Extreme 16, whereas SpecTrum identifies 27.
  • Each control exposes five divergence cases not found by SpecTrum.
  • Our evaluation relies on two reference artifacts: consensus-spec for fault attribution and Consensus-SpecTec for test generation.
  • We evaluate SpecTrum on one protocol version (Capella) with cross-fork reproduction on Deneb. The specification defines seven fork versions. While RQ4 shows that bugs in the shared logic reproduce across forks, SpecTrum targets the statetransition function and does not cover fork-choice rules, light-client protocols, or the execution layer.

What’s new here 4

  • Mechanized Ethereum consensus specification (Consensus-SpecTec) that makes implicit validity conditions explicit as if-premises.
  • Premise coverage metric that measures true/false evaluation of each validity premise.
  • Specification-guided test generator that raises premise coverage from 46.3% to 91.1% and targets boundary conditions.
  • Empirical detection of 27 cross-client divergences, many invisible to existing spectests.