OSV Open-Source Package Vulnerabilities & CVEs
Query Google/OSV vulnerability database for known security advisories and CVEs affecting npm, PyPI, crates.io, Go, Maven, or NuGet packages.
curl -sG "https://api.agentapigate.ai/v1/security/osv/vulnerabilities" \ --data-urlencode "package_name=lodash" \ --data-urlencode "ecosystem=npm" \ --data-urlencode "limit=10" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# OSV Open-Source Package Vulnerabilities & CVEs (`security.osv.vulnerabilities`) **package_name**: lodash · **ecosystem**: npm · **total_vulns**: 10 · **count**: 10 ## vulnerabilities - [1] id: GHSA-29mw-wpgm-hmr9, aliases: CVE-2020-28500, summary: Regular Expression Denial of Service (ReDoS) in lodash, published: 2022-01-06T20:30:46Z, modified: 2025-09-29T21:12:31.102523Z - [2] id: GHSA-35jh-r3h4-6jhm, aliases: CVE-2021-23337, summary: Command Injection in lodash, published: 2021-05-06T16:05:51Z, modified: 2026-10-17T02:55:38.085813876Z - [3] id: GHSA-4xc9-xhrj-v574, aliases: CVE-2018-16487, summary: Prototype Pollution in lodash, published: 2019-02-07T18:16:48Z, modified: 2025-08-12T21:55:35.778975Z - [4] id: GHSA-f23m-r3pf-42rh, aliases: CVE-2026-2950, summary: lodash vulnerable to prototype pollution via array-path bypass in `_.unset`, `_.omit`, and `_.pullAt, published: 2026-04-01T23:50:27Z, modified: 2026-11-03T15:45:08.465610798Z - [5] id: GHSA-fvqr-27wr-82fm, aliases: CVE-2018-3721, summary: Prototype Pollution in lodash, published: 2018-07-26T15:14:52Z, modified: 2025-08-12T21:55:16.003066Z - [6] id: GHSA-jf85-cpcp-j695, aliases: CVE-2019-10744, SNYK-JS-LODASH-450202, summary: Prototype Pollution in lodash, published: 2019-07-10T19:45:23Z, modified: 2026-09-10T03:47:55.238868631Z - [7] id: GHSA-p6mc-m468-83gw, aliases: CVE-2020-8203, summary: Prototype Pollution in lodash, published: 2020-07-15T19:15:48Z, modified: 2025-08-12T21:56:17.174859Z - [8] id: GHSA-r5fr-rjxr-66jc, aliases: CVE-2026-4800, summary: lodash vulnerable to Code Injection via `_.template` imports key names, published: 2026-04-01T23:51:12Z, modified: 2026-10-17T02:56:15.633068434Z - [9] id: GHSA-x5rq-j2xg-h7qm, aliases: CVE-2019-1010266, SNYK-JS-LODASH-73639, summary: Regular Expression Denial of Service (ReDoS) in lodash, published: 2019-07-19T16:13:07Z, modified: 2026-09-10T03:48:25.206281974Z - [10] id: GHSA-xxjr-mmjv-4gpg, aliases: CVE-2025-13465, summary: Lodash has Prototype Pollution Vulnerability in `_.unset`, `_.omit`, and `_.pullAt` functions, published: 2026-01-21T23:01:22Z, modified: 2026-11-04T03:15:10.832238351Z
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:security.osv.vulnerabilities · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| package_name | string | required | lodash | Open-source package name (e.g. "lodash", "requests", "serde") |
| ecosystem | string | optional | npm | OSV ecosystem (npm, PyPI, crates.io, Go, Maven, NuGet) |
| version | string | optional | — | Optional exact package version to check |
| limit | number | optional | 10 | Max advisories returned (1-30) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0005 / call | $0/mo · Balance never expires |
| Remote MCP Tool | security_osv_vulnerabilities | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 213 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 9827t → 569t (-94%) | Partner credit: eligible |
More security.osv Sibling Endpoints
Frequently Asked Questions
How do I call OSV Open-Source Package Vulnerabilities & CVEs (security.osv.vulnerabilities) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/security/osv/vulnerabilities with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool security_osv_vulnerabilities on https://mcp.agentapigate.ai/mcp.
What does security.osv.vulnerabilities cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.0005 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on security.osv.vulnerabilities?
Passing ?format=md transforms the response into normalized Markdown (~569 tokens vs ~9827 raw tokens, saving 94% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only intel endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["security.osv.vulnerabilities"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.