{"uid":"cap_LWm0fxEo7W374rzfjhecq","slug":"npm-vulnerability-scanner-b7d82653","name":"NPM 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/npm-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_4MV_OkxWqurY7v-1SLztU","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 an npm package for known security vulnerabilities and returns a risk report","exampleAgentPrompt":"Can you scan the npm package 'lodash' for known security vulnerabilities and tell me if it's safe to use?","exampleUseCases":[{"title":"Audit dependency before installation","prompt":"Before I add 'axios' to my project, can you check if it has any known security vulnerabilities?"},{"title":"CI pipeline security gate check","prompt":"Scan the npm package 'minimist' for CVEs or known exploits so I can decide whether to block this dependency in our build pipeline."},{"title":"Verify open source library safety","prompt":"We're considering using 'event-stream' in our app — can you pull up any security issues or vulnerabilities that have been reported for that npm package?"}],"resultDescription":"Returns a JSON object with a status field, a data object containing vulnerability findings for the queried npm package, and an roi_proof object showing a compression ratio metric (e.g. compression_ratio_pct: 91.4) indicating how much raw data was distilled.","failureModes":["Missing 'package' query parameter returns an error or empty result","Unknown or misspelled package name may return no vulnerability data","Upstream vulnerability database unavailable causes lookup failure","Payment failure (x402) prevents endpoint access","Rate limiting or quota exhaustion returns 402 or 429 error"],"whenToPreferThis":"Use this endpoint when an AI agent needs a quick, cheap ($0.01 USDC) programmatic vulnerability check on a specific npm package without standing up a full Snyk or npm audit pipeline. Ideal for lightweight dependency vetting in automated agent workflows, CI decision gates, or one-off security checks where a full audit tool is overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:20.315Z","isFirstParty":false,"canonicalSlug":"npm-vulnerability-scanner-b7d82653"}