81trust / 100

Cve

by AgentUtility.ai in Security & trust

x402 APIPassing, checked 3 h ago

Looks up a CVE and returns the full NIST NVD vulnerability record. Short alias of cve-lookup: CVSS v3.1 + v2 vectors, severity, CWE class, affected CPE list, references, public-exploit indicator with reference URLs, and a bounded exploitability summary. Federal public data. Use it as a vulnerability lookup, NVD record fetch, CVSS scorer, vuln advisory fetch, exploit-known check, or patch-priority triage for Log4Shell-style records.

POST https://x402.agentutility.ai/cve

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
40 ms typical, 40 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 POST "https://x402.agentutility.ai/cve" \
  -H "content-type: application/json" \
  -d '{"cve_id":"CVE-2021-44228"}'
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.agentutility.ai%2Fcve
const res = await pay("https://x402.agentutility.ai/cve", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"cve_id":"CVE-2021-44228"}),
});
console.log(await res.json());

Example input

{
  "cve_id": "CVE-2021-44228"
}

Example output

{
  "affected_cpe_count": 612,
  "affected_cpes": [
    "cpe:2.3:a:apache:log4j:2.0:*:*:*:*:*:*:*"
  ],
  "cve_id": "CVE-2021-44228",
  "cvss_v2": {
    "base_score": 9.3,
    "severity": "HIGH"
  },
  "cvss_v3_1": {
    "base_score": 10,
    "base_severity": "CRITICAL",
    "vector_string": "CVSS:3.1/AV:N/..."
  },
  "cwe": [
    "CWE-20",
    "CWE-400",
    "CWE-502"
  ],
  "description": "Apache Log4j2 ... JNDI features ...",
  "exploit_references": [
    "https://github.com/.../log4shell-poc"
  ],
  "exploit_summary": "Remote code execution via JNDI lookups in user-controlled log strings...",
  "last_modified": "2025-04-03T01:03:51.193",
  "public_exploit_known": true,
  "published": "2021-12-10T10:15:00.000",
  "references": [
    {
      "source": "MISC",
      "url": "https://logging.apache.org/log4j/2.x/security.html"
    }
  ],
  "score": 10,
  "severity": "CRITICAL",
  "status": "Modified"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40240 ms$0.005