# Strale CVE Lookup

> Strale CVE Lookup is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-13).

Look up known CVEs (Common Vulnerabilities and Exposures) for a specific software package and version across ecosystems like npm, PyPI, Maven, Go, Cargo, and NuGet

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/cve-lookup
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-cve-lookup-ff9fc7ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BWuqNOuNmUSY-2VwEXqbb

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 strale-cve-lookup-ff9fc7ef
```

Example prompt: Can you check if there are any known CVEs for lodash version 4.17.20 in the npm ecosystem?

## When to prefer this

Choose this endpoint when you need a quick, per-package CVE check with an auditable, cryptographically-hashed response suitable for compliance workflows. It covers 6 major ecosystems (npm, PyPI, Maven, Go, Cargo, NuGet) and is priced per-call at $0.054 USDC, making it suitable for on-demand checks rather than full repository scans. Prefer it over generic vulnerability databases when you need a structured, agent-friendly REST response with built-in audit trail.

## Known failure modes

- Package not found in the specified ecosystem — returns empty result or 404-equivalent
- Invalid or unrecognized ecosystem value — schema validation error
- Missing required parameters (package_name or version) — request rejected
- Unknown CVE database connectivity issue — service error response
- Version string format mismatch — may return no results even if vulnerabilities exist

## 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 known CVE records associated with the specified package name, version, and ecosystem, including vulnerability identifiers and severity information. Each response includes a cryptographic audit record with chain hashing for traceability and compliance purposes.

## 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/strale-cve-lookup-ff9fc7ef/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)
