Known vulnerabilities for a package
package_vulnerabilitiesKnown security advisories for a package from OSV, the open advisory database. Returns advisory ids, severity, summary and the versions that fix each one. Pass 'version' to ask only about the version you are about to install; omit it to see advisories affecting any version. Use before pinning a dependency or when auditing a lockfile. Costs $0.008 USDC per call via x402 on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name. | |
| version | No | Optional exact version, e.g. '4.17.20'. Narrows advisories to that version. | |
| ecosystem | Yes | One of 'npm', 'pypi', 'crates'. |