# PennyRail OSV Package Vulnerability Check

> PennyRail OSV Package Vulnerability Check is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Checks whether a specific package version is vulnerable according to the OSV (Open Source Vulnerabilities) database

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/micro/security.osv-package--is-package-version-vulnerable
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-osv-package-vulnerability-check-d9d3af38
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eIBTtGa8W2XE_naHJyUme

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 pennyrail-osv-package-vulnerability-check-d9d3af38 -d '<json body>'
```

Example prompt: Can you check the OSV database to see if lodash version 4.17.15 is vulnerable to any known security issues?

## When to prefer this

Use this endpoint when you need a fast, per-package vulnerability check against the OSV database without running a full dependency scanner. Ideal for validating a single dependency version during CI, before adding a new package, or when auditing a specific known-risky library. Prefer this over full SBOM scanners when you have an exact package name and version to check and want a lightweight, pay-per-call approach.

## Known failure modes

- Unknown package name or ecosystem returns empty or not-found response
- Invalid version string format may cause lookup failure
- OSV database may not cover all ecosystems — niche or private packages may return no results
- Network timeout or upstream OSV API unavailability
- Malformed input object missing required package fields

## How this service works

Machine-readable settlement service

## Output

Returns a boolean or structured indicator of whether the specified package version is vulnerable, along with associated vulnerability IDs (e.g. CVE, GHSA), severity ratings, affected version ranges, and any available fix recommendations from the OSV database.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-osv-package-vulnerability-check-d9d3af38/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
