# Ambolt Package Vulnerability Scanner

> Ambolt Package Vulnerability Scanner is a paid API for AI agents from api.ambolt.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Checks an npm or PyPI package for known security vulnerabilities, deprecation status, and latest version info sourced from OSV.dev

## Facts

- Endpoint: GET https://api.ambolt.dev/v1/package-vulnerabilities?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ambolt-package-vulnerability-scanner-963d761e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pQWeZ5xGKBCiYKdrQaqc-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ambolt-package-vulnerability-scanner-963d761e
```

Example prompt: Check if lodash version 4.17.20 on npm has any known security vulnerabilities and tell me what severity they are and which version fixes them.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call programmatic vulnerability check for a specific npm or PyPI package without setting up a full security scanning pipeline. It's ideal for AI agents doing pre-install checks, CI gatekeeping, or auditing individual dependencies on demand. Prefer it over running local tools (e.g. npm audit) when operating in a serverless or agent context without local package install access. The OSV.dev data source covers a broad range of CVEs and GitHub Security Advisories.

## Known failure modes

- Invalid package name format — returns error if name doesn't match allowed pattern
- Package not found in the specified ecosystem — may return empty results or error
- Version string doesn't exist — endpoint may fall back to latest or return an error
- Unsupported ecosystem value — only 'npm' and 'PyPI' are accepted
- Transient OSV.dev upstream unavailability — may cause delayed or failed responses
- Payment failure (x402) — call not executed if USDC payment not settled

## How this service works

Pay-per-call data tools for developers and AI agents: company registers, documents, tenders, rates and on-chain facts as MCP tools, x402 endpoints and Apify Actors.

## Output

Returns a JSON object containing the checked package name, ecosystem, checked version, latest published version, whether the checked version is the latest, a deprecation notice if applicable, a list of vulnerabilities (each with GHSA/CVE IDs, summary, severity, published date, and first fixed version), a total vulnerability count, the data source attribution, and the timestamp of the check.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ]
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ecosystem",
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "pattern": "^[@A-Za-z0-9._/-]+$",
       "maxLength": 214,
       "description": "Package name, e.g. lodash or requests."
      },
      "version": {
       "type": "string",
       "pattern": "^[A-Za-z0-9._+-]+$",
       "maxLength": 64,
       "description": "Version to check. Default: latest published version."
      },
      "ecosystem": {
       "enum": [
        "npm",
        "PyPI"
       ],
       "type": "string",
       "description": "Package ecosystem."
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "lodash",
  "source": "Source: OSV.dev (CC BY 4.0 for most data) and the package registry. Not a complete audit: unreported issues are not listed.",
  "isLatest": false,
  "checkedAt": "2026-10-02T21:35:48.558Z",
  "ecosystem": "npm",
  "deprecated": null,
  "latestVersion": "4.18.1",
  "checkedVersion": "4.17.20",
  "vulnerabilities": [
   {
    "id": "GHSA-29mw-wpgm-hmr9",
    "url": "https://osv.dev/vulnerability/GHSA-29mw-wpgm-hmr9",
    "aliases": [
     "CVE-2020-28500"
    ],
    "summary": "Regular Expression Denial of Service (ReDoS) in lodash",
    "severity": "MODERATE",
    "published": "2022-01-06T20:30:46Z",
    "firstFixedVersion": "4.17.21"
   },
   {
    "id": "GHSA-35jh-r3h4-6jhm",
    "url": "https://osv.dev/vulnerability/GHSA-35jh-r3h4-6jhm",
    "aliases": [
     "CVE-2021-23337",
     "CVE-2026-4800",
     "GHSA-r5fr-rjxr-66jc"
    ],
    "summary": "Command Injection in lodash",
    "severity": "HIGH",
    "published": "2021-05-06T16:05:51Z",
    "firstFixedVersion": "4.17.21"
   },
   {
    "id": "GHSA-f23m-r3pf-42rh",
    "url": "https://osv.dev/vulnerability/GHSA-f23m-r3pf-42rh",
    "aliases": [
     "CVE-2025-13465",
     "CVE-2026-2950",
     "GHSA-xxjr-mmjv-4gpg"
    ],
    "summary": "lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`",
    "severity": "MODERATE",
    "published": "2026-04-01T23:50:27Z",
    "firstFixedVersion": "4.18.0"
   }
  ],
  "vulnerabilityCount": 5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ambolt-package-vulnerability-scanner-963d761e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ambolt.dev](https://www.zero.xyz/host/api.ambolt.dev/llms.txt)
