What happened
PyPI has finished the redesign of its project pages that it announced in July. Each release now has a security tab showing its provenance state and the attestations attached to each file. Prominent warnings appear at the top of the page when a release looks unusual compared with the project’s history.
Why it matters
If you have no platform team, your Python dependencies are probably installed from PyPI with little review. Attacks on package ecosystems often come through a taken-over maintainer account or a tampered publishing workflow, and these new signals are aimed at exactly that.
A release is either fully attested or shows “no provenance”. PyPI is clear that no provenance does not mean malicious. It is common for older releases and for projects that have not set up Trusted Publishing. It only means the origin of the files cannot be cryptographically verified.
The warnings are more interesting. PyPI describes cases such as:
- some files having attestations while others do not
- files in one release coming from different build systems or repositories
- a release coming from a different repository or workflow than the previous one
- a project that used to publish with attestations suddenly stopping
Many have innocent explanations, such as a repository migration. Each one is still worth a quick check before you install.
Note that this is a page in a browser. It will not stop a bad install in your CI pipeline by itself.
What to do this week
- List the ten or so Python packages your product cannot live without, and open their PyPI pages to see the provenance state of the current release.
- Before upgrading a critical dependency, look for warnings and read the release notes or issue tracker if one appears.
- Keep dependency versions pinned, ideally with hashes, so a surprise release does not reach production unreviewed.
- If you publish your own packages, move to Trusted Publishing with a publisher that generates attestations.
- Agree who owns dependency upgrades in your team, so a warning leads to a decision rather than a shrug.
Need a hand?
Turning signals like these into a repeatable process for dependency review, CI checks and publishing is the kind of work our team does through our Security & Compliance service. The first call is free and is with an engineer, not a salesperson.
Source: PyPI's redesigned project pages with clearer security signals are now live
Related service: Security & Compliance