# toolcall.click Package Safety Checker

> toolcall.click Package Safety Checker is a paid API for AI agents from toolcall.click, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Checks a package (npm, PyPI, Go, Maven, cargo, RubyGems, NuGet) for vulnerabilities, deprecation, license, and repo health, returning an ok/caution/avoid verdict

## Facts

- Endpoint: GET https://toolcall.click/t/package/check
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toolcall-click-package-safety-checker-1e8edd60
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S8mr83VSz3jww4nFfCEmf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability toolcall-click-package-safety-checker-1e8edd60
```

Example prompt: Can you check if the npm package lodash version 4.17.20 is safe to use — I need to know about any known CVEs, whether it's deprecated, and what the overall verdict is?

## When to prefer this

Use this endpoint when you need a single-call, multi-signal safety assessment of an open source package dependency across npm, PyPI, Go, Maven, cargo, RubyGems, or NuGet — especially when you want combined vulnerability data (OSV/CVE with CVSS), deprecation status, license, and OpenSSF Scorecard without stitching together multiple APIs. Prefer this over manual OSV or Snyk lookups when you need a quick ok/caution/avoid verdict for automated dependency checks or CI pipelines.

## Known failure modes

- Package not found in specified ecosystem — returns error or empty result
- Invalid ecosystem enum value — rejected with validation error
- Payment failure via x402 — call not processed
- No version found matching the specified version string — may fall back to latest
- Rate limiting or service unavailability — HTTP 5xx response

## How this service works

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.

## Output

A JSON object containing known vulnerabilities (OSV/CVE IDs, CVSS scores, fixed-in versions), deprecation status, license type, latest available version, repository health metrics (star count, OpenSSF Scorecard rating), and an overall verdict of ok, caution, or avoid.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toolcall-click-package-safety-checker-1e8edd60/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toolcall.click](https://www.zero.xyz/host/toolcall.click/llms.txt)
