78trust / 100

Vuln Check

by data.japanagent.dev in Security & trust

x402 APIPassing, checked 2 h ago

Check an open-source package for known vulnerabilities via the OSV database (Google Open Source Vulnerabilities). Pass package name, ecosystem (npm, PyPI, Go, crates.io, Maven, RubyGems, etc.) and optional version. Returns vulnerability IDs, summaries, severity and fixed versions. Essential pre-install check for coding agents.

GET https://data.japanagent.dev/vuln/check

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://data.japanagent.dev/vuln/check?ecosystem=npm&package=lodash&version=4.17.15"
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%2Fdata.japanagent.dev%2Fvuln%2Fcheck
const res = await pay("https://data.japanagent.dev/vuln/check?ecosystem=npm&package=lodash&version=4.17.15");
console.log(await res.json());

Example input

{
  "ecosystem": "npm",
  "package": "lodash",
  "version": "4.17.15"
}

Example output

{
  "package": "lodash",
  "vuln_count": 2,
  "vulns": [
    {
      "id": "GHSA-p6mc-m468-83gw",
      "severity": "HIGH",
      "summary": "Prototype pollution in lodash"
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402564 ms$0.002
6 h agoPassed402822 ms$0.002
10 h agoPassed4021.2 s$0.002
13 h agoPassed402512 ms$0.002
17 h agoPassed402498 ms$0.002
20 h agoPassed402719 ms$0.002
24 h agoPassed402599 ms$0.002
28 h agoPassed402417 ms$0.002
31 h agoPassed402728 ms$0.002
37 h agoPassed402576 ms$0.002