# GHSA All-Ecosystems Security Advisories Brief

> GHSA All-Ecosystems Security Advisories Brief is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Returns an LLM-generated digest summarizing the most severe new GitHub Security Advisory (GHSA) advisories across all package ecosystems within a specified time window.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/ghsa/brief
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ghsa-all-ecosystems-security-advisories-brief-7adf886d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ta_LilKdxJQsHPls-xyNE

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 ghsa-all-ecosystems-security-advisories-brief-7adf886d
```

Example prompt: Give me an LLM-written digest of the most severe new security advisories across all package ecosystems since January 1, 2025 — I want to know the critical issues I should be aware of right now.

## When to prefer this

Use this endpoint when you need a quick, human-readable summary of the most critical security advisories across ALL package ecosystems (not just a specific one like PyPI), and you want an AI-synthesized digest rather than raw advisory data. Prefer this over the PyPI-specific sibling when ecosystem coverage is unknown or broad. Best suited for security monitoring dashboards, weekly digests, or alerting workflows that need a concise executive summary rather than raw GHSA records.

## Known failure modes

- No advisories found in the window — returns a brief indicating no new severe advisories
- Invalid date-time format for `since` parameter — likely a 400 or validation error
- Payment not completed (x402 protocol) — returns 402 Payment Required before content is delivered
- LLM generation failure — may fall back to template-based brief (generatedBy: template)
- Service unavailability on Railway hosting — 502/503 error

## How this service works

LLM-written digest of the most severe new all ecosystems vulnerabilities (CVEs / advisories) in the window and which packages to patch first.

## Output

A JSON object containing a `brief` field with an LLM-written plain-English summary of the most severe new security advisories across all ecosystems in the window, a `generatedBy` field indicating whether the brief was produced by an LLM or a template, and a `basedOnChanges` integer counting how many advisories were analyzed to produce the digest.

## 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",
     "properties": {
      "since": {
       "type": "string",
       "format": "date-time",
       "description": "Window start (default: last 30 days)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "brief": {
       "type": "string"
      },
      "generatedBy": {
       "enum": [
        "llm",
        "template"
       ],
       "type": "string"
      },
      "basedOnChanges": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ghsa-all-ecosystems-security-advisories-brief-7adf886d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracles-production.up.railway.app](https://www.zero.xyz/host/oracles-production.up.railway.app/llms.txt)
