{"uid":"cap_LDNTUkxOvK_h1zUCzYJgp","slug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-f8302a8e","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/cargo-vuln-scan)","url":"https://preflight.agentdiet.dev/v1/cargo-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_c53GH5O3i2qX94ddUIviK","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 for live CVE and GHSA vulnerability advisories for a given PyPI, npm, Go, or Rust crate package and returns active vulnerabilities with patched versions.","exampleAgentPrompt":"Can you check if the PyPI package 'requests' has any active CVEs or GHSA security advisories, and tell me what patched versions are available?","exampleUseCases":[{"title":"Audit Python dependency for CVEs","prompt":"Check the PyPI package 'cryptography' for any known CVEs or GHSA vulnerabilities and let me know which versions fix them."},{"title":"Scan npm package before production deploy","prompt":"Before we ship, can you scan 'npm:lodash' for any active security advisories or known exploits and tell me the safe version to upgrade to?"},{"title":"Rust crate security review","prompt":"We're using the crates.io package 'hyper' in our Rust project — can you pull up any live CVEs or GHSA advisories for it and list the patched versions?"}],"resultDescription":"Returns a structured object containing active CVE identifiers, GHSA advisory IDs, severity ratings, affected version ranges, and recommended patched versions for the queried open-source package, sourced live from Google OSV.dev.","failureModes":["Package not found in OSV.dev — returns empty or error if the ecosystem/name combination is invalid","Malformed package identifier format — error if input doesn't match 'Ecosystem:name' or recognized shorthand","No vulnerabilities found — returns empty vulnerability list for packages with no known CVEs (not an error)","OSV.dev upstream timeout — live query may fail if Google's OSV API is temporarily unavailable","Unsupported ecosystem — ecosystems other than PyPI, npm, Go, and crates.io may return no results"],"whenToPreferThis":"Choose this endpoint when you need real-time, live vulnerability data sourced directly from Google OSV.dev for PyPI, npm, Go modules, or Rust crates. It is ideal for CI/CD security gates, dependency audits before deployment, or agent-driven supply chain risk checks. Prefer this over static NVD databases or local scanners when freshness of CVE data matters and you want GHSA advisories alongside CVEs in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:26:33.857Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-6649337a"}