Package Vulnerabilities
package_vulnerabilitiesCheck a package for known vulnerabilities via OSV by providing its ecosystem, name, and optional version.
Instructions
List known vulnerabilities for a software package (optionally a specific version) via OSV. Ecosystems: npm, pypi, cargo, go, maven, rubygems, nuget, composer, pub, hex.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact package name as published in that registry, e.g. lodash for npm, requests for pypi. | |
| version | No | Optional; if given, only vulns affecting that version are returned | |
| ecosystem | Yes | Package registry to look in. One of: npm, pypi, cargo, go, maven, rubygems, nuget, composer, pub, hex. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| source | No | ||
| version | No | ||
| ecosystem | No | ||
| provenance | No | Where this answer came from. served_at is when Datakoot answered (UTC); upstream lists the official sources consulted. Datakoot may serve a briefly cached copy, so the source's own observation can be older than served_at. | |
| vulnerabilities | No | ||
| vulnerability_count | No |