← Lab /Software

Provenance-aware analysis finds 39 vulnerable Python packages and cuts false positives 97%

The authors claim their approach reduces false positives by up to 97% while identifying vulnerable packages across Python and OS ecosystems.

Software arXiv 19 Mar 2026 Method Prototype evidence

Published as “Cross-Ecosystem Vulnerability Analysis for Python Applications”

Why it matters

Security tools and package maintainers need provenance-aware analysis to correctly assess and remediate vulnerabilities in vendored native dependencies.

Summary

PYXSIEVE finds 39 Python packages directly vulnerable and 312 indirectly vulnerable, affecting over 47 M monthly downloads, and reduces false positives by up to 97% versus simple version matching; provenance resolution succeeds for 63.1% of security-relevant vendored libraries, but coverage varies by library frequency.

What they found 4

  1. Provenance of vendored libraries is resolved in 63.1% of cases

    “PYXSIEVE successfully resolves the provenance of vendored libraries in 63.1% of cases, identifying either the exact OS distribution package and version (including backported fixes) or, when the library is not sourced from an OS package, the upstream project and release version from which the binary was built.”

  2. 39 packages directly vulnerable and 312 indirectly vulnerable were identified

    “PYXSIEVE detects 39 Python packages that vendor library instances vulnerable to at least one of the selected CVEs.”

  3. Indirectly vulnerable packages total 312

    “In total, we find 312 indirectly vulnerable Python packages.”

  4. False-positive reduction up to 97% compared to baseline

    “Our analysis achieves up to 97% false positive reduction compared to upstream version matching.”

Caveats 6

  • For the HDF5 library, no false-positive reduction is achieved (0%).
  • FFmpeg sees only a 6% reduction, because it is typically built from source rather than pulled from a distribution.
  • Exhaustiveness of hash database: Our current implementation targets ELF binaries on Linux.
  • Custom repositories: Another limitation of PYXSIEVE is that it can currently resolve the provenance of vendored libraries only when they have a corresponding OS package.
  • Hash collisions: Using auditwheel’s 32-bit hash as a library identifier implies a hash space of 232 values, which would make collisions theoretically unavoidable when indexing libraries across thousands of packages and versions. ... We observed no such collisions during our evaluation (Section 5).
  • Version information in binaries: Although it is less common (we have not encountered such cases in our evaluation), some binaries may not embed version information.

What’s new here 4

  • Resolves vendored native libraries to specific OS distribution packages, capturing backported security patches.
  • Builds cross-ecosystem call graphs that span Python code, native extensions, vendored libs, and system libs for reachability analysis.
  • Uses content-based hashing of ELF binaries to identify exact provenance rather than similarity-based version estimation.
  • Applies lightweight library-specific dynamic analyses to extract version info directly from binaries.