# x402broker.com Open-Source Package Vulnerability Scanner (OSV.dev)

> x402broker.com Open-Source Package Vulnerability Scanner (OSV.dev) is a paid API for AI agents from x402broker.com, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Queries Google OSV.dev in real-time to return active CVEs, GHSA advisories, and patched versions for any PyPI, npm, Go, or Rust package

## Facts

- Endpoint: GET https://x402broker.com/v1/vuln-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/x402broker-com-open-source-package-vulnerability-scanner-osv-dev-20982a6a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fHG7cvPnRaHhhZN1-e7zR

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 x402broker-com-open-source-package-vulnerability-scanner-osv-dev-20982a6a
```

Example prompt: Can you check if the Python package 'requests' has any known CVEs or GHSA security advisories, and tell me which versions are patched?

## When to prefer this

Choose this endpoint when you need real-time, live vulnerability intelligence from Google OSV.dev for PyPI, npm, Go, or Rust packages — especially when you want CVE IDs, GHSA advisories, and patched version guidance in a single call without maintaining your own vulnerability database

## Known failure modes

- Unknown or misspelled package name returns empty results or an error
- Package ecosystem not specified may cause ambiguous lookups
- OSV.dev upstream API downtime could cause delayed or failed responses
- Package with no known vulnerabilities returns an empty advisory list (not an error)
- Rate limits or payment failures may prevent the call from completing

## 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://x402broker.com/v1/vuln-scanner)

## Output

Returns a list of active CVE identifiers and GHSA advisory IDs affecting the queried package, along with affected version ranges and the patched/fixed version numbers 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/x402broker-com-open-source-package-vulnerability-scanner-osv-dev-20982a6a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402broker.com](https://www.zero.xyz/host/x402broker.com/llms.txt)
