# DepVet Package Risk Checker

> DepVet Package Risk Checker is a paid API for AI agents from depvet.imac2014ville.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-12).

Checks npm or PyPI packages for security vulnerabilities, malware, license risk, deprecation, and maintenance issues, returning an OK/REVIEW/AVOID verdict per package.

## Facts

- Endpoint: GET https://depvet.imac2014ville.workers.dev/batch?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/depvet-package-risk-checker-86f83ab0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LDYWyQqAvdAOGryy3pgWb

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 depvet-package-risk-checker-86f83ab0
```

Example prompt: Before I add these npm packages to the project, can you check if express, lodash, and left-pad are safe — no known vulnerabilities, malware, or license issues?

## When to prefer this

Use DepVet when you need a fast, structured, multi-signal risk verdict on npm or PyPI packages without setting up API keys — especially useful in agentic CI/CD workflows, pre-install checks, or when you want a single AVOID/REVIEW/OK signal that synthesizes CVEs, OpenSSF Scorecard, malware advisories, license risk, and typosquat detection in one call. Prefer this over manual OSV or Snyk lookups when you need batch results and a pay-per-use model with no subscription.

## Known failure modes

- Package not found in the specified ecosystem returns an error counted in the summary
- Invalid ecosystem value (not npm or pypi) causes a request failure
- More than 20 packages in a single batch exceeds the limit
- Payment failure via x402 prevents the request from being processed
- Malformed package name or version string may result in a lookup error

## How this service works

NPM supply chain attack and malicious package check for npm and PyPI: typosquat detection, dependency vulnerability scan (CVE/OSV), license check, OpenSSF Scorecard. OK/REVIEW/AVOID verdict before you install. No API key: pay USDC on Base per call via x402.

## Output

Returns a JSON object with a per-package verdict (OK, REVIEW, or AVOID), a summary count of each verdict category, an overall verdict for the batch, and the total number of packages checked. Each result includes the package name and its assessed risk level.

## 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ecosystem",
      "packages"
     ],
     "properties": {
      "packages": {
       "type": "string",
       "description": "Comma-separated name or name@version, max 20"
      },
      "ecosystem": {
       "enum": [
        "npm",
        "pypi"
       ],
       "type": "string",
       "description": "Package ecosystem"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "count": 3,
  "results": [
   {
    "name": "express",
    "verdict": "OK"
   }
  ],
  "summary": {
   "OK": 1,
   "AVOID": 1,
   "REVIEW": 1,
   "errors": 0
  },
  "ecosystem": "npm",
  "overallVerdict": "AVOID"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/depvet-package-risk-checker-86f83ab0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from depvet.imac2014ville.workers.dev](https://www.zero.xyz/host/depvet.imac2014ville.workers.dev/llms.txt)
