# Vulnerability Watch

> Vulnerability 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).

Scans a software package for known OSV vulnerabilities and returns a pinned-or-upgrade verdict with a risk score and summary.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/vulnerability-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/vulnerability-watch-f3538823
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s7MaUw6OH8p27mbpRhg3K

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 vulnerability-watch-f3538823
```

Example prompt: Can you check if the npm package lodash at version 4.17.20 has any known vulnerabilities and tell me whether I should pin it or upgrade it?

## When to prefer this

Choose this endpoint when you need a structured, machine-readable security verdict (pinned vs. upgrade) for a specific package version rather than a raw CVE list dump. It is ideal for CI/CD pipelines, agent-driven dependency audits, or any automated workflow that needs a scored recommendation rather than just raw vulnerability data. Prefer it over generic OSV API calls when you want a pre-computed confidence level and actionable verdict in a single call.

## Known failure modes

- Unrecognized package name or ecosystem returns an error or empty evidence
- Network timeout reaching OSV upstream data
- Missing or malformed package query parameter returns a validation error
- Payment not completed results in HTTP 402 response blocking the result
- Package exists but has no OSV records, yielding a low-confidence verdict

## How this service works

OSV vulnerability scan for a package with a pinned-or-upgrade verdict.

## Output

Returns a JSON object with a boolean success flag, a numeric risk score, a plain-language summary, a pinned-or-upgrade verdict, an array of risk factors, an array of strengths, a confidence level string, structured evidence from OSV, and an ISO-8601 timestamp indicating when the assessment was generated.

## 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"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Vulnerability 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": "string"
        },
        "detail": {
         "type": "string"
        },
        "selfPay": {
        
… (truncated)
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vulnerability-watch-f3538823/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)
