80trust / 100

Cve Scan

by cve-scan in Security & trust

x402 APIPassing, checked 3 h ago

Vulnerability scan for a software package by ecosystem, name and version, or by package-URL (purl). Queries OSV.dev for known advisories, collects their CVE ids and enriches them with NVD CVSS, CISA KEV and EPSS, then returns a prioritized list of advisories with exact fixed versions. Risk indicators, not advice.

GET https://api.agentstools.dev/cve/scan

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/cve/scan?ecosystem=PyPI&name=jinja2&version=2.4.1"
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%2Fapi.agentstools.dev%2Fcve%2Fscan
const res = await pay("https://api.agentstools.dev/cve/scan?ecosystem=PyPI&name=jinja2&version=2.4.1");
console.log(await res.json());

Example input

{
  "ecosystem": "PyPI",
  "name": "jinja2",
  "version": "2.4.1"
}

Example output

{
  "advisories": [
    {
      "cve_ids": [
        "CVE-2019-10906"
      ],
      "epss": {
        "percentile": 0.85,
        "probability": 0.02
      },
      "fixed_versions": [
        "2.10.1"
      ],
      "ghsa": "GHSA-462w-v97r-4m45",
      "kev": {
        "listed": false
      },
      "priority": {
        "band": "medium",
        "score": 41
      },
      "severity_label": "HIGH"
    }
  ],
  "advisory_count": 1,
  "query": {
    "ecosystem": "PyPI",
    "name": "jinja2",
    "version": "2.4.1"
  },
  "recommended_fix_versions": [
    "2.10.1"
  ],
  "sources": {
    "partial": false
  },
  "truncated": false
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40227 ms$0.02
7 h agoPassed40227 ms$0.02
10 h agoPassed40291 ms$0.02
14 h agoPassed40223 ms$0.02
18 h agoPassed40222 ms$0.02
21 h agoPassed40223 ms$0.02
26 h agoPassed40234 ms$0.02