PyPI Adds Four Provenance Warnings to Flag Supply Chain Security Risks
Cybersecurity and privacy · AI coding
PyPI introduced a dedicated Security tab with four provenance alerts, using digital attestations to flag missing signatures, conflicting sources, or sudden pipeline changes. Current installers like pip and uv do not verify attestations natively.
To strengthen open-source supply chain defenses, PyPI updated its interface following OpenSSF guidelines to display four provenance warnings, helping developers spot signs of compromised accounts or tampered pipelines. The system checks digital attestations on individual package files and compares them against releases from the prior 14 days, flagging incomplete signatures, inconsistent sources, or altered workflows. PyPI noted that attestations verify origin rather than code safety, and native verification is not yet supported in pip or uv.
Key takeaways
- Digital attestations are verified per file; packages with only partial attestations trigger 'Incomplete Provenance', while artifacts built from separate repos or pipelines trigger 'Inconsistent Provenance'.
- PyPI compares updates with releases from the preceding 14 days, alerting to 'Change of Provenance' on workflow shifts and 'Loss of Provenance' when signed packages are followed by unsigned releases.
- Normal events like repository transfers may also trigger alerts, warranting checks against release notes; neither pip nor uv currently verifies attestations out of the box.
Source:iThome Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human. Translation checked by AI.