Package Check
by OnchainCheck Package Security in Security & trust
Is this package safe to install? npm, PyPI, Go, Cargo, Maven, NuGet or RubyGems: OSV vulnerabilities and malicious-package reports with severity and fixing version, deprecation, licenses, OpenSSF Scorecard and an ok / review / upgrade / avoid verdict. npm and PyPI also get supply-chain checks: names that don't exist (invented by a model), lookalikes of popular packages, newly added install scripts, a publisher who wasn't a maintainer, downloads. Errors return 4xx/5xx JSON and aren't charged.
https://onchaincheck.dev/package/check- Price
- $0.003
- per call in USDC
- Uptime
- 80.0%
- last 30 days
- Response time
- 43 ms
- 200 ms slowest 5%
- Last check
- Passed
- 10 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://onchaincheck.dev/package/check
Each call costs $0.003 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.
GET https://onchaincheck.dev/package/check?ecosystem=npm&name=lodash&version=4.17.15Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ecosystem | string | Yes | Package registry One of: npm, pypi, go, cargo, maven, nuget, rubygems. |
name | string | Yes | Package name (lodash, requests, github.com/gin-gonic/gin, org.slf4j:slf4j-api) |
version | string | No | Version to check (default: the latest) |
Example response
The provider's example. We can't check it without paying.
Example response, 127 lines
{
"checkedAt": "2026-11-27T04:57:55.600Z",
"deprecated": false,
"deprecatedReason": null,
"ecosystem": "npm",
"exists": true,
"isLatest": false,
"lastReleaseAt": "2026-04-01T21:01:20Z",
"latest": "4.18.1",
"latestAdvisories": 0,
"latestPublishedAt": "2026-04-01T21:01:20Z",
"licenses": [
"MIT"
],
"links": {
"depsDev": "https://deps.dev/npm/lodash/4.17.15",
"osv": "https://osv.dev/list?ecosystem=npm&q=lodash"
},
"name": "lodash",
"newerReleases": 9,
"publishedAt": "2019-07-19T02:28:46Z",
"reasons": [
"5 known vulnerabilities fixed in a later version",
"not the latest version"
],
"repository": {
"id": "github.com/lodash/lodash",
"openIssues": 126,
"scorecard": {
"checks": {
"Binary-Artifacts": 10,
"CII-Best-Practices": 0,
"Code-Review": 7,
"Dangerous-Workflow": 10,
"Fuzzing": 10,
"License": 9,
"Maintained": 10,
"Pinned-Dependencies": 4,
"SAST": 9,
"Security-Policy": 10,
"Token-Permissions": 0
},
"date": "2026-08-24",
"score": 7.5
},
"stars": 61353
},
"sources": "deps.dev (Open Source Insights) and OSV.dev, both CC-BY 4.0",
"supplyChain": {
"firstPublished": "2012-04-23T16:37:12Z",
"installScripts": [],
"maintainers": [
"jdalton",
"mathias"
],
"publisher": "jdalton",
"reasons": [],
"verdict": "ok",
"weeklyDownloads": 207171092
},
"upgradeTo": "4.18.0",
"verdict": "upgrade",
"version": "4.17.15",
"vulnerabilities": [
{
"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-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-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"
}
],
"vulnerabilityCount": 5
}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.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://onchaincheck.dev/package/check?ecosystem=npm&name=lodash&version=4.17.15'
# 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 - 'https://onchaincheck.dev/package/check?ecosystem=npm&name=lodash&version=4.17.15' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
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.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fonchaincheck.dev%2Fpackage%2Fcheck
const res = await pay("https://onchaincheck.dev/package/check?ecosystem=npm&name=lodash&version=4.17.15");
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.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://onchaincheck.dev/package/check?ecosystem=npm&name=lodash&version=4.17.15")
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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 10 h ago | Passed | 402 | 25 ms | $0.003 |
| 21 h ago | Passed | 402 | 97 ms | $0.003 |
| 33 h ago | Passed | 402 | 200 ms | $0.003 |
| 3 days ago | Timed out | - | - | - |
| 5 days ago | Passed | 402 | 43 ms | $0.003 |