$ man production-readiness-score
/production-readiness-score
PRICE / CALL
$0.10
USDC · base mainnet · scheme: exact
──────────────────────────────────────────────────────────────────────────────
NAME
production-readiness-score — composite: one call runs secrets-exposure-check, deploy-config-risk, db-migration-risk, dep-risk-summary, and prompt-injection-surface in…
SYNOPSIS
POST https://x402.agentutility.ai/production-readiness-score
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION
Composite: one call runs secrets-exposure-check, deploy-config-risk, db-migration-risk, dep-risk-summary, and prompt-injection-surface in parallel and rolls the results into one production-readiness verdict for a repo. Send either {repo: 'owner/name'} or {files: [{path, content}]}, with optional weights (each component in [0, 0.5], normalized) and max_findings (default 10, cap 50) to tune the output. Returns a composite score 0-100, a production_grade (production-ready, needs-review, risky, or do-not-ship), per-component sub-scores, deduped findings ranked by severity and score_contribution, and a plain-English summary naming the most acute risks. Use it as an AI app deploy gate, one-call repo audit, pre-deploy risk scan, or vibe-coded app safety check before shipping code an LLM wrote.
OUTPUT — response shape
| field | type | description |
|---|
| score | number | Weighted composite production-readiness score from 0-100 across all 5 Prooflayer component scanners. |
| risk_level | string | Risk bucket derived from the composite score (e.g. low, medium, high, critical). |
| production_grade | string | Deploy verdict: production-ready, needs-review, risky, or do-not-ship. |
| component_scores | object | Per-scanner sub-scores keyed by component (secrets, migrations, deps, deploy, prompt). |
| weights_used | object | Actual weights applied per component after normalization, defaults or caller overrides. |
| findings | array | Top-N deduped findings sorted by severity and score_contribution, capped by max_findings (default 10). |
| signals | object | Raw per-component signal counts and flags (e.g. secrets found, risky migrations, vulnerable deps). |
| summary | string | Venice plain-English verdict explaining the grade and the biggest risks to fix before shipping. |
| metadata | object | Run metadata: repo or file count, components called, latency per scanner, and weights source. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/production-readiness-score \
-H 'Content-Type: application/json' \
-d '{ }'first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>
# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...
# Then call the production-readiness-score tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- securityproduction-readinessauditai-safetyprooflayer
- env
- VENICE_API_KEY
- methods
- POST
- cluster
- prooflayer
- price
- $0.10 USDC per call
ADJACENT — other endpoints in prooflayer
| endpoint | description | price |
|---|
| vendor-questionnaire-draft | Drafts vendor security questionnaire answers from evidence you supply. | $0.08 |
| ai-content-detector | Detect AI-generated writing with a calibrated probability score. | $0.03 |
| dep-risk-summary | Scores dependency risk for a whole repo from its manifests and lockfiles. | $0.03 |
| github-repo-health | Score how healthy and maintained an open-source GitHub repo is. | $0.03 |
| package-risk-npm | Scores supply-chain risk for an npm package before you install it. | $0.03 |
| prompt-injection-surface | Scans AI app source code for prompt injection risk at LLM call sites. | $0.03 |
| ai-image-detector | AI-generated image detector: send an image URL and get back a calibrated probability that the image is AI-generated or synthetic, plus th… | $0.02 |
| app-store-rejection-explain | Explains App Store and Google Play rejections and turns them into a resubmission plan. | $0.02 |