Get vulnerability advisory details (free, OSV.dev)
osv_get_vulnerabilityFetch full OSV vulnerability records for advisory IDs from api.osv.dev to get details, severity, affected ranges, and fixed versions. Use when you have IDs and need remediation specifics.
Instructions
WHAT: Fetch full OSV records (summary, details, aliases, severity vectors, affected ranges, fixed versions, references) for advisory IDs directly from api.osv.dev. WHEN: You have IDs (from osv_query_packages or a report) and need details or the fixed version. WHEN NOT: To find which vulns affect a package version (osv_query_packages, free) or a whole manifest (osv_audit_dependencies, paid). COST: Free. Direct HTTPS to api.osv.dev only; no token. Max 25 IDs per call, 20 s timeout each. RETURNS: Paged items {type:"vulnerability",id,summary,details,aliases,severity,affected,references,published,modified,osv_url} or {type:"error",code:VULN_NOT_FOUND|OSV_FETCH_FAILED,id,retryable}. EXAMPLE: {"ids":["GHSA-35jh-r3h4-6jhm"]} -> lodash command injection, fixed in 4.17.21.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Required. 1-25 IDs (3-100 chars, letters/digits/.-_:), e.g. ["GHSA-35jh-r3h4-6jhm","PYSEC-2021-9","GO-2022-0969"] | |
| limit | No | Page size: items to return, integer 1-25 (default 25) | |
| offset | No | Items to skip for paging, integer >= 0 (default 0); pass nextOffset from the previous response |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Tool-specific context (summary counts, cost notes, ...) | |
| count | Yes | Number of items in this page | |
| items | Yes | Result rows for this page | |
| total | Yes | Total items before paging | |
| offset | Yes | Offset of the first item in this page | |
| hasMore | Yes | True if more items exist after this page | |
| nextOffset | Yes | Offset to pass for the next page, or null |