PyPI's redesigned project pages with clearer security signals are now live blog....
HN Best 200 @best
PyPI's redesigned project pages with clearer security signals are now live blog.pypi.org · 96 points · 27 comments · HN thread
TL;DR PyPI has finished and launched a redesign of its project pages that surfaces package provenance (attestation) information more prominently, including a new Security tab, provenance states and warnings, and a reworked release files and history view. The work was done with Kabu Creative and funded by the OpenSSF. The thread mostly debates the limits of Trusted Publishing, which only supports a few large providers, and whether the warnings are accurate.
- A new Security tab shows each release's provenance state and per-file attestations, with links to transparency logs.
- Provenance states are Full Provenance (all files have attestations, either PyPI Publish or SLSA Build Provenance) or No Provenance (no file has one).
- Warnings cover Incomplete, Inconsistent, Change of, and Loss of Provenance, meant to flag possible account or pipeline compromise rather than confirmed malware.
- Provenance warnings and status banners now appear at the top of project pages, and quarantine banners take precedence over all others.
- The release files tab adds search and filters and flags late uploads (more than 14 days after release) with an orange icon, only for releases before July 2026.
- The design followed OpenSSF Attestations Style Guide recommendations and was based on user research and community testing.
Discussion The thread is a mix of practical questions and criticism. Commenters point to examples of projects with and without provenance, report a display bug in the icons on mobile, and debate who can become a Trusted Publisher, with several arguing that only large for-profit providers are currently accepted and that Codeberg support is stalled over key-management concerns. Maintainers from the PyPI side (woodruffw) respond directly to correct claims about the switch being permanent. Other commenters argue that attestations are a weak form of trust, that PGP or self-managed signing would be preferable, and that the warnings may misrepresent projects. The overall mood is skeptical but technically engaged, with a few dismissive remarks.
- Trusted Publisher support is too limited and favors large companies (many): Several commenters say only big corporate CI providers qualify, and that self-hosted or non-GitHub projects like Codeberg or Sourcehut are shut out. PyPI maintainers reply that they want more providers but require strong key management and rotation first.
- Warnings may be misleading or wrongly switch projects into a bad state (some): One commenter says switching all files to Trusted Publishing is effectively permanent, which maintainers dispute with a link to a discussion. Another says PyPI spreads misinformation about projects, while others say the warnings only detect hijacked accounts, not malicious packages.
- Attestations are not a substitute for signing or code review (some): Commenters argue that provenance only shows where a file was built, not that the code is safe, and that the system depends on trusting large vendors. Some want the ability to sign with personal keys or PGP.
- Praise for surfacing provenance information (a few): A few commenters welcome the clearer signals and ask for reusable workflow support in Trusted Publishing.
- Interface issues and unrelated documentation tooling complaints (a few): Some note an icon inconsistency between source and wheel files, which maintainers attribute to a likely mobile bug. One commenter criticizes the move of docs from Material for MkDocs to Zensical.
Links from the comments
- Discussion of adding Codeberg as a Trusted Publisher provider, including key storage concerns.
- Request to support reusable workflows in Trusted Publishing.
- Discourse thread on whether attestation switching is permanent and on unequal access to Trusted Publishing.
- Bug report form for the icon display issue reported on mobile.
#PyPI #supplyChainSecurity #attestations #trustedPublishing #Python