Deterministic supply-chain risk verdict for a Python (PyPI) package before you install it: a 0-100 score, grade A-F, and verdict SAFE / CAUTION / DANGER from live PyPI metadata, OSV.dev vulnerability data (Chainguard/Wolfi CGA records excluded), and CISA KEV / FIRST EPSS exploit signal. No LLM. One call = one package. This is not a source-code audit and not a guarantee of safety.
| Endpoint | Price | Description |
|---|---|---|
GET /v1/verdict?package= | $0.01 USDC | Score 0-100, grade A-F, verdict SAFE/CAUTION/DANGER, vulnerability list (CVE + severity + fixed-in), exploit signal, package health |
GET /v1/example?package=requests | free | Static sample of the verdict response shape (no payment, no upstream call) |
GET /pay | $0.01 USDC | Pay-from-browser page: connect your wallet extension and pay to see a live verdict (same-origin, no CORS) |
GET /gateway-balance?address= | free | Saldo Gateway USDC (yang sudah di-deposit) untuk satu alamat — yang dipakai settle, bukan saldo wallet biasa |
GET /health | free | Health check |
GET /.well-known/x402 | free | x402 payment manifest for crawlers (/v1/verdict, both payment rails) |
GET /openapi.json | free | OpenAPI 3.1 specification |
GET /docs | free | This page |
GET /skill.md | free | Agent skill — instructions for AI agents (endpoints, payment flow, scoring) |
GET /llms.txt | free | llms.txt link index for crawlers and agents |
GET /pricing.md | free | Pricing table — paid endpoints, atomic amounts, rails, settlement |
package: PyPI package name, max 100 characters (alias name). version: optional version to assess (defaults to the latest release on PyPI; must exist in the package's releases, otherwise 400). ecosystem: optional, only pypi in v1. Invalid parameters return 400 before any payment is requested, so you never pay for a bad request. A package that does not exist on PyPI returns 404 (no payment settled).
Paid endpoints return 402 Payment Required when called unpaid, with a PAYMENT-REQUIRED header containing a base64 x402 v2 envelope. The envelope offers two payment rails on Base (eip155:8453) in USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) to 0xcbc0337a3955d270cf3b49733a9c03d0af06dc29 — pick either accept: (1) Circle Gateway (batched settlement, facilitator https://gateway-api.circle.com, accept extra.name is GatewayWalletBatched); (2) standard x402 exact (facilitator https://x402.org/facilitator, accept extra.name is USD Coin with version 2, the token's own EIP-712 domain). Then repeat the request with the payment-signature header set to the base64 payment payload; a successful call returns 200 plus a PAYMENT-RESPONSE header with the settlement receipt. A manifest of the paid routes is published at /.well-known/x402 for crawlers. Settlement happens exactly once and only after the verdict is computed successfully — if an upstream fails, the call returns 502 and nothing is settled.
Halaman /pay menampilkan saldo Gateway (USDC yang sudah di-deposit) dan menyediakan kartu deposit bila saldo kurang — yang dipakai settle adalah saldo Gateway, bukan saldo USDC di wallet biasa.
curl "https://package-verdict.omnifracturedrifter.workers.dev/v1/verdict?package=requests" # -> 402, PAYMENT-REQUIRED header holds the x402 envelope (accepts[])
Score 0-100 = vulnerabilities 45 + exploit signal 20 + package health 25 + hygiene 10. Grades: A ≥ 80, B ≥ 65, C ≥ 50, D ≥ 35, F < 35. Verdict: SAFE ≥ 65, CAUTION 35-64, DANGER < 35. Worst-severity cap: if any vulnerability affecting the assessed version is CRITICAL (CVSS ≥ 9.0) the total is capped at 49; if the worst is HIGH (7.0-8.9) the total is capped at 64 — a severe known vulnerability is never hidden by good scores elsewhere (the response carries capped: true and cap when this applies).
Severity resolution: CVSS v3.1 base score computed from the vector (official FIRST formula); else the record's database_specific.severity label (CRITICAL 9.5 / HIGH 8.0 / MODERATE 5.5 / LOW 2.0); a CVSS v4.0-only vector without a label counts as unknown severity (documented v1 limitation). Chainguard/Wolfi records (IDs starting CGA-, CC-BY-NC-ND) are always excluded.
PyPI or OSV unreachable → 502, nothing settled. KEV or EPSS unreachable → verdict still computed with a neutral exploit component (12/20) and a degraded entry. Results are cached 1 hour per package+version; a stale copy (up to 24h) is served if upstreams fail after a verdict was cached.
Data: PyPI (pypi.org), OSV.dev (CC-BY 4.0 / CC0 / CC-BY-SA 4.0 per source; CGA records excluded), CISA Known Exploited Vulnerabilities catalog (CC0), FIRST EPSS (free, attribution requested). This product uses the NVD-derived severity data carried by OSV records but is not endorsed or certified by the NVD.
Questions or issues: lord4irdrop@gmail.com. OpenAPI spec: /openapi.json.