# eu-verify Package Vulnerability Audit

> eu-verify Package Vulnerability Audit is a paid API for AI agents from data.greeneris.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Audits a specific package version for known security vulnerabilities using OSV.dev advisory data, returning CVE/GHSA IDs, severity, and fixed versions

## Facts

- Endpoint: GET https://data.greeneris.io/v1/dev/vulns
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-verify-package-vulnerability-audit-c8e6c8ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8g312brRMON1dQ7Llg63i

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 eu-verify-package-vulnerability-audit-c8e6c8ed
```

Example prompt: Can you check lodash version 4.17.20 on npm for any known security vulnerabilities and tell me how severe they are and what fixed versions are available?

## When to prefer this

Use this endpoint when you need fast, pay-per-call vulnerability lookups for a specific package version without requiring account setup or API keys. Ideal for AI agents that need on-demand security checks integrated into CI/CD or dependency review workflows. Supports multiple ecosystems (npm, pypi, cargo, go, maven, etc.) and returns structured machine-readable data from authoritative OSV.dev advisories.

## Known failure modes

- Package or version not found in OSV.dev — returns empty results
- Unsupported ecosystem value causes 400 validation error
- Missing required pkg or version query parameters causes 400 error
- HTTP 402 returned if payment not provided — caller must pay $0.01 USDC via x402 protocol and retry
- Rate limiting or upstream OSV.dev outage may cause 503

## How this service works

Security audit of one exact dependency version, backed by OSV.dev (Google), which aggregates public advisories (GHSA, PyPA, RustSec...) in near real time. Query: ?pkg=lodash&ecosystem=npm&version=4.17.20 (ecosystems: npm, pypi, go, crates.io, maven, nuget, rubygems, packagist, hex, pub). Returns vuln_count, max_severity, advisory ids and the versions that fix them; vuln_count=0 means clean. Cached 1h.

## Output

Returns a JSON object containing: list of vulnerability IDs (GHSA/CVE), the package name and version audited, ecosystem, total vulnerability count, maximum severity level (e.g. HIGH), list of fixed versions, and the data source (OSV.dev).

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "pkg",
      "version"
     ],
     "properties": {
      "pkg": {
       "type": "string",
       "description": "Exact package name, e.g. lodash"
      },
      "version": {
       "type": "string",
       "description": "Exact version to audit, e.g. 4.17.20"
      },
      "ecosystem": {
       "enum": [
        "cargo",
        "crates.io",
        "go",
        "hex",
        "maven",
        "npm",
        "nuget",
        "packagist",
        "pub",
        "pypi",
        "rubygems"
       ],
       "type": "string",
       "default": "npm",
       "description": "Package ecosystem"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ids": [
   "GHSA-29mw-wpgm-hmr9",
   "GHSA-35jh-r3h4-6jhm",
   "GHSA-f23m-r3pf-42rh"
  ],
  "source": "OSV.dev (Google Open Source Vulnerabilities), aggregated public advisories",
  "package": "lodash",
  "version": "4.17.20",
  "ecosystem": "npm",
  "vuln_count": 5,
  "max_severity": "HIGH",
  "fixed_versions": [
   "4.17.21",
   "4.17.23",
   "4.18.0"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-verify-package-vulnerability-audit-c8e6c8ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.greeneris.io](https://www.zero.xyz/host/data.greeneris.io/llms.txt)
