agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/osv/package
Open-source package vulnerability check via OSV.dev for npm, PyPI, Go, crates.io, Maven, RubyGems, NuGet, Packagist and more, by ecosystem+name+version, purl, or up to 10 purls. Useful before installing or upgrading a dependency. Returns vulnerable flag, count, CVE/GHSA aliases, CVSS score and severity, fixed versions and a verified upgradeTo version. Errors: 400 invalid input, 502 OSV unavailable
GET
https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/osv/packageUptime100% of 1 check 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://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/osv/package?ecosystem=npm&name=lodash&version=4.17.20");
console.log(await res.json());Example input
{
"ecosystem": "npm",
"name": "lodash",
"version": "4.17.20"
}