PyPI's redesigned project pages with clearer security signals are now live blog....
HN Best 30 @best30
PyPI's redesigned project pages with clearer security signals are now live blog.pypi.org · 231 points · 99 comments · HN thread
TL;DR PyPI has finished a redesign of its project pages that adds a dedicated Security tab, provenance states (Full, No provenance) and warning banners (Incomplete, Inconsistent, Change, Loss of Provenance) based on whether release files carry Sigstore-style attestations. The work was funded by OpenSSF and built with Kabu Creative, following the OpenSSF Attestations Style Guide.
- A release's provenance state is computed from whether its files have attestations: Full Provenance when 100% of files do, No Provenance when none do.
- Two attestation types are supported: PyPI Publish attestations (confirm a Trusted Publisher uploaded the file) and SLSA Build Provenance (link to source commit, build platform and instructions).
- Provenance warnings appear at the top of project pages when metadata looks unusual, such as partially attested releases, files from different build systems, or a change or loss of publishing origin; the quarantine banner overrides all other banners.
- The release files tab adds search and filtering, per-file provenance, and orange icons for late files uploaded more than 14 days after release (only for releases before July 2026, when a 14-day upload cutoff policy began).
- The release history tab now shows file count, provenance state and release status (quarantined, yanked, archived, pre-release).
Discussion The thread is long and largely critical, centering on whether attestations meaningfully improve security or mainly entrench a small set of large forges (GitHub, GitLab, Google) as trusted publishers. Commenters repeatedly raise the lack of support for self-hosted or individual signing (PGP-style or local builds), the difficulty for non-profit forges like Codeberg, and confusing warning wording. PyPI maintainer woodruffw answers many questions directly, defending the design and the key-management bar, and the mood is skeptical but substantive, with some praise for the UI work and the GitLab support.
- Attestations centralize trust in big cloud forges and encourage lock-in (many): Several commenters argue that tying trust to GitHub, GitLab or Google workflows makes the ecosystem depend on large corporations, which they see as anti-decentralization and not in keeping with Python's values. Others note that roads to centralization add up even if each step is pragmatic.
- Attestations don't improve real security, only compliance (many): Critics say a checkmark only proves the artifact was built on a given platform, not that the source is trustworthy, and that compromised repository access would still pass. They favor reproducible builds and distributed review instead.
- PyPI's key-management bar excludes small or self-hosted providers (many): Operators of Codeberg, Sourcehut or self-hosted CI argue the requirements (secure key storage, rotation, notability) are too onerous. PyPI maintainers reply that storing keys on disk is not acceptable, but a self-hosted Vault or a YubiKey-class setup would likely suffice.
- Individuals should be able to sign uploads with their own keys (some): Several commenters want to attach a personal public key to their PyPI account and sign releases locally, or get email-based attestations. PyPI says email attestations are planned, but critics find the proposal still relies on a provider.
- The feature is useful and the design is a step forward (some): Supporters, including the project's own contributors, see the clearer signals and documentation as a real improvement, and say keyless short-lived signing and wider provider support are the right direction.
- Warnings and the permanent switch are confusing or harmful to maintainers (some): A maintainer reports that once one file is attested, all later files must be too or big warnings appear, with no email notice when an unattested upload happens. Others say the terms 'authorized' and 'trusted' sound scarier than intended.
- Few users actually look at these pages (a few): A brief remark notes that almost nobody views project pages before installing, so the signals may have little practical effect; a PGP-related joke also recurs.
Links from the comments
- PyPI's security model doc explaining what attestations do and do not prove.
- Issue discussing support for Codeberg as a trusted publisher.
- Discussion thread for email-based attestations that would support local builds.
- Discourse thread on new security indicators and unequal access to Trusted Publishing.
- Maintainer woodruffw's post explaining why GitHub and GitLab were prioritized.
#PyPI #supplyChainSecurity #attestations #trustedPublishing #opensourceGovernance