Signing in Four Public Software Package Registries: Quantity, Quality, and Influencing Factors
Preprint
Abstract
Many software applications incorporate open-source third-party packages distributed by third-party package registries. Guaranteeing authorship along this supply chain is a challenge. Package maintainers can guarantee package authorship through software signing. However, it is unclear how common this practice is, and whether the resulting signatures are created properly. Prior work has provided raw data on signing practices, but measured single platforms, did not consider time, and did not provide insight on factors that may influence signing. We lack a comprehensive, multi-platform understanding of signing adoption and relevant factors. This study addresses this gap. We provide measurements across three kinds of package registries: traditional software (Maven, PyPi), container images (DockerHub), and machine learning models (HuggingFace). For each registry, we describe the nature of the signed artifacts as well as the current quantity and quality of signatures. Then, we examine longitudinal trends in signing practices. Finally, we use a quasi-experiment to estimate the effect that various events had on software signing practices. To summarize our findings: (1) mandating signature adoption improves the quantity of signatures; (2) providing dedicated tooling improves the quality of signing; (3) getting started is the hard part -- once a maintainer begins to sign, they tend to continue doing so; and (4) although many supply chain attacks are mitigable via signing, signing adoption is primarily affected by registry policy rather than by public knowledge of attacks, new engineering standards, etc. These findings highlight the importance of software package registry managers and signing infrastructure.Keywords
All Related Versions
This publication has 28 references indexed in Scilit:
- Challenges of Producing Software Bill of Materials for JavaIEEE Security & Privacy, 2023
- OpenSSF Scorecard: On the Path Toward Ecosystem-Wide Automated Security MetricsIEEE Security & Privacy, 2023
- An Empirical Study of Pre-Trained Model Reuse in the Hugging Face Deep Learning Model Registry2023
- PTMTorrent: A Dataset for Mining Open-source Pre-trained Model Packages2023
- Software Bills of Materials Are Required. Are We There Yet?IEEE Security & Privacy, 2023
- Top Five Challenges in Software Supply Chain Security: Observations From 30 Industry and Government OrganizationsIEEE Security & Privacy, 2022
- Reproducible Builds: Increasing the Integrity of Software Supply ChainsIEEE Software, 2021
- An empirical comparison of dependency network evolution in seven software packaging ecosystemsEmpirical Software Engineering, 2018
- Behavioural Economics: A Very Short Introduction2017
- Effects of externally mediated rewards on intrinsic motivation.Journal of Personality and Social Psychology, 1971