理解 F-Droid 生态系统中的构建可重现性
Understanding Build Reproducibility in the F-Droid Ecosystem
AI总结:
本文首次实证研究 F-Droid 应用生态系统的构建可重现性,通过分析历史日志和重构建实验,发现按位可重现率随时间上升,但固定版本的重建成功率仅83%,其中76%的失败由缺失依赖导致,成功重建的应用中94%仍保持按位可重现。
摘要:
开源应用的安全性在很大程度上受益于从源代码重建并验证输出的可能性。F-Droid 是一个知名的开源 Android 应用分发平台,它在应用发布时系统地重建源代码并测试其按位可重现性。然而,F-Droid 无法保证应用的可重现性在未来持续成立。随着软件生态系统的演变,可重现性可能会退化,对软件保存和安全性产生潜在负面影响。我们首次对 F-Droid 应用生态系统中的构建可重现性进行了实证研究。通过分析历史可重现性日志,我们发现整体按位可重现率随时间稳步上升(随着新版本应用的发布)。然后,我们评估了固定版本应用的可重现性随时间的变化,尝试重建 F-Droid 先前确认按位可重现的 18,904 个应用版本(发布于 2018 年 9 月至 2026 年 2 月之间),实现了 83% 的重建成功率,并确定缺失依赖是失败的主要原因,占不可重建案例的 76%。在成功重建的应用中,94% 也是按位可重现的——即重建后仍产生按位相同的工件。这些结果共同表明,虽然按位可重现性在可重建的应用中基本成立,但可重建性本身对时间衰减高度敏感。
英文摘要:
The security of open source applications benefits considerably from the possibility of rebuilding their source and verifying the output. F-Droid, a prominent distribution for open source Android applications, systematically rebuilds them from source and tests their bitwise reproducibility at app publishing time. However, F-Droid offers no guarantee that app reproducibility will continue to hold in the future. As software ecosystems evolve, reproducibility may degrade, with potential negative consequences for software preservation and security. We present the first empirical study of build reproducibility in the F-Droid app ecosystem. Analyzing historical reproducibility logs, we find that the overall bitwise reproducibility rate has been steadily increasing over time (as new versions of apps are published). We then evaluate how reproducibility holds in time for fixed app versions, by attempting to rebuild 18 904 app versions that F-Droid had previously confirmed bitwise reproducible, published between September 2018 and February 2026, achieving an 83% rebuild success rate, and identify missing dependencies as the dominant cause of failure, accounting for 76% of non-rebuildable cases. Among successfully rebuilt apps, 94% are also bitwise reproducible-i.e., they still yield bitwise identical artifacts upon rebuild. Together, these results show that while bitwise reproducibility largely holds for apps that can be rebuilt, rebuildability itself is highly sensitive to temporal decay.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。