security_caddy_check
Caddyfile security audit — Audit a Caddy v2 Caddyfile offline. text= the Caddyfile. Checks the admin API bound off-localhost (CRITICAL) and without enforce_origin, auto_https off, debug, trusted_proxies 0.0.0.0/0, plain-HTTP sites, tls internal on public hosts, TLS 1.0/1.1 minimums and weak ciphers, insecure_skip_verify to upstreams, plain-HTTP public upstreams, file_server browse, root at system directories, basic_auth with non-bcrypt passwords or over HTTP, inline API tokens/DNS credentials (never echoed), public metrics, missing security headers (HSTS, nosniff, frame, referrer), Server header and access logs. Returns PASS/REVIEW/FAIL, a 0-100 score and findings with line, site and fix. Price: $0.006 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "security_caddy_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | { admin 0.0.0.0:2019 } example.com { file_server browse } |