# Wrangler TOML Configuration Auditor

> Wrangler TOML Configuration Auditor is a paid API for AI agents from x402-hono-api.inraby.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Audits a Cloudflare wrangler.toml file for production-unsafe settings, plaintext secrets in vars, risky route configurations, and missing observability.

## Facts

- Endpoint: POST https://x402-hono-api.inraby.workers.dev/api/v1/wrangler-config-audit
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wrangler-toml-configuration-auditor-f2174eda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z4jvbo_PK2-rfRliEyc3L

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 wrangler-toml-configuration-auditor-f2174eda -d '<json body>'
```

Example prompt: Can you audit this wrangler.toml for me and flag anything that's unsafe for production — like hardcoded secrets in vars, risky route patterns, or missing observability settings? Here's the file contents: [wrangler.toml contents]

## When to prefer this

Use this endpoint when you need automated pre-deployment security review of a Cloudflare Workers wrangler.toml, especially to catch hardcoded secrets, misconfigured routes, or missing observability before pushing to production. Prefer this over generic secret scanners when you specifically want Cloudflare Worker-aware analysis that understands wrangler.toml structure and production readiness patterns.

## Known failure modes

- Empty or missing wranglerToml field returns validation error
- Malformed TOML that cannot be parsed may return parse error
- Extremely large config files may time out
- Non-wrangler.toml content (e.g. wrong file type) may produce irrelevant or low-quality results

## How this service works

Audit a Cloudflare wrangler.toml for production-unsafe settings, plaintext secrets in vars, risky routes, and missing observability.

## Output

Returns a structured audit report identifying production-unsafe settings, plaintext or hardcoded secrets found in vars blocks, risky or overly-broad route configurations, and missing observability configurations in the submitted wrangler.toml file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "wranglerToml": {
   "type": "string",
   "description": "Full wrangler.toml contents"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wrangler-toml-configuration-auditor-f2174eda/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-hono-api.inraby.workers.dev](https://www.zero.xyz/host/x402-hono-api.inraby.workers.dev/llms.txt)
