Skip to content
Fourohtwo

1gateway.dev/v1/dev/vulnerabilities/batch

Use when an agent must scan a project's dependencies before install, upgrade or merge. Input: packages, up to 20 ecosystem:name@version, comma-separated (npm, pypi, go, cargo/crates.io, maven, nuget...). Output: JSON summary (vulnerable count, critical/high/moderate/low), per package vulnerable yes/no, counts, top advisories with CVE, severity, fixed versions, osv.dev links. Data: OSV.dev, CC BY 4

BaseMonadPolygonArbitrumSolanaAnswering
GEThttps://1gateway.dev/v1/dev/vulnerabilities/batch

Uptime100% of 3 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://1gateway.dev/v1/dev/vulnerabilities/batch?ecosystem=npm&packages=npm%3Alodash%404.17.15%2Cpypi%3Adjango%403.2.0");
console.log(await res.json());

Example input

{
  "ecosystem": "npm",
  "packages": "npm:lodash@4.17.15,pypi:django@3.2.0"
}