Package Integrity Verify
verifyValidate package integrity by comparing hashes against npm or PyPI registries and checking SLSA provenance to confirm builds from the claimed source repository.
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 |