Look up a vulnerability by CVE or GHSA id (NVD
agentsvc.io/api/v1/proxy/cve-lookup
Look up a vulnerability by CVE or GHSA id (NVD: description, CVSS score and vector, CWE, CISA known-exploited flag; OSV: affected packages and fixed versions) or check a package version for known vulnerabilities via OSV.dev (npm, PyPI, Maven, Go, crates.io, RubyGems, NuGet, Packagist, Debian ...). Params: cve_id, or package + ecosystem (+ version, recommended), limit (default 20).
POST
https://agentsvc.io/api/v1/proxy/cve-lookupUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agentsvc.io/api/v1/proxy/cve-lookup", {
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"
}