{"uid":"cap_G7Y2saXt8RrvA6eku0p7i","slug":"osv-package-vulnerability-checker-721b28f0","name":"OSV Package Vulnerability Checker","description":"Check an open-source package for known vulnerabilities via the OSV database (Google Open Source Vulnerabilities). Pass package name, ecosystem (npm, PyPI, Go, crates.io, Maven, RubyGems, etc.) and optional version. Returns vulnerability IDs, summaries, severity and fixed versions. Essential pre-install check for coding agents.","url":"https://data.japanagent.dev/vuln/check?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"],"type":"string"},"queryParams":{"type":"object","required":["package","ecosystem"],"properties":{"package":{"type":"string","description":"Package name as registered in the ecosystem (npm: lodash / PyPI: requests / Maven: org.apache.logging.log4j:log4j-core)"},"version":{"type":"string","description":"Optional exact version to check"},"ecosystem":{"type":"string","description":"npm | PyPI | Go | Maven | crates.io | 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.002","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":{"p10Cents":"0.2000","medianCents":"0.2000","p90Cents":"0.2000","minCents":"0.2000","maxCents":"0.2000","p95Cents":"0.2000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NihjN24va7BpkEgpOKs00","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks an open-source package for known vulnerabilities by querying the OSV (Google Open Source Vulnerabilities) database, returning CVE/GHSA IDs, severity, and fixed versions.","exampleAgentPrompt":"Before I install it, can you check if the npm package lodash version 4.17.20 has any known vulnerabilities in the OSV database?","exampleUseCases":[{"title":"Pre-installation security audit for dependencies","prompt":"I'm about to add the Flask library to my Python project. Can you quickly check if there are any known vulnerabilities in the latest version before I install it?"},{"title":"Verify safe versions before deployment","prompt":"We're considering upgrading to the latest version of the react package for our frontend. Can you scan it for any security issues or CVEs we should be aware of?"},{"title":"Audit Rust crate safety in CI pipeline","prompt":"Before our Rust service goes live, check if the tokio crate we're using has any reported vulnerabilities that might affect our production environment."}],"resultDescription":"Returns a list of known vulnerability records for the specified package and ecosystem, including vulnerability IDs (CVE, GHSA, OSV), human-readable summaries, severity levels, affected version ranges, and the fixed version where the vulnerability was patched.","failureModes":["Unknown or misspelled package name returns empty vulnerability list","Invalid ecosystem value returns a 400 error","Version string not matching any known release may return no results","OSV database unavailable causes 502/503 error","Payment failure (x402) blocks the request before it reaches OSV"],"whenToPreferThis":"Use this endpoint when you need a quick, pre-install vulnerability check for any open-source package across major ecosystems (npm, PyPI, Go, Maven, crates.io, RubyGems, NuGet, Packagist) without setting up your own OSV integration. Ideal for coding agents doing automated dependency audits. If you need full vulnerability record details by a known CVE/GHSA ID, use the sibling fetch-by-ID endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:43:44.837Z","isFirstParty":false,"canonicalSlug":"osv-package-vulnerability-checker-721b28f0"}