# Dependency CVE Watch

> Dependency CVE Watch is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Queries OSV for known vulnerabilities in a given package/ecosystem and returns a pinned-or-upgrade verdict for dependency adoption decisions.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/dependency-cve-watch
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dependency-cve-watch-f1f284e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_py7ZUzQjNL5sIf21FiICl

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 dependency-cve-watch-f1f284e3
```

Example prompt: Before I add the 'lodash' npm package as a dependency, can you check OSV for any known CVEs and tell me whether I should pin it to a specific version or upgrade to the latest?

## When to prefer this

Choose this endpoint when an AI agent needs a quick, actionable security verdict on a specific open-source package before adoption — especially in automated CI/CD pipelines, dependency review workflows, or agentic code-generation contexts where a binary pin-or-upgrade decision is needed rather than a raw vulnerability list dump.

## Known failure modes

- Unknown package name or ecosystem returns no results or an error
- OSV API unavailability causes lookup failure
- Malformed package/ecosystem combination returns an error
- Payment not processed results in 402 response blocking paid result
- Ambiguous package names across ecosystems may return incorrect data

## How this service works

Given a package name and ecosystem, query OSV for known vulnerabilities and get a pinned-or-upgrade verdict an agent can act on before adopting a dependency.

## Output

Returns a structured JSON object containing: a boolean success flag, a risk score (numeric), a plain-language summary of vulnerability findings, an evidence object with OSV data, a list of strengths and risk factors, a confidence level string, and an ISO-8601 timestamp of when the assessment was generated. Together these give an agent an actionable pin-or-upgrade recommendation.

## 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",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "package": {
       "type": "string",
       "description": "Composite input parameter"
      },
      "ecosystem": {
       "type": "string",
       "description": "Composite input parameter"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Dependency CVE Watch paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "score": {
         "type": "number"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "summary": {
         "type": "string"
        },
        "evidence": {
         "type": "object"
        },
        "strengths": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "confidence": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "riskFactors": {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": 
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "ok": true,
   "service": "dependency-cve-watch"
  },
  "service": "dependency-cve-watch",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dependency-cve-watch-f1f284e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
