← Lab /Security & privacy

Shielded UTXO DeFi protocols lose up to 59% of anonymity

Real-world anonymity set sizes are reduced by 40.1%-59.0% compared to temporal baselines

Security & privacy arXiv 24 Aug 2026 Measurement Real-world evidence

Published as “The Anonymity Gap: Understanding Real Privacy in Shielded UTXO-based Protocols for DeFi”

Why it matters

The results let users gauge the effective anonymity of their shielded transactions and give designers concrete targets for reducing privacy loss in future protocol updates.

Summary

The study finds that public protocol constraints reduce transaction-level anonymity in shielded UTXO-based DeFi protocols by 40.1%-59.0% for Railgun and 48.9%-57.4% for Hinkal relative to a temporal baseline. The authors analyze the full on-chain histories of all four Railgun deployments and five Hinkal pools (186,356 unshielding spend transactions) using a non-heuristic, layered provenance pipeline. Evidence is strong: the reduction numbers come from exhaustive on-chain data and a systematic method, though many transactions still retain large anonymity sets.

What they found 1

  1. Mean anonymity set size reductions of 40.1%-59.0% relative to temporal baselines, with only a few thousand transactions retaining ≤10 possible addresses.

    “Using only public protocol traces and constraints, our non-heuristic analysis yields mean Anonymity Set Size reductions of 40.1%-59.0% relative to each deployment’s temporal baseline; 3,679 transactions retain at most 10 addresses, including 1,228 singletons.”

Caveats 4

  • Among 169,840 Railgun unshielding spend transactions, 2,968 retain at most ten addresses, including 920 singletons; however, 118,480 (69.8%) still retain more than 1,000.
  • Some transaction types (e.g., Proof 4-only) see reductions as low as 10.04%, indicating that broad proofs can dominate and limit overall privacy gains.
  • The analysis deliberately excludes heuristic methods such as user/entity attribution, thereby isolating anonymity loss caused by public protocol constraints.
  • Our analysis uses only protocol-visible constraints and makes no identity or ownership attributions, behavioral inferences, or probabilistic rankings.

What’s new here 4

  • First systematic, non-heuristic analysis of recursive provenance across note, proof, and transaction layers in shielded UTXO protocols.
  • Introduces a layered system model and a four-stage cumulative pruning pipeline with cross-proof propagation.
  • Applies closure-lifting to trace feasible hidden-state histories back to shielding addresses, yielding transaction-level anonymity set sizes.
  • Evaluates the complete on-chain histories of multiple real-world deployments (Railgun and Hinkal) rather than synthetic or limited datasets.