← Lab /Software

Dependency Confidence Index shows moderate agreement with OpenSSF scores for PyPI packages

DCI provides a reliable composite trust score that aligns moderately with OpenSSF Scorecard results

Software arXiv 17 Aug 2026 Measurement Prototype evidence

Published as “DCI: Dependency Confidence Index for Assessing Open-Source Dependency Trustworthiness”

Why it matters

DCI can serve as an additional screening signal for developers to compare OSS dependencies, but it should not replace dedicated security tools.

Summary

The Dependency Confidence Index (DCI) scores show a moderate, statistically significant correlation with OpenSSF Scorecard scores (correlation coefficient of 0.396, p = 0.0002). DCI’s mean score on 85 evaluated Python packages is 0.665, slightly higher than the Scorecard mean of 0.622, and the test-retest experiment demonstrates perfect repeatability under unchanged conditions. However, the security factor, despite receiving the highest weight in the AHP survey, contributed no observable variation because its measurements were constant across the dataset, limiting DCI’s ability to capture security differences.

What they found 2

  1. Standard DCI scores correlate moderately with OpenSSF Scorecard scores.

    “there is a moderate, but statistically significant correlation between standard DCI values and Scorecard values, with a correlation coefficient of 0.396, and a p-value of 0.0002.”

  2. Test-retest runs show perfect computational repeatability for the subset of packages.

    “The test-retest experiment demonstrates computational repeatability for the subset of packages evaluated twice under unchanged conditions and exact package versions.”

Caveats 7

  • The security factor, assigned the highest AHP weight, showed no significant correlation (r = 0.033, p = 0.767) because its measurements were constant across all packages.
  • Four of the nine trust factors rely on measurements that were constant (e.g., license declaration, vulnerability density), reducing the effective dimensionality of the index.
  • The evaluation is limited to popular Python packages, yielding a narrow score distribution and preventing assessment of DCI on low-quality or malicious libraries.
  • The most important limitation is the limited validity of DCI. As trustworthiness is fundamentally subjective in nature, its actual value cannot be objectively determined.
  • The AHP-based weighting scheme is another important limitation. The sample consisted of only ten homogeneous respondents.
  • The limited applicability of DCI to all programming languages is a result of the use of a literature review to establish upper bounds for the measurements.
  • The current dataset does also not permit conclusions about the behavior of DCI for unpopular, abandoned, newly created, malicious, or historically vulnerable packages.

What’s new here 4

  • Combines nine empirically weighted trust factors into a single normalized composite score for OSS dependencies.
  • Implements 12 automated measurements using SonarQube, GitHub APIs, and OpenSSF Scorecard data within a containerized evaluation platform.
  • Provides both a standard DCI and an isolated version that excludes factors overlapping with Scorecard, enabling analysis of complementary contributions.
  • Offers a publicly available implementation to support further research and practical dependency auditing.