{"uid":"cap_c-KlZWtYEXhocSECdKg7X","slug":"npm-package-security-risk-checker-693b2ea8","name":"npm Package Security Risk Checker","description":"Checks npm packages for security risk signals and supply-chain threats.","url":"https://relay402.georgespring.workers.dev/api/security-npm-risk","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"],"type":"string"},"queryParams":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["name"],"properties":{"name":{"type":"string","maxLength":214,"minLength":1}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5vRWJ7OpCuzKU2WclmLw-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks an npm package by name for security risk signals, returning a risk score, risk level, and package metadata including version, license, downloads, and deprecation status.","exampleAgentPrompt":"Can you check the security risk of the npm package 'event-stream' and tell me its risk score, risk level, whether it's deprecated, and what license it uses?","exampleUseCases":null,"resultDescription":"Returns a risk score (numeric), a risk level (e.g. low, medium, high), plus supporting package details: latest version, license type, total downloads, and deprecated status — giving a quick security posture snapshot for the queried npm package.","failureModes":["Package name not found on npm registry — returns error or empty result","Package name too short or invalid (violates minLength:1 / maxLength:214) — schema validation error","Rate limit or payment failure — 402 or 429 response","Network timeout reaching the workers.dev endpoint"],"whenToPreferThis":"Choose this endpoint when you need a fast, pre-computed security risk signal for a specific npm package — especially useful in CI/CD pipelines, dependency auditing workflows, or when evaluating whether to add a new open-source Node.js dependency. Prefer it over manual registry inspection when you need a structured risk score with metadata in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:01.849Z","isFirstParty":false}