{"uid":"cap_VNSrOB5_OT17k1MEHGr0M","slug":"api-x402node-dev-d6e709ae","name":"NPM Package Vulnerability Lookup (OSV)","description":"Query Open Source Vulnerabilities (OSV) database for known CVEs in an NPM package. Returns vulnerability list with severity, summary, affected version ranges, fix versions, references. Use ?package=react and version=18.2.0. Backed by Google-maintained OSV (industry standard). Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/npm/vuln","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","properties":{"version":{"type":"string","description":"Version (optional)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VVLPSgmOmOoBTndX9xpwM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Queries the Google-maintained Open Source Vulnerabilities (OSV) database for known CVEs affecting a specific NPM package version","exampleAgentPrompt":"Check the OSV database for known CVEs and security vulnerabilities in the npm package react at version 18.2.0 — I need the severity, affected version ranges, and any available fix versions.","exampleUseCases":null,"resultDescription":"Returns a list of known vulnerabilities from the OSV database for the specified npm package and version, including CVE identifiers, severity levels, human-readable summaries, affected version ranges, recommended fix versions, and external references (e.g. GitHub advisories, NVD links).","failureModes":["Package not found in OSV database — returns empty vulnerability list (not an error)","Invalid or malformed package name — may return 400 or empty result","Version string not recognized — may return results for all versions or empty set","Network/upstream OSV API timeout — returns 5xx error","Missing required package parameter — returns 400 bad request"],"whenToPreferThis":"Use this endpoint when you need fast, structured CVE/vulnerability data for a specific npm package version backed by Google's OSV database — ideal for automated dependency auditing, CI security checks, or agent-driven supply chain risk assessment. Prefer this over npm audit or Snyk API integrations when you need a lightweight, pay-per-call lookup without OAuth or API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:06:05.554Z","isFirstParty":false}