# AgentDiet EPSS CVE & GHSA Vulnerability Scanner

> AgentDiet EPSS CVE & GHSA Vulnerability Scanner is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Queries the Google OSV.dev database in real time to retrieve active CVEs, GHSA advisories, and patched versions for open-source packages across PyPI, npm, Go, and Rust ecosystems.

## Facts

- Endpoint: GET https://agentdiet.dev/v1/epss-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-epss-cve-ghsa-vulnerability-scanner-a662ff27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oXA-ZE8P2gWmm9sPUsYHI

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 agentdiet-epss-cve-ghsa-vulnerability-scanner-a662ff27
```

Example prompt: Check if the npm package 'lodash' has any active CVEs or GHSA advisories and tell me what patched version I should upgrade to.

## When to prefer this

Prefer this endpoint when you need real-time, live vulnerability intelligence from OSV.dev for open-source packages in PyPI, npm, Go, or Rust ecosystems — especially when you need both CVE and GHSA advisory data with patched version recommendations in a single call. It is preferable over static vulnerability databases when freshness matters, and over running local tools when operating in a serverless or agent context.

## Known failure modes

- Unknown or misspelled package name returns no results or an error
- Unsupported ecosystem (outside PyPI, npm, Go, Rust) may return no data
- OSV.dev upstream outage could cause failures or stale data
- Missing required 'package' query parameter returns a 400 error
- Rate limiting or payment failure returns a 402/429 error

## 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://agentdiet.dev/v1/epss-scanner)

## Output

Returns a structured list of active CVE identifiers and GHSA advisories affecting the queried package, including affected version ranges, severity information, and the patched versions available, sourced live from Google OSV.dev.

## 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/agentdiet-epss-cve-ghsa-vulnerability-scanner-a662ff27/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
