← Lab /Security & privacy

Grey-box audit uncovers 13 privacy violations across 12 differential privacy libraries

Their Re:cord-play auditing approach can detect and falsify sensitivity violations in DP implementations, revealing 13 breaches of theoretical guarantees.

Security & privacy arXiv 19 Feb 2026 Measurement Prototype evidence

Published as “Privacy in Theory, Bugs in Practice: Grey-Box Auditing of Differential Privacy Libraries”

Why it matters

Developers can integrate a lightweight, fine-grained privacy test into CI pipelines to catch DP implementation bugs before deployment.

Summary

The authors introduced Re:cord-play, a gray-box auditing tool that inspects internal DP algorithm state, and found 13 privacy violations across 12 open-source DP libraries. Their evaluation shows the approach can detect subtle bugs with low computational cost, but the paper notes the method relies on deterministic randomness, cannot handle non-deterministic sources or distributed systems, and may miss bugs (false negatives).

What they found 1

  1. 13 privacy violations were uncovered in 12 audited DP libraries.

    “uncovering 13 privacy violations that impact their theoretical guarantees.”

Caveats 7

  • The approach cannot audit systems that draw randomness from non-deterministic sources like /dev/random or cryptographic hardware.
  • It may produce false negatives; a successful audit does not prove the implementation is correct.
  • It requires Assumption 3.2 (deterministic randomness); stochastic decisions can cause spurious bug flags.
  • On the need for Assumption 3.2. This assumption is central to our methodology and a standard requirement for deterministic testing and debugging in scientific computing.
  • First, our method cannot audit systems that draw randomness from non-deterministic sources like /dev/random or specialized cryptographic hardware (e.g., Intel RDRAND), unless these sources can be mocked or patched at a lower level.
  • Second, its application to highly concurrent or distributed systems (such as Tumult Analytics [12] that relies on Apache Spark [92]) is non-trivial, as it would require controlling and synchronizing the PRNG state across multiple threads or processes, which is outside our current scope.
  • The methodology is sound but not complete: (1) Soundness (Structural Correctness): If our tool flags a bug, it corresponds to a concrete implementation error. ... (2) Incompleteness (False Negatives): A successful audit (i.e., finding no bugs) does not constitute a proof of correctness.

What’s new here 4

  • Inspects internal state of DP mechanisms rather than only output distributions.
  • Deterministic record-and-replay instrumentation to catch data-dependent control-flow leaks.
  • Component-wise statistical audit (Re:cord-play-sample) for untrusted primitives.
  • Provides concrete, actionable reports pinpointing the faulty component.