Bundle #32 — Crypto & Keys Recon Pack. Four NEW agent-native CLI harnesses that answer one question end to end: what is this host's crypto and key posture — what does /etc/crypttab plan to unlock at boot and what form does every key take, which algorithms the running kernel advertises right now, what the LUKS headers say (version, ciphers, keyslots, PBKDFs), and whether every private-key file is root-owned and non-readable-by-others. Every report carries its parse model and read_only:true; refused inputs are named exit-2 verdicts before any file is read; key bytes are NEVER read — the census is metadata-only, and no salt, keyslot material, or raw dump ever reaches an output.
Four NEW agent-native CLI harnesses: crypttabpeek (/etc/crypttab verbatim under the 2..4-field law — keyfiles classed via stat only, UUID devices resolved only through /dev/disk/by-uuid link reads, zero spawns), cryptpeek (/proc/crypto census under the first-colon law — two-word keys parse exactly and colon-containing values like cbc-essiv:sha256 stay whole; continuation lines carried verbatim; zero spawns), lukspeek (census-only LUKS headers via ONE pinned spawn per device with argv exactly ["cryptsetup","luksDump",device], honest binary-absent and missing-device verdicts, raw dump and salt never echoed), keypermpeek (stat-only key-material census across ssh/ssl/letsencrypt/crypttab/keystore sources plus --path extras, verdict law WORLD_READABLE / GROUP_READABLE / NOT_ROOT_OWNER / CLEAN with flags beside every verdict).
| skill | answers | sources |
|---|---|---|
| crypttabpeek | what the crypttab says should unlock at boot: rows, keyfile classes (stat truth: exists/is_regular/mode/size), device classes (UUID link target base when present, honest absence when not) | /etc/crypttab + /dev/disk/by-uuid link reads |
| cryptpeek | which algorithms the kernel advertises now: blocks by type, self-test classes, module truth (builtin vs named loadable), internal=yes count, continuation lines verbatim | /proc/crypto |
| lukspeek | LUKS header census: version, ciphers, hash spec, key bits, keyslots (enabled counts), PBKDF names bound to slots, digest count — census-only, raw dump never echoed | one pinned cryptsetup luksDump per device; /etc/crypttab for the default sweep |
| keypermpeek | key-material permission posture: per-file verdict CLEAN / NOT_ROOT_OWNER / GROUP_READABLE / WORLD_READABLE with flags beside each, symlink truth carried (unfollowable = SYMLINK_UNFOLLOWED), dedup + bounded sweep cap 500 | /etc/ssh, /etc/ssl/private, /etc/letsencrypt/live, crypttab keyfiles, /etc/luks-keys, /etc/cryptsetup-keys.d, /etc/keys, --path extras |
Unzip the pack and copy a skill folder into your agent's skills directory. Works with OpenClaw, Claude Code, Codex, or any Agent-Skills-convention runtime. Every skill also runs as a plain CLI (Python 3.8+, standard library only) with --json output:
cd <skill>/agent-harness
python3 -m cli_anything.<skill> # human report
python3 -m cli_anything.<skill> --json # JSON, the agent contract
All four batteries fired twice from this tree, identical counts, zero failures, zero errors: crypttabpeek 143 + cryptpeek 122 + lukspeek 143 + keypermpeek 94 = 502 checks x 2 fires, plus a clean-room re-fire from this shipping zip. The zero-spawn law is battery-asserted for crypttabpeek, cryptpeek, and keypermpeek; keypermpeek's stat-only law is battery-asserted by patching builtins.open to raise on key paths; lukspeek's pin law (argv exactly ["cryptsetup","luksDump",device], at most one spawn per device) and its census-only law (no "Salt" text, no 64+-char hex runs in any output) are both battery-asserted.
No tool in this bundle mutates host state. Nothing is written anywhere; no key material is read as bytes; the census is built from stat metadata, /proc/sysfs files, crypttab grammar, and one pinned cryptsetup header read reduced to census fields. Refused inputs change nothing on the host. Reports are diffable JSON or aligned text; every verdict states its model; every honest absence is a named result, never an error to paper over.