Audit Package
audit_packageAudit a specific PyPI or npm package version for supply-chain risks: known vulnerabilities, yanked or deprecated state, install scripts, provenance, publish recency, and declared repository.
Instructions
Check one PyPI or npm package version's supply-chain signals: known vulnerabilities (OSV.dev), yanked or deprecated state, install scripts (npm), provenance, publish recency (PyPI) and declared repository (PK001-PK006).
Use when: the user asks about a specific package (and version), e.g. one a config pins. Prefer another tool when: the user wants a full check of a server (audit_server).
Limits: large PyPI projects need an explicit version, because their project document exceeds the size cap used to resolve the latest. There is no install-script check for PyPI (build code is only in the sdist, which is never downloaded). npm version documents have no publish time, so recency is not checked for npm. Download counts, package age and owner history are not available. Findings are indicators, not verdicts, and a report with no findings is not proof of safety. coverage lists the checks that ran and those skipped, with reasons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | PyPI or npm package name. | |
| version | No | Exact version to audit. Empty: resolve the latest. | |
| ecosystem | Yes | pypi or npm. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||