An integrated blockchain and IPFS-based solution for secure and efficient source code repository hosting using middleman approach

M Md. Rafid Haque S Sakibul Islam Munna S Sabbir Ahmed M Md. Tahmid Islam M Md Mehedi Hassan Onik A A.B.M. Ashikur Rahman

Abstract

Centralized version control systems (VCS) are vital for software development but pose risks of data loss and ownership disputes. While blockchain offers a decentralized alternative, existing solutions are often hindered by high latency, compromising the real-time collaboration essential for modern workflows. This study introduces a novel hybrid architecture combining the security of the Ethereum blockchain and the InterPlanetary File System (IPFS) with two key contributions: 1) Shamir’s Secret Sharing (SSS) to create a trust-minimized model for key distribution, and 2) an authoritative-first, optimistic-fallback retrieval protocol utilizing a temporary middleware to decouple the user experience from blockchain confirmation delays. We implemented a full prototype and conducted a comprehensive performance evaluation on the public Sepolia testnet. Our results demonstrate that this architecture not only provides a secure, auditable, and resilient platform for source code hosting but also achieves highly competitive user-perceived performance. Our user-perceived push time reduces submission latency by up to 49% compared to a standard git push for common repository sizes, proving that a well-designed decentralized VCS can balance the core tenets of security and decentralization with the practical need for speed and efficiency.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 20, Issue 9
Published September 03, 2025
Pages e0331131
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (6)

M

Md. Rafid Haque

S

Sakibul Islam Munna

S

Sabbir Ahmed

M

Md. Tahmid Islam

M

Md Mehedi Hassan Onik

A

A.B.M. Ashikur Rahman