# Saylor Innovations Package Vulnerability Check

> Saylor Innovations Package Vulnerability Check is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-03).

Checks a specific package version against the OSV database to detect known vulnerabilities and recommend upgrades

## Facts

- Endpoint: GET https://saylorinnovations.com/api/vuln/check?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-package-vulnerability-check-257dabae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RMzlXyOvxSIRS3sMeP3Bi

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 saylor-innovations-package-vulnerability-check-257dabae
```

Example prompt: Can you check if lodash version 4.17.20 in the npm ecosystem has any known vulnerabilities, and whether I should upgrade?

## When to prefer this

Choose this endpoint when you need a fast, per-package vulnerability check against the OSV database without running a full local scanner. It is ideal for CI/CD pipelines, agent-driven dependency audits, or single-package spot-checks across a wide range of ecosystems including npm, pypi, crates, go, maven, nuget, rubygems, packagist, pub, and hex. It is cheaper and simpler than integrating a full SCA (Software Composition Analysis) tool when only one package needs checking at a time.

## Known failure modes

- Missing required query parameters (name, version, ecosystem) returns an error
- Unknown or unsupported ecosystem value returns an error or empty result
- Package not found in OSV database returns vulnerable=false with empty vulnerabilities array
- Network or upstream OSV API timeout may cause delayed or failed responses
- Malformed version string may result in no matches being found

## How this service works

Package Vulnerability Check (OSV) — Security

## Output

Returns a JSON object containing the package name, version queried, a boolean 'vulnerable' flag, an array of vulnerability objects from OSV, the highest severity level found (e.g. CRITICAL, HIGH, MEDIUM, LOW, or null), and a recommended upgrade version string (or null if none is available).

## 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",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "name": {
       "type": "string",
       "description": "package name (query)"
      },
      "version": {
       "type": "string",
       "description": "installed version (query)"
      },
      "ecosystem": {
       "type": "string",
       "description": "npm | pypi | crates | go | maven | nuget | rubygems | packagist | pub | hex (query)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "name",
      "version",
      "vulnerable",
      "vulnerabilities"
     ],
     "properties": {
      "name": {
       "type": "string"
      },
      "version": {
       "type": "string"
      },
      "vulnerable": {
       "type": "boolean"
      },
      "vulnerabilities": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "highest_severity": {
       "type": [
        "string",
        "null"
       ]
      },
      "recommended_upgrade": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-package-vulnerability-check-257dabae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
