{"uid":"cap_dGMlgOZ4GrjFQNW-psGoK","slug":"package-safety-vulnerability-checker-52a62480","name":"Package Safety & Vulnerability Checker","description":"Is this dependency safe to use? Pass a package name (npm, PyPI, Go, Maven, crates.io, RubyGems, NuGet) and optional version: returns known vulnerabilities (OSV/CVE with CVSS and fixed-in version), deprecation status, license, latest version, repo health (stars, OpenSSF Scorecard) and an overall ok/caution/avoid verdict. JSON response. $0.01 USDC per call, pay via x402, no API key.","url":"https://toolsmith-api.dassad10.workers.dev/t/package/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":["name"],"properties":{"eco":{"enum":["npm","pypi","go","maven","cargo","rubygems","nuget"],"type":"string","description":"Ecosystem, default npm"},"name":{"type":"string","description":"Package name, e.g. express or @scope/pkg"},"version":{"type":"string","description":"Version to check, default latest"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"package":"express","project":{"stars":65000,"scorecard":6.8},"verdict":"caution","version":"4.16.0","latestVersion":"5.2.1","vulnerabilities":[{"id":"GHSA-...","cve":"CVE-2024-...","cvss":6.1,"fixedIn":"4.19.2"}]}},"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_PZ2D4Q4Nu5Yld1nAAm_E4","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":"Checks a package (npm, PyPI, Go, Maven, cargo, RubyGems, NuGet) for known vulnerabilities, deprecation status, license, repo health, and returns a safety verdict","exampleAgentPrompt":"Is the npm package 'axios' version 1.4.0 safe to use? Give me any known CVEs, the license, and an overall safety verdict.","exampleUseCases":[{"title":"Validate dependencies before production deployment","prompt":"I'm about to deploy a new microservice with these dependencies: express 4.18.2, mongoose 7.0.1, and dotenv 16.0.3. Can you quickly check if any of them have known vulnerabilities or licensing issues I should be aware of?"},{"title":"Audit legacy package versions for security risks","prompt":"We're maintaining an old Python project that uses requests 2.25.1, flask 1.1.2, and sqlalchemy 1.3.24. Are any of these versions deprecated or have unpatched CVEs we need to address?"},{"title":"Evaluate third-party library recommendations","prompt":"A teammate suggested adding the npm package 'date-fns' version 2.29.0 to our codebase. Before I approve it, can you check its security score, license, repository health, and tell me if there are any red flags?"}],"resultDescription":"A JSON object containing: list of known vulnerabilities with CVE/OSV IDs, CVSS scores, and fixed-in versions; deprecation status; SPDX license identifier; latest available version; repository health signals (stars, OpenSSF Scorecard); and an overall verdict of ok, caution, or avoid.","failureModes":["Package not found in the specified ecosystem — returns error or empty vulnerability list","Ecosystem not recognized or unsupported — returns 400-style error","Version string malformed or not found — may fall back to latest version check","Upstream OSV/CVE data temporarily unavailable — may return stale or partial results","Rate limit or payment failure — returns 402 or 429 error"],"whenToPreferThis":"Use this endpoint when an AI agent needs a quick, multi-signal safety assessment of a specific open-source package dependency before recommending or using it in code. It aggregates vulnerability databases (OSV/CVE), repo health, and license data into a single verdict, avoiding the need to query multiple sources. Prefer over raw CVE databases when you need a human-readable ok/caution/avoid decision rather than raw vulnerability data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:39:47.197Z","isFirstParty":false}