{"uid":"cap_0jOvFufAhdTTNYfH6Z5tC","slug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-5d7c7213","name":"Real-Time Open-Source Package CVE & GHSA Vulnerability Scanner (OSV.dev)","description":"Queries live Google OSV.dev vulnerability intelligence for any PyPI, npm, Go, or Rust crate and returns active CVEs, GHSA advisories, and patched versions. (Live x402 v2, IETF MPP & MCP endpoint at https://preflight.agentdiet.dev/v1/npm-vuln-scan)","url":"https://preflight.agentdiet.dev/v1/npm-vuln-scan?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["package"],"properties":{"package":{"type":"string","minLength":1,"description":"Package identifier in 'Ecosystem:name' or 'name' format (e.g. 'PyPI:requests', 'npm:lodash', 'Go:golang.org/x/net', 'crates.io:hyper')"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fHVqhNVIcq2_rtgT9T2zA","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"preflight.agentdiet.dev","brandSlug":"preflight-agentdiet-dev-mpp","brandBaseUrl":"https://preflight.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Queries Google OSV.dev in real time to return active CVEs, GHSA advisories, and patched versions for any PyPI, npm, Go, or Rust crate package.","exampleAgentPrompt":"Can you check if the npm package lodash has any active CVEs or GHSA security advisories, and tell me which version fixes them?","exampleUseCases":[{"title":"Pre-deploy dependency security check","prompt":"Before I push this to production, can you scan the PyPI package requests for any known CVEs or GHSA advisories and tell me if there's a patched version I should upgrade to?"},{"title":"Rust crate vulnerability audit","prompt":"I'm using the hyper crate in my Rust project — can you check crates.io:hyper for any active security vulnerabilities or advisories right now?"},{"title":"Go module supply chain review","prompt":"Can you look up golang.org/x/net on OSV.dev and tell me if there are any open CVEs or GitHub security advisories I need to worry about?"}],"resultDescription":"Returns a structured object containing active CVE identifiers, GHSA advisory IDs, affected version ranges, severity ratings, and recommended patched versions for the queried open-source package, sourced live from Google OSV.dev.","failureModes":["Package not found in the specified ecosystem returns empty advisory list or 404-style error","Invalid ecosystem prefix causes validation error (e.g. 'NPM:' instead of 'npm:')","OSV.dev upstream unavailable causes timeout or 503 response","Malformed package identifier (missing ecosystem or name) triggers schema validation failure","Package with no known vulnerabilities returns empty results, which may be mistaken for an error"],"whenToPreferThis":"Choose this endpoint when you need real-time, authoritative vulnerability data from Google OSV.dev for PyPI, npm, Go, or Rust crate packages — especially in CI/CD pipelines, dependency audits, or agent-driven security workflows. Prefer it over static NVD lookups when you need live CVE and GHSA data with patched-version guidance in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:36:57.747Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-6649337a"}