CLI-Anything Bundle #82 — BPF Program Trust Recon Pack

Four agent-native, read-only trust-recon CLI tools for the Linux eBPF program trust surface — the layers that decide whether a box's BPF story can still be TRUSTED: the BPF toolchain + BPF-filesystem mount posture census (bpftool/tc binaries statted — never executed — /proc/mounts fstype classes, unprivileged_bpf_disabled posture, /sys/fs/bpf pinroot one level deep stat-only), the pinned-program artifacts + loader-unit census (bpf*/tc loader unit presence + drop-in counts, depth-limited stat-only pin walk, program objects sniffed to the 4-byte ELF magic only), the map-declaration grammar + pinned-map posture census (map NAME { / NAME: decl grammar, public map-type vocabulary, max_entries/key_size/value_size bounded shapes, pin-root stat-only census), and the program-source / struct / section / license grammar census (SEC() attach vocabulary, struct presence rows, bpf_map_def + .maps counts, GPL/DUAL-MIT-BSD license law). Each tool reads documented surfaces and stats what it must never open — and nothing is ever executed, no pinned node is ever opened (pinned nodes belong to the kernel's map objects), nothing networks, and no credential value, raw kernel address, hostname or serial ever prints (values ride BIN1/TOKEN1/UNIT1/PROG1/MAP1/CONF1/OBJ1/SRC1/SEC1/ADDR1/HOST1 class tokens only).

The contract

Every tool: rc0 clean / rc4 findings / rc6 honest nothing-readable / rc3 bad usage (argparse subclass law); --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. python3 -m cli_anything.<tool> [--json] with per-tool BPF* env overrides (see each SKILL.md). Pure Python stdlib — zero spawned lines, zero writes, zero network; binaries are name-searched and statted once, pinned nodes stat/listdir only, object content is read only to the ELF magic, and nothing is ever executed. No BPF tool binary is ever run (tc is the classic loader path and stays unpulled); no pinned node is ever opened (they belong to the kernel); no credential value, raw kernel address, hostname, IP or serial is ever printed (BIN1/UNIT1/PROG1/MAP1/CONF1/OBJ1/SRC1/SEC1/ADDR1/HOST1 class tokens only). The census never "fixes" a posture — it names it.