Towards Privacy-assured and Lightweight On-chain Auditing of Decentralized Storage

Yuefeng Du, Huayi Duan, Anxin Zhou, Cong Wang, Man Ho Au, Qian Wang

Abstract

Decentralized storage networks (DSNs) require robust auditing mechanisms to ensure data persistence. However, on-chain auditing via smart contracts faces significant challenges regarding computational efficiency and data privacy. This paper introduces a novel protocol that combines homomorphic linear authenticators (HLA), polynomial commitments, and Sigma protocols to enable lightweight, privacy-preserving auditing. The solution achieves constant-time verification with minimal proof sizes (288 bytes), reducing on-chain costs by approximately 50% compared to state-of-the-art ZK-SNARK solutions while preventing data leakage from public audit trails.

Introduction

Decentralized storage networks like Filecoin and Storj rely on distributed providers to host user data. To maintain trust, these networks must implement "auditing" — a process that verifies providers are actually storing the data they claim to have. While on-chain auditing via smart contracts offers transparency and automated settlement, it is often hindered by two major obstacles:

  1. Efficiency Constraints: Blockchains have limited resources; large proofs and complex verification logic lead to prohibitive gas costs.
  2. Privacy Risks: Public audit trails can inadvertently leak information. Over time, an observer might use linear algebra to reconstruct original data from multiple audit proofs.

Existing solutions, such as generic ZK-SNARKs, often impose heavy computational burdens during setup and proof generation, making them impractical for frequent auditing in large-scale marketplaces.

System Design and Methodology

The proposed protocol avoids the overhead of generic zero-knowledge proofs by utilizing a specialized cryptographic design tailored for storage auditing. The architecture involves three primary entities: the Data Owner, the Storage Providers, and the Smart Contract acting as the auditor.

Overview of the decentralized storage auditing architecture.

The methodology rests on three pillars:

  • Homomorphic Linear Authenticators (HLA): These allow providers to aggregate data blocks and tags into a single succinct proof, removing the need for the auditor to download the entire file.
  • Polynomial Commitments: These are used to compress metadata and proofs further. By treating data as coefficients of a polynomial, the system can use efficient point evaluations as proofs rather than complex Merkle trees.
  • Sigma Protocols: To address the "Extractable Knowledge" threat, a Sigma protocol masks the audit response. This ensures that even with years of recorded audit trails, an adversary cannot extract information about the underlying data.

The system is implemented as a state machine within an Ethereum smart contract, managing the lifecycle from contract negotiation and deposit locking to periodic challenges and automated dispute resolution.

Experimental Evaluation

The authors evaluated the implementation using simulated files ranging from 1 KB to 1 GB on a private Ethereum testnet. They compared their "main solution" against a "Strawman" solution built using the Rust Bellman ZK-SNARK library.

Performance comparison between the proposed solution and a ZK-SNARK strawman.

Key Results

The proposed solution demonstrated superior performance across all critical metrics:

  • Compact Proofs: Proof size was reduced to 288 bytes, compared to 384 bytes for the SNARK baseline.
  • Rapid Verification: Verification takes only 7 ms, a significant improvement over the 30 ms required by the SNARK.
  • Cost Efficiency: On-chain costs are approximately 50% lower, averaging roughly $0.10 USD per audit (based on 2020 gas prices).
  • Scalability: Preprocessing a 1 GB file takes approximately 2 minutes. In contrast, the SNARK-based approach struggled with files larger than 16 KB due to circuit size constraints. The system is estimated to support up to 5,000 active users simultaneously on a dedicated Ethereum fork.

Conclusion and Future Work

This research provides a practical path forward for scalable, private on-chain auditing. By prioritizing algebraic efficiency over generic zero-knowledge proofs, the protocol achieves the performance necessary for real-world DSNs.

Current limitations include a focus on static archive data; future iterations could expand support for dynamic data updates. Additionally, the authors suggest integrating Verifiable Delay Functions (VDFs) to further secure the randomness of audit challenges, preventing providers from anticipating and preparing for specific audits.

Summary updated

BibTeX
@inproceedings{du2020towards,
  author = {Yuefeng Du and Huayi Duan and Anxin Zhou and Cong Wang and Man Ho Au and Qian Wang},
  title = {{Towards Privacy-assured and Lightweight On-chain Auditing of Decentralized Storage}},
  booktitle = {ICDCS},
  year = {2020},
  doi = {10.1109/icdcs47774.2020.00023},
}
Figure