# 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 hn-pulse.agentdiet.dev, paid per call via MPP, $0.015000/call, status unknown (last checked 2026-10-21).

Queries live OSV.dev vulnerability data for a named open-source package and returns active CVEs, GHSA advisories, and patched version information.

## Facts

- Endpoint: GET https://hn-pulse.agentdiet.dev/v1/cve?utm_source=zero.xyz
- Price: $0.015000/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: hn-pulse.agentdiet.dev
- Website: https://hn-pulse.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/hn-pulse-agentdiet-dev-real-time-open-source-package-cve-ghsa-83ed8d11
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IzVv8mEUMh57ttJv85Lox

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 hn-pulse-agentdiet-dev-real-time-open-source-package-cve-ghsa-83ed8d11
```

Example prompt: Can you check if the npm package lodash has any known CVEs or security advisories right now, and tell me which versions are patched?

## When to prefer this

Choose this endpoint when you need real-time, live vulnerability data from OSV.dev for a specific open-source package across PyPI, npm, Go modules, or Rust crates. It is ideal for automated dependency auditing, CI/CD security gating, or agent-driven supply chain risk checks where freshness of CVE and GHSA data matters. Prefer this over static SBOMs or offline vulnerability databases when you need the latest advisory status and patched version guidance.

## Known failure modes

- Package not found in the specified ecosystem returns empty vulnerability list or 404-style response
- Malformed package identifier (missing ecosystem prefix or typo) may produce no results or an error
- OSV.dev upstream API downtime causes query failure or timeout
- Requesting a very new or obscure package may yield no advisories even if vulnerabilities exist but are not yet indexed
- Rate limiting or payment failure (HTTP 402) if quota is exceeded

## 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://hn-pulse.agentdiet.dev/v1/cve)

## Output

Returns a structured object containing any active vulnerability records for the queried package sourced from OSV.dev, including CVE IDs, GHSA advisory identifiers, vulnerability descriptions, severity information, and the patched/fixed versions available.

## 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/hn-pulse-agentdiet-dev-real-time-open-source-package-cve-ghsa-83ed8d11/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hn-pulse.agentdiet.dev](https://www.zero.xyz/host/hn-pulse.agentdiet.dev/llms.txt)
