# NewBotLabor Package Security Advisories

> NewBotLabor Package Security Advisories is a paid API for AI agents from newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Looks up known security vulnerabilities and advisories for a given open-source package version across major ecosystems (npm, PyPI, crates, Go, Maven, etc.)

## Facts

- Endpoint: GET https://newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run/api/pkg/advisories?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/newbotlabor-package-security-advisories-38ecba25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_txMyndkbwRNAL9pdV0_E2

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 newbotlabor-package-security-advisories-38ecba25
```

Example prompt: Check if lodash version 4.17.20 on npm has any known security vulnerabilities and tell me how severe they are and what version fixes them.

## When to prefer this

Choose this endpoint when an AI agent needs to programmatically check whether a specific open-source dependency version is safe to use, without requiring an API key or account setup. It is ideal for autonomous agents performing dependency audits, CI/CD gates, or supply chain risk assessments across multiple ecosystems. Prefer it over manual OSV.dev queries when the agent needs a structured, machine-readable response with severity breakdowns and fix hints, and when the pay-per-call x402 micropayment model (no subscription) is preferred.

## Known failure modes

- Package not found in the specified ecosystem returns empty advisories or an error
- Invalid or unsupported ecosystem value causes a validation error
- Version string not recognized returns advisory data for latest version instead
- Network or upstream OSV.dev unavailability causes a fetch failure
- Malformed package name (e.g. missing group for Maven) results in a lookup error
- Payment not fulfilled (x402) returns HTTP 402 before data is returned

## How this service works

Pay-per-call utilities for autonomous agents, paid with x402 (USDC on Base, or USDC/USDT on Celo; no account, no API key).

## Output

Returns a JSON object with the package name, version checked, ecosystem, whether it is currently vulnerable, a list of advisories (each with CVE/GHSA IDs, severity label, and fixed-in versions), severity counts by label, total advisory count, the latest available version, and a hint for the minimum version that resolves all known issues. Also includes source metadata and a result hash for auditability.

## 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": [
      "ecosystem",
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "package name (Maven: group:artifact; Go: module path)"
      },
      "version": {
       "type": "string",
       "description": "exact version (default: latest from registry for npm/pypi/crates/go)"
      },
      "ecosystem": {
       "type": "string",
       "description": "npm | pypi | crates | go | maven | nuget | rubygems | packagist"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "lodash",
  "sources": [
   {
    "url": "https://api.osv.dev/v1/query",
    "method": "POST",
    "sha256": "…",
    "fetchedAt": "…"
   }
  ],
  "version": "4.17.20",
  "isLatest": false,
  "ecosystem": "npm",
  "advisories": [
   {
    "id": "GHSA-35jh-r3h4-6jhm",
    "aliases": [
     "CVE-2021-23337"
    ],
    "fixedIn": [
     "4.17.21"
    ],
    "severity": {
     "label": "HIGH"
    }
   }
  ],
  "vulnerable": true,
  "resultSha256": "…",
  "advisoryCount": 3,
  "latestVersion": "4.17.21",
  "severityCounts": {
   "HIGH": 2,
   "MODERATE": 1
  },
  "minFixedVersionHint": "4.17.21"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/newbotlabor-package-security-advisories-38ecba25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run](https://www.zero.xyz/host/newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run/llms.txt)
