CLI-Anything Bundle #69 — Rootkit & Malware Trust Recon Pack

Four agent-native read-only harnesses that census the rootkit & malware-detection trust surface: the layers that decide whether this host's malware-detection tooling itself can still be TRUSTED — the rkhunter config/DB/log posture, the chkrootkit config/cron/log posture, the Lynis profile/report posture, and the ClamAV daemon/freshclam/DB posture. 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 (census: 0 exact / 0 name-class substring token collisions across the whole shipping catalog, 141 Gumroad products pulled fresh). The rootkit/malware detection-tooling layer (rkhunter, chkrootkit, lynis, clamav) is unclaimed census territory.

The contract

Every tool: rc0 clean / rc4 findings / rc6 honest nothing-readable / rc2 usage; --json emits exactly one report object with the keys data/findings/notes/rc/summary/tool; the default mode prints one human summary line plus capped findings rows. Pure Python stdlib — zero subprocesses, zero writes, zero sockets, zero network, zero process enumeration; configs, logs and DB dirs are read and statted once, and nothing is ever executed. The census never "fixes" an exposed posture — it names it.

Self-test battery inside

893 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 (893/0 every fire). The battery pins rc laws, every finding code, the never-execute + no-process-enumeration 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 rootkit detector or antivirus tooling can still be trusted on this host; hardening teams proving configs, DBs, cron glue and DB freshness still form a closed loop; agent builders who want their AI to census a host's detection-trust posture without ever mutating it. The census reads — your detection tooling is never touched.

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