{"uid":"cap_LDQ7dgKl09LkT22Sap4T4","slug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-5fd2421f","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":"GET","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.015","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.015/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SLxSu8fqhkqdAgcSGZMDh","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.015","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 live Google OSV.dev 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 right now, and tell me which versions have patches?","exampleUseCases":[{"title":"Dependency audit before production deploy","prompt":"Before we ship this release, can you check if PyPI:requests has any open CVEs or security advisories and tell me what patched version I should upgrade to?"},{"title":"Supply chain security check in CI","prompt":"We just added crates.io:hyper to our Rust project — can you scan it for any known GHSA vulnerabilities or CVEs and flag anything critical?"},{"title":"Developer security review for Go module","prompt":"Check Go:golang.org/x/net for any active CVEs or vulnerability advisories — I need to know if we're running a version that's currently exploitable."}],"resultDescription":"Returns a structured object containing all active CVEs and GHSA advisories for the queried package, including vulnerability IDs, severity ratings, affected version ranges, and available patched versions sourced live from Google OSV.dev.","failureModes":["Package not found in the specified ecosystem returns empty advisory list or 404-equivalent","Invalid or malformed package identifier format returns a validation error","OSV.dev upstream unavailability causes request failure or timeout","Unsupported ecosystem identifiers result in an error response","Network or payment (x402) authentication failure prevents the call from completing"],"whenToPreferThis":"Prefer this endpoint when you need real-time, live vulnerability data from Google OSV.dev for PyPI, npm, Go, or Rust packages — especially when you need CVE and GHSA advisory details with patched version guidance in a single call. It is well-suited for automated CI/CD security gates, dependency audits, and agent-driven supply chain risk checks where freshness matters more than a cached dataset.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:26:22.055Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-6649337a"}