x402

CVE Lookup (x402)

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.

get/x402/v2/cve-lookup

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/cve-lookup
  • Auth: none required

Query parameters

versionstring required
ecosystemstring

npm/pypi/maven/go/cargo/nuget

package_namestring required

Response

Success

recommendationstring
highest_severitystring
total_vulnerabilitiesinteger

Example response

{
  "version": "test_value",
  "ecosystem": "npm",
  "package_name": "test_value",
  "recommendation": "No known vulnerabilities for this version.",
  "vulnerabilities": [],
  "highest_severity": "none",
  "total_vulnerabilities": 0
}

Changes

No recorded changes to this operation across all 1 revision of this API.