# OSV Package Vulnerability Scanner

> OSV Package Vulnerability Scanner is a paid API for AI agents from publishers-mission-aud-chubby.trycloudflare.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-12-03).

Scans a package version across npm, PyPI, RubyGems, Go, Maven, crates.io, or Packagist against the OSV database and returns known CVEs, GHSA IDs, CVSS scores, summaries, and fixed versions.

## Facts

- Endpoint: POST https://publishers-mission-aud-chubby.trycloudflare.com/v1/query?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/osv-package-vulnerability-scanner-1a6d95fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-z2xkBdw1wY_ng0AU5MIS

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 osv-package-vulnerability-scanner-1a6d95fd -d '<json body>'
```

Example prompt: Can you check whether lodash version 4.17.20 on npm has any known vulnerabilities — I need the CVE or GHSA IDs, CVSS scores, and what version fixes them?

## When to prefer this

Use this endpoint when you need on-demand, per-package vulnerability lookups across multiple ecosystems (npm, PyPI, Go, Maven, crates.io, RubyGems, Packagist) backed by the OSV database, especially in automated CI/CD pipelines, agent-driven dependency audits, or when you need structured CVE/GHSA data with CVSS scores and fix version information without integrating a full SCA tool.

## Known failure modes

- Package or ecosystem not found — returns empty vulnerability list rather than an error
- Unsupported ecosystem specified — may return an error or empty result
- Package version format mismatch — query may fail to match known records
- OSV database temporarily unavailable — returns a service error
- Rate limiting or payment failure — returns 402 Payment Required

## How this service works

Scan an npm, PyPI, RubyGems, Go, Maven, crates.io or Packagist package version for known vulnerabilities (OSV database). Returns CVE/GHSA ids, CVSS vectors, summaries and fixed versions.

## Output

Returns a list of matched vulnerabilities from the OSV database for the specified package and version, including CVE and GHSA identifiers, CVSS vectors and scores, human-readable summaries, affected version ranges, and the specific versions that contain the fix.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/osv-package-vulnerability-scanner-1a6d95fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from publishers-mission-aud-chubby.trycloudflare.com](https://www.zero.xyz/host/publishers-mission-aud-chubby.trycloudflare.com/llms.txt)
