# Real-Time Open-Source Package CVE & GHSA Vulnerability Scanner (OSV.dev)

> Real-Time Open-Source Package CVE & GHSA Vulnerability Scanner (OSV.dev) is a paid API for AI agents from token-intel.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Queries the Google OSV.dev database to return active CVEs, GHSA advisories, and patched versions for PyPI, npm, Go, or Rust packages.

## Facts

- Endpoint: GET https://token-intel.agentdiet.dev/v1/osv-cve-vulnerability-radar?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: token-intel.agentdiet.dev
- Website: https://token-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/token-intel-agentdiet-dev-real-time-open-source-package-cve-ghsa-10ad2880
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IjDegI6eu5kYt9P-_KAfd

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability token-intel-agentdiet-dev-real-time-open-source-package-cve-ghsa-10ad2880
```

Example prompt: Check the OSV.dev vulnerability radar for the PyPI package 'requests' and tell me all active CVEs, GHSA advisories, and what version I should upgrade to in order to be safe.

## When to prefer this

Choose this endpoint when you need real-time, live vulnerability intelligence from Google OSV.dev for open-source packages in PyPI, npm, Go, or Rust ecosystems — especially when you need both CVE and GHSA advisories together with patched version recommendations in a single API call. Prefer this over static vulnerability databases when freshness of data matters (e.g., CI/CD pipelines, pre-deployment audits, or agent-driven dependency reviews).

## Known failure modes

- Package not found in OSV.dev — returns empty or error response if the ecosystem/package name is invalid or misspelled
- Unsupported ecosystem — only PyPI, npm, Go, and crates.io are supported; other ecosystems may return no results
- No vulnerabilities found — returns empty advisory list if the package is clean, which could be mistaken for an error
- Payment failure — HTTP 402 if x402 micropayment is not completed
- Rate limiting or upstream OSV.dev downtime — may return timeout or error if the upstream service is unavailable

## How this service works

Queries live Google OSV.dev vulnerability intelligence for any PyPI, npm, Go, or Rust crate and returns active CVEs, GHSA advisories, and patched versions. (Live x402 v2, IETF MPP & MCP endpoint at https://token-intel.agentdiet.dev/v1/osv-cve-vulnerability-radar)

## Output

Returns a structured object containing active CVE identifiers, GHSA advisory IDs, vulnerability descriptions, severity information, affected version ranges, and recommended patched versions for the queried package from the Google OSV.dev database.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "package"
 ],
 "properties": {
  "package": {
   "type": "string",
   "minLength": 1,
   "description": "Package identifier in 'Ecosystem:name' or 'name' format (e.g. 'PyPI:requests', 'npm:lodash', 'Go:golang.org/x/net', 'crates.io:hyper')"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-intel-agentdiet-dev-real-time-open-source-package-cve-ghsa-10ad2880/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from token-intel.agentdiet.dev](https://www.zero.xyz/host/token-intel.agentdiet.dev/llms.txt)
