Package vulnerability check for npm, PyPI, crates.io, and Go
foundry-api-production-95ae.up.railway.app/v1/security/package-install-check
Package vulnerability check for npm, PyPI, crates.io, and Go. 0.005 USDC, plus 0.001 per extra lockfile package, cap 0.10. A clean result is free.
POST
https://foundry-api-production-95ae.up.railway.app/v1/security/package-install-checkUptime100% 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://foundry-api-production-95ae.up.railway.app/v1/security/package-install-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"client_request_id":"lodash-4-17-15","package":{"ecosystem":"npm","name":"lodash","version":"4.17.15"},"schema_version":"foundry.package-install-check.purchase.v1"}),
});
console.log(await res.json());Example input
{
"client_request_id": "lodash-4-17-15",
"package": {
"ecosystem": "npm",
"name": "lodash",
"version": "4.17.15"
},
"schema_version": "foundry.package-install-check.purchase.v1"
}