CLI-Anything Bundle #130 — osquery Endpoint Trust Recon Pack

osquerypeek — install + pack/database posture census: osqueryd, osqueryi and osqueryctl binaries stat-only (never executed), osquery.conf and osquery.flags with permissions and line counts, pack directories with every pack counted — pack bodies are never read, because a pack decides exactly what host state is collected and shipped off the box — plus the RocksDB database (counted and permission-checked, never opened), result-log dirs (size-only) and osquery units. Findings BARE_TOOL, CONF_PERM, PACK_WIDE (a writable pack silently changes collection scope), DB_WIDE, LOG_WIDE.

osqueryconfpeek — telemetry exposure census with a key scan that handles both JSON and flagfile styles: event collection state, pack wiring (inline and multi-line arrays both counted), logger plugin class, telemetry endpoint scheme (https / plain / absent), schedule splay percent, database path presence, watchdog, carver and distributed settings. Findings EVENTS_DISABLED, NO_PACKS, LOGGER_NULL, LOGGER_PLAIN, SPLAY_HIGH, DB_PATH_ABSENT, WATCHDOG_OFF, CONF_PERM.

Read-only by construction — no pack body read, no database opened, no query issued, nothing executed; endpoints are scheme classes and paths are presence rows (never printed). rc-law 0/4/6/3 with usage rc3, env overrides, and an honest alt-path fixture census on zero-surface hosts.

577 executed census checks (217 + 360), 0 failed, clean-room fired x2 from the exact shipping zip (/tmp room and home-path room, identical counts). 43 unit tests green (20 + 23). Python 3.8+ stdlib-only. MIT license.