# CVE Vulnerability Lookup by Package and Version

> CVE Vulnerability Lookup by Package and Version is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054001/call, status unknown (last checked 2026-10-13).

Look up known CVE vulnerabilities for a specific package and version using the OSV API, returning severity scores and fix versions.

## Facts

- Endpoint: GET https://api.strale.io/x402/cve-lookup?utm_source=zero.xyz
- Price: $0.054001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-de67d960
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nB9CzhyCeBM8Z3qNRxWGW

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 api-strale-io-de67d960
```

Example prompt: Check if there are any known CVEs or security vulnerabilities in lodash version 4.17.20 on npm — I need severity levels and which versions fix the issues.

## When to prefer this

Use this endpoint when you need fast, structured CVE lookups for a specific package+version combination across major ecosystems (npm, PyPI, Maven, Go, Cargo, NuGet). Prefer it over manual OSV API calls when you want severity and fix-version data in a single, paid-but-simple request. Best for automated dependency auditing workflows or security-aware build pipelines.

## Known failure modes

- Package name or version not found in OSV database — returns empty vulnerability list
- Invalid or unsupported ecosystem specified — may return error or empty results
- Malformed version string causes no matches
- Rate limiting or upstream OSV API unavailability — returns 5xx error
- Missing required parameters (package_name or version) — returns 400 validation error

## How this service works

Look up known vulnerabilities for a package+version via OSV API. Supports npm, PyPI, Maven, Go, Cargo, NuGet. Returns CVEs with severity and fix versions.

## Output

Returns a list of CVE identifiers for the specified package and version, including severity ratings (e.g. CVSS scores), affected version ranges, and recommended fix versions, sourced from the OSV database.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "version": "4.17.20",
   "ecosystem": "npm",
   "package_name": "lodash"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "package_name",
  "version"
 ],
 "properties": {
  "version": {
   "type": "string"
  },
  "ecosystem": {
   "type": "string",
   "description": "npm/pypi/maven/go/cargo/nuget"
  },
  "package_name": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "recommendation": {
  "type": "string"
 },
 "vulnerabilities": {
  "type": "array"
 },
 "highest_severity": {
  "type": "string"
 },
 "total_vulnerabilities": {
  "type": "integer"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-de67d960/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
