72trust / 100

Packages Check

by OnchainCheck Package Security in Security & trust

x402 APIPassing, checked 10 h ago

Audit up to 20 dependencies in one call: paste a package.json or requirements.txt, or list packages (npm:[email protected]; npm, PyPI, Go, Cargo, Maven, NuGet, RubyGems). Each gets OSV vulnerabilities and malware reports with severity and fixing version, deprecation, licenses and an ok/review/upgrade/avoid verdict; npm and PyPI names that don't exist (invented by a model) and lookalikes of popular packages are flagged. Plus a summary. Data: deps.dev, OSV.dev, registries.

POST
https://onchaincheck.dev/packages/check
Price
$0.01
per call in USDC
Uptime
80.0%
last 30 days
Response time
41 ms
94 ms slowest 5%
Last check
Passed
10 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://onchaincheck.dev/packages/check

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://onchaincheck.dev/packages/check
content-type: application/json

{
  "packages": "npm:[email protected],npm:[email protected],pypi:[email protected]"
}

Parameters

ParameterTypeRequiredDescription
ecosystemstringNoDefault ecosystem for entries without a prefix One of: npm, pypi, go, cargo, maven, nuget, rubygems.
manifeststringNopackage.json or requirements.txt contents, instead of packages
packagesstringNoComma- or newline-separated ecosystem:name@version (version optional: latest)

Example response

The provider's example. We can't check it without paying.

Example response, 221 lines
{
  "checkedAt": "2026-11-27T05:10:49.346Z",
  "packages": [
    {
      "deprecated": false,
      "ecosystem": "npm",
      "isLatest": false,
      "latest": "4.18.1",
      "licenses": [
        "MIT"
      ],
      "name": "lodash",
      "reasons": [
        "5 known vulnerabilities fixed in a later version",
        "not the latest version"
      ],
      "upgradeTo": "4.18.0",
      "verdict": "upgrade",
      "version": "4.17.15",
      "vulnerabilities": [
        {
          "aliases": [
            "CVE-2020-28500"
          ],
          "fixedIn": "4.17.21",
          "id": "GHSA-29mw-wpgm-hmr9",
          "malicious": false,
          "published": "2022-01-06T20:30:46Z",
          "severity": "MEDIUM",
          "summary": "Regular Expression Denial of Service (ReDoS) in lodash",
          "url": "https://osv.dev/vulnerability/GHSA-29mw-wpgm-hmr9"
        },
        {
          "aliases": [
            "CVE-2021-23337"
          ],
          "fixedIn": "4.17.21",
          "id": "GHSA-35jh-r3h4-6jhm",
          "malicious": false,
          "published": "2021-05-06T16:05:51Z",
          "severity": "HIGH",
          "summary": "Command Injection in lodash",
          "url": "https://osv.dev/vulnerability/GHSA-35jh-r3h4-6jhm"
        },
        {
          "aliases": [
            "CVE-2020-8203"
          ],
          "fixedIn": "4.17.19",
          "id": "GHSA-p6mc-m468-83gw",
          "malicious": false,
          "published": "2020-07-15T19:15:48Z",
          "severity": "HIGH",
          "summary": "Prototype Pollution in lodash",
          "url": "https://osv.dev/vulnerability/GHSA-p6mc-m468-83gw"
        },
        {
          "aliases": [
            "CVE-2026-4800"
          ],
          "fixedIn": "4.18.0",
          "id": "GHSA-r5fr-rjxr-66jc",
          "malicious": false,
          "published": "2026-04-01T23:51:12Z",
          "severity": "HIGH",
          "summary": "lodash vulnerable to Code Injection via `_.template` imports key names",
          "url": "https://osv.dev/vulnerability/GHSA-r5fr-rjxr-66jc"
        },
        {
          "aliases": [
            "CVE-2025-13465"
          ],
          "fixedIn": "4.17.23",
          "id": "GHSA-xxjr-mmjv-4gpg",
          "malicious": false,
          "published": "2026-01-21T23:01:22Z",
          "severity": "MEDIUM",
          "summary": "Lodash has Prototype Pollution Vulnerability in `_.unset`, `_.omit`, and `_.pullAt` functions",
          "url": "https://osv.dev/vulnerability/GHSA-xxjr-mmjv-4gpg"
        }
      ]
    },
    {
      "deprecated": false,
      "ecosystem": "npm",
      "isLatest": false,
      "latest": "5.3.0",
      "licenses": [
        "MIT"
      ],
      "name": "express",
      "reasons": [
        "2 known vulnerabilities fixed in a later version",
        "not the latest version"
      ],
      "upgradeTo": "4.20.0",
      "verdict": "upgrade",
      "version": "4.17.1",
      "vulnerabilities": [
        {
          "aliases": [
            "CVE-2024-43796"
          ],
          "fixedIn": "4.20.0",
          "id": "GHSA-qw6h-vgh9-j6wx",
          "malicious": false,
          "published": "2024-09-10T19:41:04Z",
          "severity": "LOW",
          "summary": "express vulnerable to XSS via response.redirect()",
          "url": "https://osv.dev/vulnerability/GHSA-qw6h-vgh9-j6wx"
        },
        {
          "aliases": [
            "CVE-2024-29041"
          ],
          "fixedIn": "4.19.2",
          "id": "GHSA-rv95-896h-c2vc",
          "malicious": false,
          "published": "2024-03-25T19:40:26Z",
          "severity": "MEDIUM",
          "summary": "Express.js Open Redirect in malformed URLs",
          "url": "https://osv.dev/vulnerability/GHSA-rv95-896h-c2vc"
        }
      ]
    },
    {
      "deprecated": false,
      "ecosystem": "pypi",
      "isLatest": false,
      "latest": "2.34.2",
      "licenses": [
        "Apache-2.0"
      ],
      "name": "requests",
      "reasons": [
        "10 known vulnerabilities fixed in a later version",
        "not the latest version"
      ],
      "upgradeTo": "2.33.0",
      "verdict": "upgrade",
      "version": "2.19.0",
      "vulnerabilities": [
        {
          "aliases": [
            "CVE-2024-47081"
          ],
          "fixedIn": "2.32.4",
          "id": "GHSA-9hjg-9r4m-mvj7",
          "malicious": false,
          "published": "2025-06-09T19:06:08Z",
          "severity": "MEDIUM",
          "summary": "Requests vulnerable to .netrc credentials leak via malicious URLs",
          "url": "https://osv.dev/vulnerability/GHSA-9hjg-9r4m-mvj7"
        },
        {
          "aliases": [
            "CVE-2024-35195"
          ],
          "fixedIn": "2.32.0",
          "id": "GHSA-9wx4-h78v-vm56",
          "malicious": false,
          "published": "2024-05-20T20:15:00Z",
          "severity": "MEDIUM",
          "summary": "Requests `Session` object does not verify requests after making first request with verify=False",
          "url": "https://osv.dev/vulnerability/GHSA-9wx4-h78v-vm56"
        },
        {
          "aliases": [
            "CVE-2026-25645"
          ],
          "fixedIn": "2.33.0",
          "id": "GHSA-gc5v-m9x4-r6x2",
          "malicious": false,
          "published": "2026-03-25T16:56:28Z",
          "severity": "MEDIUM",
          "summary": "Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function",
          "url": "https://osv.dev/vulnerability/GHSA-gc5v-m9x4-r6x2"
        },
        {
          "aliases": [
            "CVE-2023-32681"
          ],
          "fixedIn": "2.31.0",
          "id": "GHSA-j8r2-6x86-q33q",
          "malicious": false,
          "published": "2023-05-22T20:36:32Z",
          "severity": "MEDIUM",
          "summary": "Unintended leak of Proxy-Authorization header in requests",
          "url": "https://osv.dev/vulnerability/GHSA-j8r2-6x86-q33q"
        },
        {
          "aliases": [
            "CVE-2018-18074"
          ],
          "fixedIn": "2.20.0",
          "id": "GHSA-x84v-xcm2-53pg",
          "malicious": false,
          "published": "2018-10-29T19:06:46Z",
          "severity": "HIGH",
          "summary": "Insufficiently Protected Credentials in Requests",
          "url": "https://osv.dev/vulnerability/GHSA-x84v-xcm2-53pg"
        }
      ]
    }
  ],
  "sources": "deps.dev (Open Source Insights) and OSV.dev, both CC-BY 4.0",
  "summary": {
    "avoid": 0,
    "critical": 0,
    "high": 4,
    "invented": [],
    "malicious": [],
    "ok": 0,
    "packages": 3,
    "review": 0,
    "text": "3 packages: 0 avoid, 0 review, 3 upgrade, 0 ok; 17 known vulnerabilities (0 critical, 4 high).",
    "unknown": 0,
    "upgrade": 3,
    "vulnerabilities": 17
  }
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://onchaincheck.dev/packages/check' \
  -H 'content-type: application/json' \
  --data-raw '{"packages":"npm:[email protected],npm:[email protected],pypi:[email protected]"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://onchaincheck.dev/packages/check' \
  -H 'content-type: application/json' \
  --data-raw '{"packages":"npm:[email protected],npm:[email protected],pypi:[email protected]"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fonchaincheck.dev%2Fpackages%2Fcheck&method=POST
const res = await pay("https://onchaincheck.dev/packages/check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "packages": "npm:[email protected],npm:[email protected],pypi:[email protected]"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://onchaincheck.dev/packages/check",
        json={
            "packages": "npm:[email protected],npm:[email protected],pypi:[email protected]",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
10 h agoPassed40259 ms$0.01
21 h agoPassed40294 ms$0.01
33 h agoPassed40218 ms$0.01
3 days agoTimed out---
5 days agoPassed40241 ms$0.01