81trust / 100

Package Check

by Toolsmith in Security & trust

x402 APIPassing, checked 4 h ago

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.

GET https://toolcall.click/t/package/check

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
37 ms typical, 37 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://toolcall.click/t/package/check?eco=npm&name=express&version=4.16.0"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftoolcall.click%2Ft%2Fpackage%2Fcheck
const res = await pay("https://toolcall.click/t/package/check?eco=npm&name=express&version=4.16.0");
console.log(await res.json());

Example input

{
  "eco": "npm",
  "name": "express",
  "version": "4.16.0"
}

Example output

{
  "latestVersion": "5.2.1",
  "package": "express",
  "project": {
    "scorecard": 6.8,
    "stars": 65000
  },
  "verdict": "caution",
  "version": "4.16.0",
  "vulnerabilities": [
    {
      "cve": "CVE-2024-...",
      "cvss": 6.1,
      "fixedIn": "4.19.2",
      "id": "GHSA-..."
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed40237 ms$0.01