# Saylor Innovations OSV Package Vulnerability Check

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

Checks an open-source package against OSV.dev to return known vulnerabilities, severity scores, aliases, and fixed versions for ecosystems like npm, PyPI, Go, Maven, and crates.io

## Facts

- Endpoint: GET https://saylorinnovations.com/api/security/osv?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-osv-package-vulnerability-check-55ea4a97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g8Sm3F2RIzHsXb2kUjq7z

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-osv-package-vulnerability-check-55ea4a97
```

Example prompt: Can you check if lodash version 4.17.11 on npm has any known vulnerabilities, including their severity and whether a fixed version is available?

## When to prefer this

Choose this endpoint when you need fast, structured OSV.dev vulnerability data for a specific open-source package and version across major ecosystems (npm, PyPI, Go, Maven, crates.io, RubyGems, NuGet, etc.). It is ideal for automated dependency scanning in CI/CD pipelines, pre-deploy security checks, or agent workflows that need to validate third-party library safety before installation or deployment. Prefer this over CVE-focused endpoints when the primary concern is package-level vulnerability data rather than raw CVE record details.

## Known failure modes

- Unknown ecosystem value returns an error or empty result
- Package not found in the specified ecosystem returns empty vulnerabilities array
- Version not found may fall back to all-version results or return a note
- OSV.dev upstream API unavailable causes sources_failed to be populated
- Malformed package name returns a validation error

## How this service works

Open source package vulnerability check on OSV.dev - advisories, aliases, severity and fixed versions for npm, PyPI, Go, Maven, crates.io and more by version

## Output

Returns a JSON object containing the package name, ecosystem, version, a list of vulnerabilities (with IDs, aliases like CVE numbers, severity ratings, affected version ranges, and fixed versions), an overall security score from 0–100, the data source (OSV.dev), and a timestamp for when the data was fetched.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ecosystem",
      "package"
     ],
     "properties": {
      "package": {
       "type": "string",
       "description": "Package name, e.g. lodash"
      },
      "version": {
       "type": "string",
       "description": "optional exact version to check"
      },
      "ecosystem": {
       "type": "string",
       "description": "npm, PyPI, Go, Maven, crates.io, RubyGems, NuGet, Packagist, Hex or Pub"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "package",
      "ecosystem",
      "vulnerabilities"
     ],
     "properties": {
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "package": {
       "type": "string"
      },
      "version": {
       "type": [
        "string",
        "null"
       ],
       "description": "Version identifier"
      },
      "ecosystem": {
       "type": "string",
       "description": "Package ecosystem the record belongs to"
      },
      "checked_at": {
       "type": "string",
       "description": "Time the check was run (UTC)"
      },
      "vulnerabilities": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": [
           "string"
          ]
         },
         "url": {
          "type": [
           "string"
          ]
         },
         "aliases": {
          "type": [
           "array"
          ],
          "items": {
           "type": [
            "string"
           ]
          }
         },
         "summary": {
          "type": [
           "string"
          ]
         },
         "fixed_in": {
          "type": [
           "array"
          ],
         
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-osv-package-vulnerability-check-55ea4a97/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)
