Search By Product
search_by_productFind CVEs affecting a specific product and version. Useful for vulnerability assessment of software components. Also returns package_advisories (GHSA reviewed, Go, PyPA, RustSec) for the exact package name, optionally within an OSV ecosystem or from a purl; with a version, each row carries version_evaluation affected, not_affected or not_evaluated (only PyPI, Go, npm and crates.io ranges are evaluated). Also returns redhat_products: Red Hat products matched by product name, CPE or exact component name, with their VEX statuses (scoped to that product) and RHSA advisories; Red Hat versions are not evaluated and a non-Red Hat vendor filter omits the block. NVD-rejected records are excluded unless include_rejected=true; every row carries vuln_status and rejected.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_name": "<product_name>"
},
"name": "search_by_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purl | No | Package URL (e.g. 'pkg:pypi/urllib3@1.26.0'); sets the package name, ecosystem and version when version is not given | |
| limit | No | Max results | |
| vendor | No | Vendor name filter (e.g., 'apache', 'microsoft') | |
| version | No | Specific version to check (e.g., '2.4.49') | |
| ecosystem | No | OSV ecosystem for the package advisories (e.g. 'PyPI', 'npm', 'Go', 'crates.io', 'Maven', 'NuGet', 'RubyGems') | |
| product_name | Yes | Product name to search (e.g., 'apache', 'nginx') | |
| include_rejected | No | Also return records NVD has rejected (flagged rejected: true) | |
| version_operator | No | Version comparison operator |