{"uid":"cap_86dSZo8NIgBVQOlfMcs6r","slug":"package-health-check-security-license-maintenance-deprecation-score-d7e4310a","name":"Package Health Check — Security, License, Maintenance & Deprecation Score","description":"PREMIUM package health & maintenance check: pass ?package=<name>&ecosystem=npm|pypi|go|maven|cargo|nuget for a 1-10 health score plus verdicts on maintenance (OpenSSF Scorecard activity), security (CVE advisories + CISA-KEV active exploitation), SPDX license fit, and deprecation. Answers \"is this npm package well-maintained and safe to add?\" — the health check a coding agent runs before `install`.","url":"https://oracles-production.up.railway.app/v1/packagehealth/check","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","required":["package"],"properties":{"package":{"type":"string"},"ecosystem":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"findings":{"type":"array","items":{"type":"object"}},"generatedBy":{"enum":["llm","template"],"type":"string"},"overallVerdict":{"type":"string"},"packagesAudited":{"type":"integer"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yr_5Ilg9PrIKKaAAHOIGO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a 1-10 health score and structured verdicts on security advisories, CISA-KEV exploitation, license compatibility, OpenSSF Scorecard maintenance, and deprecation status for a given package before installation.","exampleAgentPrompt":"Before I add lodash to my project, can you run a full health check on it — I need the security, license, maintenance, and deprecation verdict plus a 1-10 score? It's an npm package.","exampleUseCases":null,"resultDescription":"A structured response containing a 1-10 overall health score, an overallVerdict string, and an array of findings covering four verdict categories: security (including any active CISA-KEV exploits and CVE advisories), SPDX license fit, maintenance quality via OpenSSF Scorecard, and deprecation status. Also includes a packagesAudited count and a generatedBy field indicating whether the summary was LLM-written or template-based.","failureModes":["Package not found in the specified ecosystem — returns error or empty findings","Ecosystem parameter invalid or missing — returns 400-level error","Package data unavailable upstream (e.g. registry outage) — partial or degraded response","Ambiguous package name across ecosystems if ecosystem param omitted — may default or error","Payment not completed (x402) — request rejected before processing"],"whenToPreferThis":"Use this endpoint when an AI coding agent or developer workflow needs a single authoritative pre-install verdict on a package dependency — especially when security (CVE/CISA-KEV), license compliance, maintenance quality, and deprecation all need to be checked in one call rather than querying multiple separate registries or databases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:17:02.179Z","isFirstParty":false}