# GitHub Security Advisories for Maven/Java (Changes Feed)

> GitHub Security Advisories for Maven/Java (Changes Feed) is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns GitHub security advisories (GHSAs) for Maven/Java packages published since a given timestamp, each scored by severity with affected package info and source links.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/ghsa-maven/changes
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-security-advisories-for-maven-java-changes-feed-a8ab7edb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G3P552X_BYC5unxSeG-aM

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 github-security-advisories-for-maven-java-changes-feed-a8ab7edb
```

Example prompt: Pull all new GitHub security advisories for Maven packages detected since 2025-01-01T00:00:00Z, limit to 50 results, and only show me ones with a severity score of at least 7.

## When to prefer this

Use this endpoint when you need to monitor or audit new Java/Maven security vulnerabilities from the GitHub Advisory Database with severity scoring. Prefer it over general CVE feeds when you want pre-scored, Maven-specific advisories with direct GitHub source links. Ideal for CI/CD pipeline security checks, dependency auditing workflows, or automated security alerting for Java projects.

## Known failure modes

- Invalid or missing 'since' date-time format returns a 400 error
- 'limit' out of range (< 1 or > 500) returns a 400 validation error
- 'min_significance' out of range (< 1 or > 10) returns a 400 validation error
- No advisories in the requested window returns an empty changes array with count 0
- Upstream GitHub Advisory Database unavailable causes 502/503 error
- Payment not provided or insufficient (x402) returns a 402 Payment Required response

## How this service works

New security vulnerabilities and CVEs affecting Maven/Java packages published since a timestamp (GitHub's reviewed advisory database) — each with its CVE ID, CVSS/severity score, affected package names, and a link. Answers "did a dependency I use get a new CVE or vulnerability I should patch?"

## Output

A JSON object containing a count, source label, and array of advisory change records — each with an advisory ID, title, plain-English summary, significance score (1–10), affected package details, a link to the primary source on GitHub, and detected/effective timestamps.

## 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": {
      "limit": {
       "type": "integer",
       "maximum": 500,
       "minimum": 1
      },
      "since": {
       "type": "string",
       "format": "date-time",
       "description": "Only changes detected after this ISO-8601 instant"
      },
      "min_significance": {
       "type": "integer",
       "maximum": 10,
       "minimum": 1,
       "description": "Keep only changes scored at least this"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "integer"
      },
      "source": {
       "type": "string"
      },
      "changes": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "type": {
          "type": "string"
         },
         "title": {
          "type": "string"
         },
         "detail": {
          "type": "object"
         },
         "summary": {
          "type": "string"
         },
         "entityId": {
          "type": "string"
         },
         "sourceUrl": {
          "type": [
           "string",
           "null"
          ],
          "description": "Primary-source link for verification"
         },
         "detectedAt": {
          "type": "string",
          "format": "date-time"
         },
         "significance": {
          "type": "integer",
          "maximum": 10,
          "minimum": 1
         },
         "effectiveDate": {
          "type": [
           "string",
           "null"
          ]
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-security-advisories-for-maven-java-changes-feed-a8ab7edb/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)
