{"uid":"cap_Uroql2r0Swm-JtOrrwuTC","slug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-e5fb2341","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":"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_A8qzQchyJytXfOBE1XVi-","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 a given PyPI, npm, Go, or Rust crate package.","exampleAgentPrompt":"Can you check if the PyPI package 'requests' has any active CVEs or GHSA advisories, and tell me which versions are patched?","exampleUseCases":[{"title":"Audit Python dependency for CVEs","prompt":"I'm using PyPI:cryptography in my project — can you scan it for any known CVEs or GHSA advisories and tell me if there's a safe patched version I should upgrade to?"},{"title":"Check npm package before deployment","prompt":"Before I ship this update, can you check if npm:lodash has any active security vulnerabilities or advisories listed on OSV.dev?"},{"title":"Rust crate supply chain vetting","prompt":"We're adding crates.io:hyper as a dependency — can you look it up for any known CVEs or GitHub Security Advisories and let me know which version to use?"}],"resultDescription":"Returns a structured object containing active CVEs, GHSA advisory identifiers, affected version ranges, severity details, and recommended patched versions for the queried package, sourced live from Google OSV.dev.","failureModes":["Package not found in the specified ecosystem — returns empty or error response","Malformed package identifier format — requires 'Ecosystem:name' pattern such as 'PyPI:requests'","Unsupported ecosystem — only PyPI, npm, Go, and crates.io are supported","OSV.dev upstream unavailability causing timeout or degraded response","Payment not processed — HTTP 402 returned if x402 payment is not included"],"whenToPreferThis":"Choose this endpoint when you need real-time, live vulnerability data from Google OSV.dev for open-source packages across PyPI, npm, Go, or Rust ecosystems — especially when you need CVE and GHSA advisory details alongside patched version recommendations in a single call. Prefer over static databases when freshness matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:38:57.608Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-real-time-open-source-package-cve-ghsa-6649337a"}