list_cve_vendors
Retrieve all vendor names from the CVE database to identify potential security vulnerabilities in software and hardware components.
Instructions
Get a list of all vendors in the CVE database. Source: cve-search.org
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/operations/cves.ts:17-23 (handler)The core handler function that executes the tool logic by fetching the list of CVE vendors from the cve-search API.export async function listCveVendors(): Promise<any> { const response = await fetch(`${BASE_URL}/browse`); if (!response.ok) { throw new Error(`Failed to list vendors: ${response.statusText}`); } return response.json(); }
- src/index.ts:442-446 (registration)Tool registration in the ListToolsRequest handler, defining the tool name, description, and input schema (empty object).name: "list_cve_vendors", description: "Get a list of all vendors in the CVE database. Source: cve-search.org", inputSchema: zodToJsonSchema(z.object({})), },
- src/index.ts:1292-1297 (registration)Tool execution handler in the CallToolRequest switch statement, which calls the listCveVendors function and formats the response.const response = await cves.listCveVendors(); return { content: [ { type: "text", text: JSON.stringify(response, null, 2) }, ], };
- src/index.ts:445-445 (schema)Inline input schema definition for the tool (empty object since no parameters are required).inputSchema: zodToJsonSchema(z.object({})),
- src/operations/cves.ts:4-4 (helper)Base URL constant used by the listCveVendors handler and other CVE functions.const BASE_URL = "https://cve.circl.lu/api";