Mutating the "Immutable": A Large-Scale Study of Git Tag Alterations
Solal Rapaport, Laurent Pautet, Samuel Tardieu, Stefano Zacchiroli, Théo Zimmermann
Abstract
Git tags are commonly viewed as immutable references in software development, marking releases and specific repository states that underpin build reproducibility and software supply-chain integrity. Despite their intended immutability, Git allows tags to be altered through deletion or modification via force-pushed updates. The prevalence of such alterations threatens reproducible builds and dependency integrity. We conduct the first large-scale empirical study of tag alterations in public code repositories, analyzing 328.4 M software repositories from Software Heritage and identifying 10.2 M tag alterations affecting 189 k unique repositories. A cross-analysis with Nixpkgs reveals that 32 packages reference tags altered in our dataset, with 7 exhibiting confirmed build errors, providing concrete evidence that tag alterations break reproducible package builds. Our findings challenge the widespread assumption that tags are immutable anchors for released software. We therefore recommend that build systems and package managers pin dependencies to cryptographic commit hashes, that development forges expose tagmutation audit logs, and that the community adopt systematic monitoring of tag alterations as a standard supply-chain security practice.
Create a lesson
Metadata
- Journal
- 2026 ACM Conference on Reproducibility and Replicability, Jul 2026, Delft, Netherlands
Related papers
Barriers to GenAI Integration During Large-Scale Agile Transformation: An Exploratory Case Study
Shared title terminologycs.SENils Brede Moe, Marthe Berntzen, Astri Barbala et al.
A large-scale dataset of Android applications and their SDK dependencies
Shared title terminologycs.SEAurora Gori Savellini, Tiziano Squartini, Massimo Riccaboni
Understanding Software Defect Prediction: A Large-scale Empirical Study Across Uncertainty Quantification and Performance Evaluation
Shared title terminologycs.SERanjun Peng, Xuan Xie, Rubing Huang et al.
Diff-Based Code Corruption using LLMs for Large-Scale Bugfix Benchmarking
Shared title terminologycs.SEBalázs Szalontai, Ábel Szauter, Balázs Márton et al.
A Large-Scale Comprehensive Measurement of AI-Generated Code in Real-World Repositories
Shared title terminologycs.SETianhao Mao, Dongfang Zhao, Haixu Tang et al.
Recall Before Rerank: Benchmarking Deep Learning Models for Large-Scale Code-to-Code Retrieval
Shared title terminologycs.SELeonardo Venuta, Francesco Tosoni, Paolo Ferragina