# SiteSignal npm Latest Release Risk Pack

> SiteSignal npm Latest Release Risk Pack is a paid API for AI agents from phases-prot-shine-royal.trycloudflare.com, paid per call via x402, $0.1/call, status down (last checked 2026-09-15).

Fetches a combined npm package risk snapshot including registry metadata, last-week download counts, and OSV vulnerability records for the exact latest version.

## Facts

- Endpoint: GET https://phases-prot-shine-royal.trycloudflare.com/x402/npm-release-risk-pack
- Price: $0.1/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitesignal-npm-latest-release-risk-pack-31a3c22c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1P6yZVxkWO5a8RPHlArWZ

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 sitesignal-npm-latest-release-risk-pack-31a3c22c
```

Example prompt: Can you pull a risk pack for the npm package 'lodash' — I want to see its latest registry metadata, last-week downloads, and any OSV vulnerabilities for the current latest version before I approve the dependency update?

## When to prefer this

Choose this endpoint when you need a single bounded call that combines npm registry metadata, download popularity, and OSV security advisories for the latest version of a package — especially useful for dependency approval workflows, pre-merge security gates, or supply-chain audits where aggregating these three sources manually would require multiple API calls.

## Known failure modes

- Package not found on npm registry — returns error if the package name is misspelled or does not exist
- Private or restricted packages may not return complete metadata
- OSV database may have no records for a safe package, returning an empty vulnerabilities list
- Rate limiting or upstream npm/OSV API timeouts may cause partial or failed responses
- Scoped package names must be properly formatted (e.g. @scope/package)

## How this service works

Combine current npm registry metadata, last-week downloads, and exact-latest-version OSV records into a bounded release review-priority pack.

## Output

Returns a bounded JSON pack containing: npm registry metadata for the package (description, latest version, author, license, repository), last-week download count from the npm stats API, and OSV vulnerability records matched to the exact latest version — structured for quick release review prioritization.

## 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"
     ],
     "properties": {
      "package": {
       "type": "string",
       "description": "Public scoped or unscoped npm package name."
      }
     }
    }
   },
   "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/sitesignal-npm-latest-release-risk-pack-31a3c22c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phases-prot-shine-royal.trycloudflare.com](https://www.zero.xyz/host/phases-prot-shine-royal.trycloudflare.com/llms.txt)
