<i>Trusting Code in the Wild</i>: Exploring Contributor Reputation Measures to Review Dependencies in the Rust Ecosystem
Developers rely on open-source packages and must review dependencies to safeguard against vulnerable or malicious upstream code. A careful review of all dependencies changes often does not occur in practice. Therefore, developers need signals to inform of dependency changes that require additional examination, particularly measures for contributor reputation. The goal of this study is to help developers prioritize dependency review efforts by analyzing contributor reputation measures as a signal in the Rust ecosystem. We use network centrality measures to proxy contributor reputation using collaboration activity. We employ a mixed method methodology from the top 1,644 packages in the Rust ecosystem to build a network of 6,949 developers, survey 285 developers, and model 5 centrality measures. Through our survey, we find that only 24% of respondents often review dependencies before adding or updating a package, mentioning difficulties in the review process and signals are therefore employed. Particularly, 51% of respondents often consider contributor reputation when reviewing dependencies. We further explore contributor reputation through network centrality measures employing multivariate mixed-effect linear regression models. We find that the closeness centrality measure is a significant factor in explaining how developers choose to review dependencies. Yet, centrality measures alone do not account for how developers choose to review dependencies. We recommend the Rust ecosystem implement a contributor reputation badge based on our modeled coefficients to complement developers’ dependency review efforts.
Authors
- Mahzabin Tamanna (ORCID: https://orcid.org/0009-0005-3162-7580)
- Laurie Williams (ORCID: https://orcid.org/0000-0003-3300-6540)
- Sivana Hamer (ORCID: https://orcid.org/0009-0001-8381-1436)
- Preya Shabrina (ORCID: https://orcid.org/0000-0003-4818-3662)
- Nasif Imtiaz (ORCID: https://orcid.org/0000-0002-1955-1924)
Institutions
- North Carolina State University (US)
Publication Details
- Journal
- IEEE Transactions on Software Engineering
- Published
- 2025-03-18
- DOI
- https://doi.org/10.1109/tse.2025.3551664
- Citations
- 1
- Primary Topic
- Political Influence and Corporate Strategies
- Type
- article
- Field-Weighted Citation Impact
- 2.23