# RubyGems Security Advisory Digest (GHSA Brief)

> RubyGems Security Advisory Digest (GHSA 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-14).

Returns an LLM-generated natural-language digest summarizing the most severe new RubyGems/Ruby security advisories within a given time window.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/ghsa-rubygems/brief
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rubygems-security-advisory-digest-ghsa-brief-a6117754
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3poosjg90Y8iTPsUaSJUp

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 rubygems-security-advisory-digest-ghsa-brief-a6117754
```

Example prompt: Can you give me an LLM-written digest of the most severe new RubyGems security advisories since January 1, 2025?

## When to prefer this

Use this endpoint when you need a human-readable, LLM-synthesized summary of RubyGems/Ruby security advisories rather than raw advisory data. Ideal for security digests, automated security newsletters, or when a developer wants a quick natural-language briefing on Ruby ecosystem threats. Prefer this over raw GHSA lookups when you want severity-ranked narrative rather than structured data.

## Known failure modes

- No new advisories in window returns a brief with zero changes noted
- Invalid since datetime format returns a 400 error
- Payment not provided or insufficient returns a 402 Payment Required
- Service unavailable or LLM generation failure returns a 503 or 500 error

## How this service works

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

## Output

Returns a JSON object containing a 'brief' field with a natural-language LLM-written summary of the most severe new RubyGems/Ruby GHSA advisories in the window, a 'generatedBy' field indicating whether it was produced by an LLM or template, and a 'basedOnChanges' integer indicating how many advisories were analyzed.

## 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/rubygems-security-advisory-digest-ghsa-brief-a6117754/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)
