Package vulns
Package vulnerability check. Takes an ecosystem, name and optional version, a purl, or up to 25 packages (npm, PyPI, Go, crates.io, Maven, RubyGems, NuGet and more); returns known OSV.dev advisories with GHSA and CVE ids, severity, CVSS score, fixed versions, a malicious-package flag and the lowest version that clears them where known. Use to screen dependencies. Typical response under 2 s. Failed calls are not charged.
Try one call free
5 free calls a day per address, no payment. Demo inputs travel in the web address, which logs can record, so use the paid route for anything private.
The result appears here.
Example
Request body for POST /v1/package-vulns:
{
"ecosystem": "npm",
"name": "lodash",
"version": "4.17.15"
}
Response:
{
"checked": 1,
"vulnerable_count": 1,
"highest_severity": "HIGH",
"packages": [
{
"ecosystem": "npm",
"name": "lodash",
"version": "4.17.15",
"version_checked": "4.17.15",
"vulnerable": true,
"vuln_count": 5,
"highest_severity": "HIGH",
"malicious": false,
"upgrade_to": "4.18.0",
"truncated": false,
"vulns": [
{
"id": "GHSA-r5fr-rjxr-66jc",
"aliases": [
"CVE-2026-4800"
],
"summary": "lodash vulnerable to Code Injection via `_.template` imports key names",
"severity": "HIGH",
"cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cvss_score": 8.1,
"fixed_in": [
"4.18.0"
],
"url": "https://github.com/advisories/GHSA-r5fr-rjxr-66jc",
"published": "2026-04-01T23:51:12Z",
"modified": "2026-10-17T02:56:15.633068434Z"
},
{
"id": "GHSA-p6mc-m468-83gw",
"aliases": [
"CVE-2020-8203"
],
"summary": "Prototype Pollution in lodash",
"severity": "HIGH",
"cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H",
"cvss_score": 7.4,
"fixed_in": [
"4.17.19"
],
"url": "https://github.com/advisories/GHSA-p6mc-m468-83gw",
"published": "2020-07-15T19:15:48Z",
"modified": "2025-08-12T21:56:17.174859Z"
},
{
"id": "GHSA-35jh-r3h4-6jhm",
"aliases": [
"CVE-2021-23337"
],
"summary": "Command Injection in lodash",
"severity": "HIGH",
"cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"cvss_score": 7.2,
"fixed_in": [
"4.17.21"
],
"url": "https://github.com/advisories/GHSA-35jh-r3h4-6jhm",
"published": "2021-05-06T16:05:51Z",
"modified": "2026-10-17T02:55:38.085813876Z"
},
{
"id": "GHSA-xxjr-mmjv-4gpg",
"aliases": [
"CVE-2025-13465"
],
"summary": "Lodash has Prototype Pollution Vulnerability in `_.unset`, `_.omit`, and `_.pullAt` functions",
"severity": "MODERATE",
"cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L",
"cvss_score": 6.5,
"fixed_in": [
"4.17.23"
],
"url": "https://github.com/advisories/GHSA-xxjr-mmjv-4gpg",
"published": "2026-01-21T23:01:22Z",
"modified": "2026-11-04T03:15:10.832238351Z"
},
{
"id": "GHSA-29mw-wpgm-hmr9",
"aliases": [
"CVE-2020-28500"
],
"summary": "Regular Expression Denial of Service (ReDoS) in lodash",
"severity": "MODERATE",
"cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"cvss_score": 5.3,
"fixed_in": [
"4.17.21"
],
"url": "https://github.com/advisories/GHSA-29mw-wpgm-hmr9",
"published": "2022-01-06T20:30:46Z",
"modified": "2025-09-29T21:12:31.102523Z"
}
]
}
],
"checked_at": "2026-10-22T09:00:00+00:00",
"source": "OSV.dev",
"attribution": "Vulnerability data from OSV.dev (https://osv.dev), which aggregates the GitHub Advisory Database (CC BY 4.0, https://github.com/advisories), the PyPI Advisory Database (CC BY 4.0), the Go Vulnerability Database (CC BY 4.0), the Python Software Foundation and Erlang EEF advisory databases (CC BY 4.0), OSS-Fuzz (CC BY 4.0), RustSec (CC0 1.0), OpenSSF Malicious Packages (Apache 2.0) and the R Consortium Advisory Database (Apache 2.0). Records are filtered and summarised by Quant Agent Shop; see each finding's link for the original. Licences: https://creativecommons.org/licenses/by/4.0/ and https://www.apache.org/licenses/LICENSE-2.0 . Provided as is, without warranty.",
"notice": "A screening aid from public advisory data: no record is not proof a package is safe.",
"provenance": {
"sources": [
{
"url": "https://api.osv.dev/v1/querybatch",
"retrieved_at": "2026-10-22T09:00:00+00:00"
},
{
"url": "https://api.osv.dev/v1/query",
"retrieved_at": "2026-10-22T09:00:00+00:00"
}
],
"freshness": "read live and cached up to 1 hour"
}
}
Call it with x402
Any x402 client works: call, read the price in the 402, pay, call again. With curl you see the terms:
curl -i -X POST https://quantagentshop.com/v1/package-vulns \
-H 'content-type: application/json' \
-d '{"ecosystem": "npm", "name": "lodash", "version": "4.17.15"}'
HTTP/1.1 402 Payment Required
PAYMENT-REQUIRED: (the terms below, base64)
{"x402Version": 2, "error": "payment_required", "accepts": [{"scheme": "exact", "network": "eip155:8453", "amount": "9900", "payTo": "0x4d8d8D4f04512029172e0176744Eec4AE5238309", ...}], ...}
# amount is in millionths of a USDC. Pay one of accepts, then send the same request again with the PAYMENT-SIGNATURE header.
In JavaScript, @x402/fetch pays and retries for you:
// npm install @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const signer = privateKeyToAccount(process.env.EVM_PRIVATE_KEY); // a wallet holding a little USDC
const client = new x402Client().register("eip155:*", new ExactEvmScheme(signer));
const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const res = await fetchWithPayment("https://quantagentshop.com/v1/package-vulns", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"ecosystem": "npm", "name": "lodash", "version": "4.17.15"}),
});
console.log(await res.json());
Use it over MCP
Add the remote MCP server, then call quantagentshop_package_vulns. The free quantagentshop_quote
tool gives the price and pay-to address and checks your arguments before you pay.
{
"mcpServers": {
"quantagentshop": {
"url": "https://quantagentshop.com/mcp"
}
}
}
Terms, privacy and sources are on the policies page; live figures on the status page.