# datastand.dev NPM Vulnerability Digest

> datastand.dev NPM Vulnerability Digest is a paid API for AI agents from datastand.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns the latest ~100 npm security advisories in a normalized, machine-readable format including severity, CVSS scores, affected packages, vulnerable ranges, and patched versions.

## Facts

- Endpoint: GET https://datastand.dev/api/data/npm-vuln-digest
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datastand-dev-npm-vulnerability-digest-05ef3868
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JvO72o6sSLgw_Vd4qNuHq

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 datastand-dev-npm-vulnerability-digest-05ef3868
```

Example prompt: Pull the latest npm security advisories for me — I need severity, CVSS scores, affected package names, vulnerable version ranges, and what versions have patches, all in a clean machine-readable format.

## When to prefer this

Choose this endpoint when you need a fast, normalized, machine-readable bulk feed of recent npm advisories — especially for automated pipelines, dashboards, or dependency audits — rather than querying the npm audit CLI per-project or scraping GitHub Security Advisories directly. Ideal when you want ~100 recent advisories in one call without writing your own normalization layer.

## Known failure modes

- Payment not included or rejected — returns 402 Payment Required
- Upstream GitHub Advisory Database temporarily unavailable — may return 503 or stale data
- Rate limiting or quota exceeded — returns 429
- Malformed request headers — returns 400

## How this service works

The newest npm security advisories as machine-readable JSON: severity, CVSS score and vector, CWEs, affected packages, vulnerable ranges and first patched version. Merged from two GitHub Advisory Database orderings, most recently published and most recently revised, so a newly assigned CVSS or a widened vulnerable range reaches you even when the advisory is months old. Add ?since=<ISO-8601> for only what changed; an empty delta is refused free, so polling costs nothing until there is news.

## Output

A JSON array of up to ~100 recent npm security advisories sourced from the GitHub Advisory Database, each normalized to include: severity level, CVSS score, affected package name(s), vulnerable version ranges, and the patched version(s) available.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "since": {
       "type": "string",
       "description": "ISO-8601 date or timestamp. Returns only advisories whose updated_at is newer than this — normally the generated_at of your previous fetch. An empty delta is refused with a 400 and settles no payment, and so is a since earlier than the build's coverage.delta_complete_since, which would return a silently incomplete delta."
      }
     }
    }
   },
   "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/datastand-dev-npm-vulnerability-digest-05ef3868/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from datastand.dev](https://www.zero.xyz/host/datastand.dev/llms.txt)
