{"uid":"cap_kOrvKPrPXAbZdBcgT8WcO","slug":"package-vulnerabilities-osv-a9748c46","name":"Package Vulnerabilities (OSV)","description":"Known security vulnerabilities for an open-source package from OSV (GitHub advisories, PyPA, RustSec, Go): id, CVE aliases, summary, severity, fixed versions, for all versions or one version. Ecosystems: npm, PyPI, Go, Maven, crates.io, RubyGems, NuGet, Packagist. Use before installing or upgrading.","url":"https://bess-x402.onrender.com/v1/dev/vulns?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["package"],"properties":{"package":{"type":"string","description":"Package name"},"version":{"type":"string","description":"Exact version to check (optional)"},"ecosystem":{"type":"string","description":"npm, pypi, go, maven, cargo, rubygems, nuget, packagist"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fXNpduGmkLAjLCFQLhQIP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns known security vulnerabilities for an open-source package from OSV, including CVE aliases, severity, and fixed versions, optionally filtered to a specific version.","exampleAgentPrompt":"Before I upgrade, can you check if the npm package 'lodash' has any known security vulnerabilities — especially for version 4.17.20?","exampleUseCases":[{"title":"Pre-install security audit for npm","prompt":"I'm about to add 'axios' version 0.21.1 to my Node.js project — can you check if it has any known CVEs or security advisories in the OSV database?"},{"title":"Python dependency vulnerability check","prompt":"We're using PyPI package 'Pillow' version 9.1.0 in production — please look up any known vulnerabilities for it so I know if we need to patch urgently."},{"title":"Rust crate safety review","prompt":"Can you check the crates.io package 'serde' for any known security vulnerabilities before we include it in our Rust project?"}],"resultDescription":"A list of vulnerability records from OSV, each containing: vulnerability ID, CVE aliases, a plain-English summary, severity rating, affected version ranges, and the versions in which the vulnerability was fixed. If a specific version is provided, results are filtered to vulnerabilities affecting that version only.","failureModes":["Package not found in the specified ecosystem — returns empty results or 404","Ecosystem parameter invalid or unsupported — may return an error or empty result","Version string format mismatch — version not recognized, no results returned","OSV upstream data unavailable — service timeout or 503","Rate limiting or payment failure — 402 or 429 response"],"whenToPreferThis":"Use this endpoint when you need structured, up-to-date vulnerability data from OSV (covering GitHub advisories, PyPA, RustSec, and Go) for packages across npm, PyPI, Go, Maven, crates.io, RubyGems, NuGet, and Packagist — especially before installing or upgrading a dependency. Prefer it over generic web searches for security data because it returns machine-readable CVE IDs, severity, affected ranges, and fixed versions in a structured format directly from authoritative advisory databases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:43:46.912Z","isFirstParty":false,"canonicalSlug":"package-vulnerabilities-osv-a9748c46"}