CLI-Anything Bundle #96 — haproxy Load-Balancer Trust Recon Pack (4 New AI Agent Skills)
v1.0.0 · MIT · stdlib-only · read-only by construction
Four agent-native, read-only trust-recon CLI tools covering the HAProxy load-balancer trust surface — the layer that tells you whether a deployment's install, config grammar, stats-socket and backend/server-posture can still be TRUSTED (an operator whose haproxy binary, haproxy.cfg, stats sockets and backend server tables cannot be honestly censused has no load-balancer-trust story at all): the install + runtime posture layer, the config grammar layer, the stats/socket layer, and the backend/server posture layer. Each tool stats/globs binaries, configs and run-state and parses documented grammar line-based — nothing is ever executed, no haproxy binary is ever spawned, nothing is ever written, nothing networks, and no secret-shaped config value or backend hostname ever prints raw (CRED-PRESENT presence rows only; frontends/backends/servers ride FRONT1/BACK1/SERVER1 tokens; sockets ride SOCK1 tokens; real hosts ride HOST1 tokens; public doc shapes print).
- haproxypeek — HAProxy install + runtime posture census: exact haproxy binary stat-only across lookup dirs (TOOL_BIN presence row, BIN1 token, binaries NEVER executed); install-root census (INSTALL rows, /usr/sbin + /usr/bin probe); config-dir law (CONF_PERM on a loose config dir, CONF_MAIN_ABSENT when haproxy.cfg is missing); run-state pidfile (PID1 law, value never read); log mtime buckets; haproxy* systemd unit counts; honest rc6 with NOT_RUNNING; rc 0 clean / 4 findings / 6 nothing readable / 3 usage.
- haproxyconfpeek — HAProxy config grammar census: haproxy.cfg/*.cfg files (CONF rows, CONF1/CONF2 tokens, PERM class); LINE-BASED hand parser (NEVER a yaml or configparser module) over block + keyword census (global/defaults/frontend/listen/backend, bind/server/default_backend); UNK counted-never-carried; SECRET-VALUE BLACKOUT (CRED-PRESENT presence rows only); NO_ENTRY (no config file found) / NO_BIND findings; rc 0 / 4 / 6 / 3 law.
- haproxysockpeek — HAProxy stats/socket posture census: haproxy.cfg + .sock/.runtime artifact census (HOST1/SOCK1 token law; socket permission class rows); LINE-BASED grammar (stats socket/global/stats timeout, socket path + mode + level shapes); SOCK_PERM finding on a group/world-writable socket; NO_STATS_SOCKET honesty; rc 0 / 4 / 6 / 3 law.
- haproxybkpeek — HAProxy backend + server-posture census: haproxy.cfg backend/listen block census (BACK1/FRONT1 tokens, FRONT/BACK/server name shapes, public http frontends print, custom ride HOST1 tokens); balance key-presence rows (public roundrobin prints; custom ride ALGO1 tokens); server key-presence rows; DUPLICATE_SERVER finding on one backend listing two same-name servers; per-backend file counts capped to TRUNC rows; BACK_PERM; rc 0 / 4 / 6 / 3 law.
Read-only by construction — no binary is ever executed, nothing is ever written, nothing networks, and no secret-shaped value, backend hostname or socket path ever prints raw (values ride BIN1/CONF1/PID1/FRONT1/BACK1/SERVER1/SOCK1/HOST1/CRED-PRESENT class tokens only); MIT, stdlib-only, self-test batteries inside (928 executed checks across the four tools — 261 + 235 + 217 + 215 — fired three times at 0 failed, plus clean-room fires unpacked from this exact shipping zip — one /tmp room, one home-path room — 0 failed in both).