AgentAPIGate
Back to Catalog
GET /v1/security/osv/vuln_detailPack: intel·MCP Tool: security_osv_vuln_detail

OSV Open-Source Vulnerability Lookup

Query Google OSV.dev open-source vulnerabilities by vulnerability ID (GHSA/CVE/PYSEC/RUSTSEC) or by ecosystem + package_name.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Vulnerability ID (e.g. "GHSA-jfh8-c2jp-5v3q", "PYSEC-2023-74", or "CVE-2021-44228")
Optional package name when searching by package (e.g. "lodash", "requests")
Optional OSV ecosystem with package_name (e.g. "npm", "PyPI", "crates.io", "Go")
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/security/osv/vuln_detail" \
  --data-urlencode "vuln_id=GHSA-jfh8-c2jp-5v3q" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-98% tokens
# OSV Open-Source Vulnerability Lookup (`security.osv.vuln_detail`)
**mode**: id · **count**: 1

## vulnerabilities
- [1] id: GHSA-jfh8-c2jp-5v3q, aliases: CVE-2021-44228, summary: Remote code injection in Log4j, details: # Summary Log4j versions prior to 2.16.0 are subject to a remote code execution vulnerability via the ldap JNDI parser. As per [Apache's Log4j security guide](https://logging.apache.org/log4j/2.x/secu

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: security.osv.vuln_detail · Method: GET
ParameterTypeReqSample / DefaultDescription
vuln_idstringoptionalGHSA-jfh8-c2jp-5v3qVulnerability ID (e.g. "GHSA-jfh8-c2jp-5v3q", "PYSEC-2023-74", or "CVE-2021-44228")
package_namestringoptional—Optional package name when searching by package (e.g. "lodash", "requests")
ecosystemstringoptional—Optional OSV ecosystem with package_name (e.g. "npm", "PyPI", "crates.io", "Go")
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolsecurity_osv_vuln_detailOAuth 2.1 Hub & /mcp/intel
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency235 ms$0 billed on empty or 4xx/5xx
Token Economy6161t → 110t (-98%)Partner credit: eligible

More security.osv Sibling Endpoints

Frequently Asked Questions

How do I call OSV Open-Source Vulnerability Lookup (security.osv.vuln_detail) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/security/osv/vuln_detail with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool security_osv_vuln_detail on https://mcp.agentapigate.ai/mcp.

What does security.osv.vuln_detail cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.001 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.vuln_detail?

Passing ?format=md transforms the response into normalized Markdown (~110 tokens vs ~6161 raw tokens, saving 98% 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.vuln_detail"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.