Trustcheck verifies PyPI attestations to protect Python dependencies
Verifies PyPI package attestations and Sigstore signatures to trace a published wheel back to its build origin, detecting typosquats and account-takeover artifacts. Created by HalfbloodPrince for Windows and as a cross-platform Python utility, the tool provides a lightweight CLI for signature checks, attestation validation, and automation in CI. It targets Python developers, DevOps engineers, and security researchers who manage sensitive dependency supply chains and need a repeatable verification step in their workflows.
What does trustcheck verify about a package?
It checks cryptographic attestations and signatures attached to PyPI distributions using Sigstore, confirming that a package’s published artifact can be traced back to a claimed build source. The tool reads PyPI metadata and associated attestations, verifies the Sigstore-signed proofs, and reports mismatches between the attestation and the package origin. Outputs indicate whether a package’s provenance is cryptographically plausible or if further investigation is required.
Does the verification process impact developer systems?
Verification runs as a lightweight CLI operation intended for terminal use or automation. The utility is distributed as a Windows package and a Python tool, which lets it run inside CI scripts or local checks with minimal environment setup. Because it performs signature validation and metadata reads rather than full builds or scans, the operation focuses on network requests and crypto verification rather than heavy CPU-bound processing.
Is the tool safe to use in automated pipelines?
It integrates with Sigstore and is designed for automation, so it fits into CI/CD checks that gate dependency installation. The CLI nature makes it scriptable and appropriate for pre-install or post-publish steps. The code is open-source and publicly auditable on GitHub, allowing teams to inspect verification logic before deploying it into an automated workflow.
Who should operate trustcheck and what expertise is required?
Practitioners familiar with dependency management and basic cryptography get the most value. The interface is command-line oriented, so using it inside CI or shell scripts requires knowledge of package names, build artifacts, and pipeline hooks. Security researchers and DevOps engineers can apply it directly; developers comfortable with package management can add it as an extra verification step without deeper system changes.
Clear, practical verification for teams securing Python dependencies
The tool provides a pragmatic attestation check that fits into developer workflows and CI pipelines, improving the ability to detect suspicious packages before installation. Expect a command-line workflow and a need for basic pipeline integration skills; the open-source code offers auditability. Recommended.





