{"uid":"cap_FyzKnSCB5Ec6oZ8xiGVNQ","slug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-d988c706","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/pypi-vuln-scan)","url":"https://preflight.agentdiet.dev/v1/pypi-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_wm8-fH55SCUmThzH7uLdU","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 PyPI, npm, Go, and Rust packages.","exampleAgentPrompt":"Can you check if the PyPI package 'requests' has any known CVEs or GHSA security advisories right now, and tell me which versions have been patched?","exampleUseCases":[{"title":"Dependency audit before production deploy","prompt":"Before we ship this release, check if PyPI:cryptography has any active CVEs or GHSA advisories and tell me the earliest patched version I should upgrade to."},{"title":"CI pipeline npm vulnerability gate","prompt":"Scan npm:lodash for any known vulnerabilities from OSV.dev — I need the CVE IDs, severity, and which version fixes them so I can decide whether to block this build."},{"title":"Rust crate security review","prompt":"We're adding crates.io:hyper to our Rust project — can you pull up any active CVEs or security advisories for it and flag the affected version ranges?"}],"resultDescription":"Returns a structured object containing active CVE identifiers, GHSA advisory IDs, affected version ranges, severity ratings, and the earliest patched versions available for the queried package, sourced live from Google OSV.dev.","failureModes":["Package not found in the specified ecosystem returns an empty vulnerability list or 404-style error","Invalid ecosystem prefix (e.g. 'PIP:' instead of 'PyPI:') causes a validation error","OSV.dev upstream timeout or unavailability results in a gateway error","Malformed package identifier (missing name component) triggers a 400 bad request","Very new or obscure packages may return no advisories even if vulnerabilities exist"],"whenToPreferThis":"Choose this endpoint when you need live, real-time vulnerability data from Google OSV.dev for open-source packages across PyPI, npm, Go modules, or Rust crates — especially when you need CVE IDs, GHSA advisories, and precise patched version data in a single call without managing OSV API credentials or rate limits yourself. Prefer it over static NVD lookups or local databases when freshness matters (e.g. CI/CD gates, pre-deployment audits, or agent-driven dependency reviews).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:48:24.940Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-6649337a"}