CLI-Anything Bundle #74 — LXC Container Trust Recon Pack

Four agent-native read-only harnesses that census the LXC container trust surface: the layers that decide whether your container platform's isolation story can still be TRUSTED — the install + service trust posture (binaries statted never executed, helper dirs, unit posture, population, run locks), the config grammar + drop-in layer (lxc.* key classes, include law, cap/apparmor/seccomp/idmap stances), the container population + runtime census (staleness buckets, snapshot/lock classes, cgroup name classes, orphan drift laws), and the per-container containment census under a strict class-token cap (UNCONFINED_PROFILE / PRIVILEGED_HINT / PIVOT_LEGACY). No other bundle owns this surface — #53 keeps the audit-rules layer, #63 the bootloader/EFI layer, #66 the AIDE integrity layer, #67 the firejail sandbox layer, #68 the USBGuard device-authorization layer, #69 the rootkit/malware-detection layer, #70 the watchdog keepalive layer, #71 the ZeroTier mesh layer, #72 the dnsmasq DNS/DHCP layer, #73 the dovecot mail-server layer (census: 0 exact / 0 name-class substring token collisions across the whole shipping catalog, 146 Gumroad products pulled fresh). The LXC container-trust layer is unclaimed census territory.

The contract

Every tool: rc0 clean / rc4 findings / rc6 honest nothing-readable / rc3 usage; --version prints exactly 1.0.0 (CLI-Anything Bundle #74) and exits 0; --json emits one report object per tool. Pure Python stdlib — zero subprocesses, zero writes, zero sockets, zero network, zero process enumeration; config surfaces, run dirs and population paths are read and statted once, and nothing is ever executed. Container names are NEVER harvested in census modes — counts and shape classes only. Config VALUES ride CLASS tokens only; paths print as presence rows. The census never descends container rootfs filesystems and never reads file contents beyond the documented config-grammar parses. The census never touches your containers — it names the posture.

Self-test battery inside

836 fixture-based executed assertions (checks.py + runner_count.py per bundle norm) — verified as: three green fires from the shipping tree (836/0 every fire) and two clean-room fires from THIS exact shipping zip (836/0 every fire; sha256 e56d702fde99205e648a00048282c21d6d8d8c8c29039bcd0891da53f4931a27), one unpack under /tmp and one under a home path — the ship-set battery verifies the 9-file tree from ANY unzip location — plus real-host smoke fires of all four tools (contract-consistent honest census on a host with no LXC: all-absent posture rows + rc6 where the tool's key surfaces are all absent / rc3 usage). The battery pins rc laws, every finding code, the never-execute / never-open-socket / never-harvest-names laws, grammar edges, caps, masking laws, stat hygiene, and write-nothing fingerprints with zero scratch remnants.

Who this is for

Admins who can't honestly answer whether their LXC container trust story still holds on this host; hardening teams proving install posture, config grammar, population/runtime posture and per-container containment knobs still form a closed loop; agent builders who want their AI to census a container host's trust surface without ever executing a binary, opening a socket, or harvesting a container name. The census reads — your containers are never touched.

MIT licensed · Python 3.8+ · 40 files · stdlib-only