{"uid":"cap_v4Ygy3BVHRDgm2K7yrF6n","slug":"agentdiet-npm-vulnerability-scanner-d6c5638d","name":"AgentDiet NPM 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/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_hO1VwsnDolgE-2XIqTzdU","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 compressed vulnerability report","exampleAgentPrompt":"Can you scan the npm package 'lodash' for known security vulnerabilities and tell me if it's safe to use?","exampleUseCases":[{"title":"Dependency security audit before deploy","prompt":"Before I ship this release, scan the npm package 'express' for any known CVEs or vulnerabilities so I know if it's safe to include."},{"title":"Checking a new open-source library","prompt":"I want to add 'axios' to my project — can you check if it has any known security issues in the npm vulnerability database?"},{"title":"Supply chain risk assessment","prompt":"We're evaluating 'moment' as a dependency. Can you run a vulnerability scan on that npm package and summarize any security risks?"}],"resultDescription":"Returns a JSON object with a status field, a data object containing vulnerability findings for the queried npm package, and a roi_proof object showing the compression ratio (e.g. 91.4%) achieved by the context distillation process.","failureModes":["Missing or invalid 'package' query parameter returns an error or empty data","Unknown or misspelled package name may return empty vulnerability data","Payment failure via x402/USDC may block the request","Rate limiting or service unavailability may cause timeouts","Non-npm package names will not return meaningful results"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost ($0.01 USDC) machine-to-machine vulnerability scan for a specific npm package, especially within an agentic pipeline that already uses x402 micropayments on Base. It is well-suited for automated CI/CD security checks or dependency audits where minimal token overhead matters due to its context-distillation architecture.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:09.322Z","isFirstParty":false,"canonicalSlug":"agentdiet-npm-vulnerability-scanner-d6c5638d"}