# Ops Control HQ npm Dependency Risk Brief

> Ops Control HQ npm Dependency Risk Brief is a paid API for AI agents from tkoqkknsezxavtxfywkm.supabase.co, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Returns npm package health metrics combined with exact-version OSV vulnerability data and fixed-version recommendations in a single call

## Facts

- Endpoint: GET https://tkoqkknsezxavtxfywkm.supabase.co/functions/v1/npm-dependency-risk-x402-v1?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ops-control-hq-npm-dependency-risk-brief-b19a8bc9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LQ8xn1ElfrCbMwDUWXARR

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 ops-control-hq-npm-dependency-risk-brief-b19a8bc9
```

Example prompt: Can you pull a full vulnerability and health brief for lodash version 4.17.20 — I need to know if there are any known OSV vulnerabilities and what version I should upgrade to?

## When to prefer this

Choose this endpoint when you need both npm package health signals and exact-version OSV vulnerability data in a single call, rather than querying the npm registry and OSV separately. Ideal for CI/CD pipelines, dependency auditing tools, or security dashboards where you know the exact installed version and need actionable upgrade guidance with minimal API round-trips.

## Known failure modes

- Package name not found on npm registry — returns error or empty result
- Exact version does not exist for the specified package — may return no vulnerability match
- OSV database has no records for the package — returns clean/empty vulnerability list
- Malformed package name or version string — returns validation error
- Payment not completed or x402 auth failure — returns 402 Payment Required
- Rate limit or Supabase function timeout — returns 5xx error

## How this service works

One-call npm package health plus exact-version OSV vulnerability/fixed-version brief and minimum OSV-clear upgrade version

## Output

A combined brief containing the npm package's current health status (download trends, maintenance signals) alongside any OSV-indexed vulnerabilities matching the exact installed version, including CVE IDs, severity ratings, and the recommended fixed version to upgrade to.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "package",
      "version"
     ],
     "properties": {
      "package": {
       "type": "string",
       "description": "npm package name"
      },
      "version": {
       "type": "string",
       "description": "exact installed version"
      }
     }
    }
   },
   "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/ops-control-hq-npm-dependency-risk-brief-b19a8bc9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tkoqkknsezxavtxfywkm.supabase.co](https://www.zero.xyz/host/tkoqkknsezxavtxfywkm.supabase.co/llms.txt)
