{"uid":"cap_d4NoLPg17vE37gGSlZ-SJ","slug":"agentdiet-cargo-vulnerability-scanner-6513ad0e","name":"AgentDiet Cargo Vulnerability Scanner","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/cargo-vuln-scan?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"package":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","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":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W4OcL92eVCroeQ29Ii6Vn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans a Rust Cargo package for known security vulnerabilities and returns a compressed audit report","exampleAgentPrompt":"Can you scan the 'serde' Cargo package for known security vulnerabilities and give me a summary of any issues found?","exampleUseCases":[{"title":"Pre-release dependency security check","prompt":"Before I publish my new Rust crate, can you check if the 'tokio' package I'm depending on has any known CVEs or security issues?"},{"title":"CI pipeline supply chain audit","prompt":"Scan the 'openssl' cargo package for vulnerabilities — I want to know if it's safe to keep using it in my production Rust project."},{"title":"Third-party library vetting","prompt":"I'm considering adding 'hyper' as a dependency to my Rust app — can you run a vulnerability scan on it and tell me if there are any known security problems?"}],"resultDescription":"Returns a JSON object with a 'status' field ('ok'), a 'data' object containing vulnerability findings for the scanned Cargo package, and a 'roi_proof' object showing compression ratio (e.g. 91.4%) indicating how much the result has been distilled relative to raw audit data.","failureModes":["Package name not found in Cargo registry — returns empty or error data","Network timeout if the upstream advisory database is slow","Missing required 'package' query parameter — may return validation error","Unknown or misspelled crate name returns no vulnerability data","Payment not settled in USDC on Base — request blocked with 402 response"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost ($0.01 USDC) automated vulnerability scan for a specific Rust Cargo package, especially in agent workflows that need to vet dependencies before installation or release. It is preferable over manual `cargo audit` runs when operating in an A2A or MCP pipeline context where results need to be compressed and machine-readable. Best suited for single-package spot checks rather than full project-wide dependency tree audits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:53.229Z","isFirstParty":false,"canonicalSlug":"agentdiet-cargo-vulnerability-scanner-6513ad0e"}