{"uid":"cap_ehoc2uzYsPVQzbKix0-Ud","slug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-152e4c6e","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/cve)","url":"https://preflight.agentdiet.dev/v1/cve?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_z38aiSKScTGb-orQSv8iv","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 Google OSV.dev in real time to return active CVEs, GHSA advisories, and patched versions for a given PyPI, npm, Go, or Rust package.","exampleAgentPrompt":"Can you check if the PyPI package 'requests' has any active CVEs or GHSA security advisories, and tell me which versions have patches?","exampleUseCases":[{"title":"Audit Python dependency before release","prompt":"Before I ship this build, can you scan PyPI:cryptography for any active CVEs or GHSA advisories and let me know if there are patched versions I should upgrade to?"},{"title":"Check npm package for known exploits","prompt":"Does npm:lodash have any known vulnerabilities right now? I want to see any CVEs or GitHub security advisories and whether there's a fixed version."},{"title":"Vet a Rust crate in CI pipeline","prompt":"Can you look up crates.io:hyper for any active security vulnerabilities from OSV.dev and tell me the severity and patched versions so I can update my Cargo.toml?"}],"resultDescription":"Returns a structured object containing active CVE identifiers, GHSA advisory IDs, affected version ranges, severity ratings, and recommended patched versions for the queried package, sourced live from Google OSV.dev.","failureModes":["Package not found in OSV.dev database — returns empty or null vulnerability list","Invalid package identifier format — returns a 400-level error requesting correct 'Ecosystem:name' syntax","Ecosystem not supported — only PyPI, npm, Go, and crates.io are supported; other ecosystems may return errors","OSV.dev upstream timeout or unavailability — may return 502 or 503 errors","Payment not completed — returns HTTP 402 requiring x402 micropayment before response is delivered"],"whenToPreferThis":"Choose this endpoint when you need real-time, live vulnerability intelligence from Google OSV.dev for PyPI, npm, Go, or Rust packages without setting up your own OSV integration. It is ideal for CI/CD pipelines, agent-driven dependency audits, or pre-release security checks where freshness of CVE and GHSA data matters and a per-call micropayment model is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:21:52.415Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-6649337a"}