arXiv:2610.36001cs.CROct 2026

Manuscript Offprint

arXiv:2610.36001

Merkle-Tree-Based Verifiable Public Data Auditing for Cloud Object Storage Using Smart Contracts

Siri Reddy Tadi, K. Gangadhara Rao, M. Venu Gopalachari, C. Chetann Reddy, Jaswanth Bhimireddy

Siri Reddy Tadi

Dept. of Information Technology

Chaitanya Bharathi Institute of Technology

Hyderabad, Telangana, India

tadi.sirireddy@gmail.com

M. Venu Gopalachari

Dept. of Information Technology

Chaitanya Bharathi Institute of Technology

Hyderabad, Telangana, India

K. Gangadhara Rao

Dept. of Information Technology

Chaitanya Bharathi Institute of Technology

Hyderabad, Telangana, India

kgangadhar_it@cbit.ac.in

(Corresponding Author)

C. Chetann Reddy

Dept. of Information Technology

Chaitanya Bharathi Institute of Technology

Hyderabad, Telangana, India

chetann0717@gmail.com

Jaswanth Bhimireddy

Dept. of Information Technology

Chaitanya Bharathi Institute of Technology

Hyderabad, Telangana, India

jaswanthbhimireddy5@gmail.com

Abstract—Owners of data in cloud object storage cannot directly check whether the provider still keeps every object unchanged. Existing research mostly checks blocks inside files or relies on third-party auditors, and less attention has been given to checking each object against a public blockchain reference while measuring the cost. A full-data audit downloads every object and compares it with a saved hash list, which is slow and only as reliable as that list. We propose a public auditing system in which the SHA-256 hash of each object and its name forms a leaf of a Merkle tree, so the whole dataset is represented by one Merkle root. This root is stored in an Ethereum smart contract as a trusted public record, while the objects stay with the provider. An auditor downloads an object, rebuilds the root using a short Merkle proof and compares it with the stored root, marking the object as intact, modified or missing. In five experiments on an S3-compatible store and a local Hardhat blockchain (normal audit, single- and multiple-object tampering, deletion and scalability), the system detected 15 of 15 single modifications, 2,205 of 2,205 modified objects and 830 of 830 deleted objects with no false alarms. The proof needed only 14 hashes for 10,000 objects, so checking one object took about 10 ms and a 100-object sample about 150 ms regardless of dataset size, while a full audit of 10,000 objects (14.3 s) took about as long as downloading them (13.5 s). Storing the root cost 91,863 gas, 252 times less than storing 1,000 hashes on-chain. The system thus shows exactly which objects were modified or are missing, with its main savings coming from checking selected objects.

Index Terms—cloud object storage, data integrity, public auditing, Merkle tree, Merkle proof, SHA-256, blockchain, smart contracts

I. INTRODUCTION

Organizations increasingly keep unstructured data in cloud object stores whose hardware they neither own nor operate [1]. Objects can be damaged or lost through disk faults, software bugs, operator mistakes or deliberate interference, and as long as nobody checks, an overwritten or deleted object looks no different to its owner from one that is still intact. An integrity audit therefore needs two ingredients: a description of the correct state that the provider is unable to alter, and a procedure, affordable enough to run regularly, that compares the stored data with that description.

The most direct procedure is a full-data audit, in which the auditor fetches every object and compares its SHA-256 digest with a digest list kept locally. The work grows with the volume of data, failures can be pinpointed only if one digest per object is retained, and the result can be trusted only as far as the stored list can. A Merkle tree [2], [3] compresses the digests of n objects into one 32-byte root and allows any single object to be checked against that root with a proof of about log⁡2n\log_{2} n hashes. If the root is recorded in a smart contract, it becomes a public reference that neither the provider nor the auditor can silently change, while the objects themselves stay off-chain.

This paper designs, implements and measures such a mechanism for an S3-compatible object store. Its aim is not to propose a new cryptographic primitive, but to establish experimentally what the combination of SHA-256, a Merkle tree and an on-chain root actually provides: which integrity violations it detects, what each audit costs in time and transferred data, how these costs scale with the number of objects, and what the blockchain adds in gas and latency.

References (49)