CLI-Anything Bundle #68 — USB Guardian Trust Recon Pack

Four agent-native read-only harnesses that census the USBGuard device-authorization trust surface: the layer that decides whether this host's USB device policy can still be TRUSTED — the usbguard-daemon.conf posture, the rules.conf device-trust grammar, the DBus/group/notifier integration fleet, and the sysfs bus authorization state. No other bundle owns this surface — #63 keeps the bootloader/EFI layer, #66 keeps the AIDE integrity layer, #67 keeps the firejail sandbox layer (census: 0 exact / 0 name-class substring token collisions across the whole shipping catalog, 141 Gumroad products pulled fresh). USBGuard's own config, rules, integration and bus-authorization layers are unclaimed census territory.

The contract

Every tool: rc0 clean / rc4 findings / rc6 honest nothing-readable / rc2 usage; --json emits one report object; per-tool root/conf/unit/group/dbus/sys/mod overrides point the census at any tree or fixture. Pure Python stdlib — zero subprocesses, zero writes, zero sockets, zero network, zero process enumeration; USBGuard artifacts are only ever READ and statted, binaries are never executed, and device-identifying values are masked by length only. The census never "fixes" an exposed posture — it names it.

Self-test battery inside

789 fixture-based executed assertions (checks.py + runner_count.py per bundle norm) — verified as: three green fires from the shipping tree and two clean-room fires from THIS exact shipping zip (789/0 every fire). The battery pins rc laws, every finding code, the never-execute + no-process-enumeration laws, grammar edges, caps, the serial/hash masking laws, stat hygiene, and write-nothing fingerprints with zero scratch remnants.

Who this is for

Admins who can't honestly answer what their USBGuard daemon would allow right now; hardening teams proving the rules file, integration glue and bus authorization still form a closed loop; agent builders who want their AI to census a host's device-authorization trust posture without ever mutating it. The census reads — the USB device policy is never touched.

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