77trust / 100

Batch

by Open Source Vulnerability Check in Security & trust

x402 APIPassing, checked 41 min ago

Batch dependency vulnerability check — check ordered exact package versions in OSV with deduplicated CVE enrichment, explicit completeness, and CISA KEV known-exploited signals.

POST https://dependency-risk.use.x402atlas.com/batch

Last 30 days

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

Uptime
100%
Response time
589 ms typical, 629 ms slowest 5%
Last check
41 min ago
Next check
any minute now

How to call it

POST https://dependency-risk.use.x402atlas.com/batch

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://dependency-risk.use.x402atlas.com/batch
content-type: application/json

{
  "packages": [
    {
      "purl": "pkg:golang/golang.org/x/[email protected]"
    },
    {
      "purl": "pkg:golang/golang.org/x/[email protected]"
    }
  ]
}

Parameters

ParameterTypeRequiredDescription
packagesarray of objectYesOrdered exact package versions; duplicates preserve positions and share source work. The complete OSV result must contain no page token and at most eight distinct vulnerability IDs for V1 enrichment.

Example response

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

Example response, 301 lines
{
  "operation": "batch-check",
  "partial": false,
  "results": [
    {
      "findings": [
        {
          "affected": [
            {
              "package": {
                "ecosystem": "Go",
                "name": "golang.org/x/text",
                "purl": "pkg:golang/golang.org/x/text"
              },
              "ranges": [
                {}
              ],
              "severity": [],
              "versions": []
            }
          ],
          "aliases": [
            "CVE-2022-32149",
            "GO-2022-1059"
          ],
          "fixed_versions": [
            "0.3.8"
          ],
          "id": "GHSA-69ch-w2m2-3vjp",
          "max_severity": "high",
          "modified": "2026-02-04T03:11:34.199431Z",
          "published": "2022-10-14T19:00:40Z",
          "references": [
            {
              "type": "ADVISORY",
              "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-32149"
            },
            {
              "type": "WEB",
              "url": "https://github.com/golang/go/issues/56152"
            },
            {
              "type": "WEB",
              "url": "https://github.com/golang/text/commit/434eadcdbc3b0256971992e8c70027278364c72c"
            },
            {
              "type": "PACKAGE",
              "url": "https://github.com/golang/text"
            },
            {
              "type": "WEB",
              "url": "https://go.dev/cl/442235"
            },
            {
              "type": "WEB",
              "url": "https://go.dev/issue/56152"
            },
            {
              "type": "WEB",
              "url": "https://groups.google.com/g/golang-announce/c/-hjNw559_tE/m/KlGTfid5CAAJ"
            },
            {
              "type": "WEB",
              "url": "https://pkg.go.dev/vuln/GO-2022-1059"
            },
            {
              "type": "WEB",
              "url": "https://security.netapp.com/advisory/ntap-20230203-0006"
            }
          ],
          "severity": [
            {
              "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "type": "CVSS_V3"
            }
          ],
          "summary": "golang.org/x/text/language Denial of service via crafted Accept-Language header",
          "withdrawn": false
        },
        {
          "affected": [
            {
              "package": {
                "ecosystem": "Go",
                "name": "golang.org/x/text",
                "purl": "pkg:golang/golang.org/x/text"
              },
              "ranges": [
                {}
              ],
              "severity": [],
              "versions": []
            }
          ],
          "aliases": [
            "CVE-2022-32149",
            "GHSA-69ch-w2m2-3vjp"
          ],
          "fixed_versions": [
            "0.3.8"
          ],
          "id": "GO-2022-1059",
          "max_severity": "unknown",
          "modified": "2026-02-04T03:39:03.311488Z",
          "published": "2022-10-11T18:16:24Z",
          "references": [
            {
              "type": "REPORT",
              "url": "https://go.dev/issue/56152"
            },
            {
              "type": "FIX",
              "url": "https://go.dev/cl/442235"
            },
            {
              "type": "WEB",
              "url": "https://groups.google.com/g/golang-announce/c/-hjNw559_tE/m/KlGTfid5CAAJ"
            }
          ],
          "severity": [],
          "summary": "Denial of service via crafted Accept-Language header in golang.org/x/text/language",
          "withdrawn": false
        },
        {
          "affected": [
            {
              "package": {
                "ecosystem": "Go",
                "name": "golang.org/x/text",
                "purl": "pkg:golang/golang.org/x/text"
              },
              "ranges": [
                {}
              ],
              "severity": [],
              "versions": []
            }
          ],
          "aliases": [
            "CVE-2026-56852"
          ],
          "fixed_versions": [
            "0.39.0"
          ],
          "id": "GO-2026-5970",
          "max_severity": "unknown",
          "modified": "2026-07-22T20:59:36.034292423Z",
          "published": "2026-07-14T17:29:56Z",
          "references": [
            {
              "type": "REPORT",
              "url": "https://go.dev/issue/80142"
            },
            {
              "type": "FIX",
              "url": "https://go.dev/cl/794100"
            }
          ],
          "severity": [],
          "summary": "Infinite loop on invalid input in golang.org/x/text",
          "withdrawn": false
        }
      ],
      "input": {
        "ecosystem": "golang",
        "name": "golang.org/x/text",
        "purl": "pkg:golang/golang.org/x/[email protected]",
        "version": "v0.3.7"
      },
      "status": "vulnerabilities_found",
      "summary": {
        "finding_count": 3,
        "kev_count": 0,
        "max_severity": "high"
      }
    },
    {
      "findings": [
        {
          "affected": [
            {
              "package": {
                "ecosystem": "Go",
                "name": "golang.org/x/text",
                "purl": "pkg:golang/golang.org/x/text"
              },
              "ranges": [
                {}
              ],
              "severity": [],
              "versions": []
            }
          ],
          "aliases": [
            "CVE-2022-32149",
            "GO-2022-1059"
          ],
          "fixed_versions": [
            "0.3.8"
          ],
          "id": "GHSA-69ch-w2m2-3vjp",
          "max_severity": "high",
          "modified": "2026-02-04T03:11:34.199431Z",
          "published": "2022-10-14T19:00:40Z",
          "references": [
            {
              "type": "ADVISORY",
              "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-32149"
            },
            {
              "type": "WEB",
              "url": "https://github.com/golang/go/issues/56152"
            },
            {
              "type": "WEB",
              "url": "https://github.com/golang/text/commit/434eadcdbc3b0256971992e8c70027278364c72c"
            },
            {
              "type": "PACKAGE",
              "url": "https://github.com/golang/text"
            },
            {
              "type": "WEB",
              "url": "https://go.dev/cl/442235"
            },
            {
              "type": "WEB",
              "url": "https://go.dev/issue/56152"
            },
            {
              "type": "WEB",
              "url": "https://groups.google.com/g/golang-announce/c/-hjNw559_tE/m/KlGTfid5CAAJ"
            },
            {
              "type": "WEB",
              "url": "https://pkg.go.dev/vuln/GO-2022-1059"
            },
            {
              "type": "WEB",
              "url": "https://security.netapp.com/advisory/ntap-20230203-0006"
            }
          ],
          "severity": [
            {
              "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "type": "CVSS_V3"
            }
          ],
          "summary": "golang.org/x/text/language Denial of service via crafted Accept-Language header",
          "withdrawn": false
        },
        {
          "affected": [
            {
              "package": {
                "ecosystem": "Go",
                "name": "golang.org/x/text",
                "purl": "pkg:golang/golang.org/x/text"
              },
              "ranges": [
                {}
              ],
              "severity": [],
              "versions": []
            }
          ],
          "aliases": [
            "CVE-2022-32149",
            "GHSA-69ch-w2m2-3vjp"
          ],
          "fixed_versions": [
            "0.3.8"
          ],
          "id": "GO-2022-1059",
          "max_severity": "unknown",
          "modified": "2026-02-04T03:39:03.311488Z",
          "published": "2022-10-11T18:16:24Z",
          "references": [
            {
              "type": "REPORT",
              "url": "https://go.dev/issue/56152"
            },
            {
              "type": "FIX",
              "url": "https://go.dev/cl/442235"
            },
            {
              "type": "WEB",
              "url": "https://groups.google.com/g/golang-announce/c/-hjNw559_tE/m/KlGTfid5CAAJ"
            }
          ],
          "severity": [],
          "summary": "Denial of service via crafted Accept-Language header in golang.org/x/text/language",
          "withdrawn": false
        },
        {
          "affected": [
            {
              "package": {
                "ecosystem": "Go",
…

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://dependency-risk.use.x402atlas.com/batch' \
  -H 'content-type: application/json' \
  --data-raw '{"packages":[{"purl":"pkg:golang/golang.org/x/[email protected]"},{"purl":"pkg:golang/golang.org/x/[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://dependency-risk.use.x402atlas.com/batch' \
  -H 'content-type: application/json' \
  --data-raw '{"packages":[{"purl":"pkg:golang/golang.org/x/[email protected]"},{"purl":"pkg:golang/golang.org/x/[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%2Fdependency-risk.use.x402atlas.com%2Fbatch&method=POST
const res = await pay("https://dependency-risk.use.x402atlas.com/batch", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "packages": [
      {
        "purl": "pkg:golang/golang.org/x/[email protected]"
      },
      {
        "purl": "pkg:golang/golang.org/x/[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://dependency-risk.use.x402atlas.com/batch",
        json={
            "packages": [
                {
                    "purl": "pkg:golang/golang.org/x/[email protected]",
                },
                {
                    "purl": "pkg:golang/golang.org/x/[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
41 min agoPassed402624 ms$0.01
5 h agoPassed402606 ms$0.01
9 h agoPassed402558 ms$0.01
13 h agoPassed402584 ms$0.01
17 h agoPassed402591 ms$0.01
21 h agoPassed402683 ms$0.01
25 h agoPassed402573 ms$0.01
29 h agoPassed402629 ms$0.01
32 h agoPassed402566 ms$0.01
36 h agoPassed402584 ms$0.01
39 h agoPassed402625 ms$0.01
43 h agoPassed402589 ms$0.01
47 h agoPassed402586 ms$0.01
2 days agoPassed402598 ms$0.01
2 days agoPassed402578 ms$0.01