OSV

by EdenYavin
Verified

query_package_cve

Query the OSV database to retrieve CVE IDs associated with a specific package, version, or ecosystem, helping identify vulnerabilities for secure development practices.

Instructions

Query the OSV database for a package and return the CVE ID. Args: package: The package name to query version: The version of the package to query, can be None if you want to query all versions ecosystem: The ecosystem of the package to query, can be None if you want to query all ecosystems. * Supported ecosystems: - For python packages, the ecosystem is "PyPI" Returns: A list of CVE IDs

Input Schema

NameRequiredDescriptionDefault
ecosystemNoPyPI
packageYes
versionNo

Input Schema (JSON Schema)

{ "properties": { "ecosystem": { "default": "PyPI", "title": "Ecosystem", "type": "string" }, "package": { "title": "Package", "type": "string" }, "version": { "default": null, "title": "Version", "type": "string" } }, "required": [ "package" ], "title": "query_package_cveArguments", "type": "object" }

You must be authenticated.

Other Tools from OSV

Related Tools

ID: v2cmrj1d1r