{"uid":"cap_OD5JCW8LUhljg-5i4hJJY","slug":"pypi-package-vulnerability-scanner-191d21b5","name":"PyPI Package Vulnerability Scanner","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/pypi-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_tidXuxYOenjZbGPKTi1or","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 PyPI package by name for known security vulnerabilities and returns a compressed vulnerability report.","exampleAgentPrompt":"Can you check if the 'requests' PyPI package has any known security vulnerabilities?","exampleUseCases":[{"title":"Audit Python dependency before install","prompt":"Before I add 'pillow' to my project, can you check if it has any known security vulnerabilities in PyPI?"},{"title":"CI/CD pipeline security gate","prompt":"Scan the 'paramiko' package for known CVEs or security issues — I need to decide whether it's safe to include in our next release."},{"title":"Check newly discovered vulnerable library","prompt":"I heard there might be security issues with the 'cryptography' Python package — can you pull the latest vulnerability report for it?"}],"resultDescription":"A JSON object with a 'status' field indicating success, a 'data' object containing vulnerability findings for the queried PyPI package, and a 'roi_proof' field showing a compression ratio (e.g. 91.4%) indicating how much raw vulnerability data was condensed.","failureModes":["Package name not found in PyPI — may return empty data or error","Payment not settled in USDC on Base — 402 Payment Required returned","Invalid or missing 'package' query parameter — request rejected","Upstream vulnerability database unavailable — degraded or error response","Rate limiting or quota exceeded on the gateway"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call vulnerability check on a specific PyPI package without setting up a full security scanning pipeline. It is ideal for AI agents performing on-demand dependency audits, CI/CD gate checks, or responding to user questions about Python package safety. Prefer it over self-hosted solutions when you want zero infrastructure overhead and are comfortable with micropayment-based access via x402/USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:49.769Z","isFirstParty":false,"canonicalSlug":"pypi-package-vulnerability-scanner-191d21b5"}