Verify package
verify_packageVerify an npm or PyPI package before installing. Check advisories, install scripts, typosquatting, scope/repo mismatches, and release changes to get safe, caution, block, or does_not_exist verdicts.
Instructions
Verify an npm or PyPI package before installing it. Runs up to nine checks covering advisories, install scripts, typosquat and combosquat names, scope and declared-repository checks, and how the release differs from its predecessors, and answers safe, caution, block or does_not_exist with every reason labelled as fact or heuristic against its source. One call is one verification: the first each day is free, and later ones cost $0.05 in USDC when a wallet is configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name: left-pad or @scope/thing on npm, requests on PyPI. | |
| version | No | Exact version to verify. Omit to verify the package rather than one release. | |
| ecosystem | No | Package ecosystem: npm or pypi. | npm |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| reasons | Yes | Every reason behind the verdict. | |
| sources | Yes | The datasets consulted, by name and URL. | |
| verdict | Yes | ||
| version | Yes | The version verified, or null if none was given. | |
| dist_tag | No | The dist-tag a version-less request resolved through; null when a version was given. | |
| ecosystem | Yes | ||
| checked_at | Yes | When the verdict was computed, ISO 8601 UTC. | |
| resolved_version | No | The release the checks ran against: the version asked for, or the registry's latest. |