Skip to main content
AI & Technology

Updating a Python package? Use PyPI’s Security tab to check the exact file

One Python package release can contain several files. Find out which one production will install and what its attestation can tell you.

2 Dec 20264 minOpenSSF and PyPI
PythonPyPISoftware Supply Chain
A magnifying glass over a marked envelope beside an unchecked one
AI-generated illustration of checking evidence for one file at a time.

Your invoicing system needs a Python library update before the next billing run. The team sees provenance for the new release on PyPI, but a single release can offer several files to install. Before approving the update, ask the system owner which file production will use and whether the evidence covers that file.

OpenSSF featured PyPI’s Security tab in its November 30, 2026 newsletter. The original November 17 post said the tab was already live. It summarizes provenance across a release and lets users inspect the evidence for individual release files. OpenSSF newsletter · Security tab announcement

From the release status to the actual file

Depending on the environment and configuration, the team may install a prebuilt wheel or build a package at install time from a source distribution. When the tab shows incomplete provenance, open the file list and match the filename and hash against the artifact the production installation will use. PyPI guide to checking package provenance

A PyPI Publish attestation binds the file to the identity that published it through a mechanism PyPI supports. Optional SLSA Build Provenance records information about who built the file, how it was built, and which inputs were recorded. Use the tab to see what evidence is available. Verify the signature separately against the file you plan to install. After verifying the signature, check whether the identity or workflow matches what your team expects. Provenance addresses origin. Reviewing release notes, checking known vulnerabilities, and testing the workflow still need their own checks. PyPI attestation documentation · SLSA Build Provenance specification

Worked example: staging and production choose different files

Finance needs to issue invoices the next day. A developer finds a PyPI Publish attestation from the expected project for the wheel used in staging. Production runs Linux on a different architecture and the installer selects a source distribution with no attestation. The staging result leaves the actual production file unevaluated.

The developer records the production filename and hash and repeats the installation in a matching test environment. If a compatible wheel has evidence from the expected identity, the team pins the version and hash, tests invoicing with that exact file, and asks the system owner to approve that file alone. If a suitable file remains unavailable and the update can wait, keep the existing version while checking with the maintainer. If the update addresses an urgent vulnerability, the system owner can decide whether to allow an exception based on the available evidence, test results, and rollback plan.

Before the next update, pick one library used by a system that cannot afford downtime. Ask the system maintainer to attach the filename, hash, verified origin, and test result to one approval record. The next reviewer will have a reference if the publisher changes or production starts selecting a different file.

"Empowering Innovation,
Transforming Futures."

Contact us to make your project a reality.