Package Integrity Verify
verifyChecks SHA-256 hashes and SLSA provenance attestations for packages from npm or PyPI to confirm integrity and source repository claims.
Instructions
Verify package integrity and SLSA provenance against registries.
Checks SHA-256/SRI hashes against npm/PyPI registries and looks up
SLSA build provenance attestations to confirm the package was built
from its claimed source repository.
Returns:
JSON with integrity verification (hash match, expected vs actual)
and provenance status (SLSA level, source repo, build trigger).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Package name with optional version, e.g. 'express@4.18.2' or 'requests==2.31.0'. | |
| ecosystem | No | Package ecosystem: 'npm' or 'pypi'. | npm |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |