74trust / 100

Tools Package Dependency Risk Scanner

by Package Dependency Risk Scanner in Security & trust

x402 APIPassing, checked 24 min ago

Give it npm or PyPI package names. For each it reads the registry metadata and latest version (and npm download counts) and queries OSV.dev for known security advisories, then composes a risk brief: known vulnerabilities, deprecation, staleness and a signal. Keyless, agent-callable. One search per call (result caps in the input schema); failed lookups are not charged.

POST
https://agent-data.centorprat.workers.dev/tools/package-dependency-risk-scanner
Price
$0.01
per call in USDC
Uptime
95.1%
last 30 days
Response time
301 ms
613 ms slowest 5%
Last check
Passed
24 min ago, next in 7 min

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://agent-data.centorprat.workers.dev/tools/package-dependency-risk-scanner

Each call costs $0.01 in USDC on Polygon, 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://agent-data.centorprat.workers.dev/tools/package-dependency-risk-scanner
content-type: application/json

{
  "ecosystem": "npm",
  "packages": [
    "lodash"
  ]
}

Parameters

ParameterTypeRequiredDescription
ecosystemstringNoUsed for package names without an npm:/pypi: prefix. One of: npm, pypi.
packagesarray of stringNoe.g. ["lodash", "[email protected]", "pypi:requests", "npm:@babel/core"]. Prefix with npm: or pypi: to pick the ecosystem (else the default below); add @version (npm) or ==version (PyPI) to check a specific version. One brief per package.

Example response

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

{
  "items": [
    {
      "checkedVersion": "4.18.1",
      "created": "2012-04-23T16:37:11.912Z",
      "deprecated": false,
      "deprecatedReason": null,
      "ecosystem": "npm",
      "found": true,
      "homepage": "https://lodash.com/",
      "lastPublish": "2026-04-01T21:01:20.458Z",
      "latestVersion": "4.18.1",
      "license": "MIT",
      "maintainers": 1,
      "name": "lodash",
      "query": "lodash",
      "weeklyDownloads": 94515109
    }
  ]
}

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://agent-data.centorprat.workers.dev/tools/package-dependency-risk-scanner' \
  -H 'content-type: application/json' \
  --data-raw '{"ecosystem":"npm","packages":["lodash"]}'

# 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://agent-data.centorprat.workers.dev/tools/package-dependency-risk-scanner' \
  -H 'content-type: application/json' \
  --data-raw '{"ecosystem":"npm","packages":["lodash"]}' \
  | 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%2Fagent-data.centorprat.workers.dev%2Ftools%2Fpackage-dependency-risk-scanner&method=POST
const res = await pay("https://agent-data.centorprat.workers.dev/tools/package-dependency-risk-scanner", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "ecosystem": "npm",
    "packages": [
      "lodash"
    ]
  }),
});
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://agent-data.centorprat.workers.dev/tools/package-dependency-risk-scanner",
        json={
            "ecosystem": "npm",
            "packages": [
                "lodash",
            ],
        },
    )
    print(res.status_code, res.text)

Security scan

1 finding

  • Payment address changed recently in payment
    Payment address on Base changed from 0x6C571a6F88cfB3DA7d639eBa9906d8672959496E to 0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120; Payment address on Polygon changed from 0x6C571a6F88cfB3DA7d639eBa9906d8672959496E to 0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120

Recent checks

WhenResultHTTPTimePrice
24 min agoPassed402208 ms$0.01
19 h agoTimed out---
3 days agoTimed out---
4 days agoPassed402807 ms$0.01
4 days agoPassed402237 ms$0.01
Show 10 older checks
5 days agoPassed402190 ms$0.01
5 days agoPassed402355 ms$0.01
5 days agoPassed402262 ms$0.01
6 days agoPassed402182 ms$0.01
6 days agoPassed4021.7 s$0.01
6 days agoPassed402121 ms$0.01
7 days agoPassed402204 ms$0.01
7 days agoPassed402322 ms$0.01
7 days agoPassed402371 ms$0.01
8 days agoPassed402224 ms$0.01

History

1 Dec 2026Payment address on Base changed from 0x6C571a6F88cfB3DA7d639eBa9906d8672959496E to 0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120; Payment address on Polygon changed from 0x6C571a6F88cfB3DA7d639eBa9906d8672959496E to 0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120
26 Nov 2026Payment address on Base changed from 0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120 to 0x6C571a6F88cfB3DA7d639eBa9906d8672959496E; Payment address on Polygon changed from 0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120 to 0x6C571a6F88cfB3DA7d639eBa9906d8672959496E