A vendor-neutral firmware/platform capability auditor for Linux hosts.
lamboot-capcheck probes what a machine's firmware and platform claim to
support, verifies which of those claims actually hold up, cross-references a
curated quirks database, and reports the result for humans or machines. It's
useful anywhere boot-readiness matters: bootloader installs, distro install
tooling, CI hardware validation, and fleet compliance.
cargo install lamboot-capcheckRequires Rust 1.88+. Linux only: It reads /sys, /proc, the ESP, and (with
--invasive) UEFI runtime variables.
lamboot-capcheck # full audit, human-readable
lamboot-capcheck --json # machine-readable
lamboot-capcheck verify secure-boot # a single domain
lamboot-capcheck verify firmware-id boot-mode --json # chained
lamboot-capcheck help secure-boot # per-domain help
lamboot-capcheck evidence-bundle out/ # capture a portable evidence bundle
lamboot-capcheck baseline-save b.json # snapshot; `baseline-diff` detects driftExit codes: 0 ok, 1 input error, 2 drift/finding (where applicable),
3 internal error.
Twelve firmware/platform domains:
secure-boot · shim-mok · tpm2 · acpi · uefi-runtime · boot-mode ·
cpu-platform · hypervisor · network-boot · storage-boot · firmware-id ·
dmi-quirks
plus standalone verification checks (BLS entries, ESP free space, LVM-thin
root, MOK/db consistency, cmdline drift, NVRAM round-trip, SBAT-in-EFI), and a
curated quirks database (quirks.d/) that flags known firmware/platform
gotchas with severity, impact, and remediation.
Human, JSON, markdown, and JUnit XML (for wiring boot-readiness into CI). Reports support output redaction, portable evidence bundles, and baseline snapshot/diff for drift detection.
| Feature | Default | Purpose |
|---|---|---|
smbios |
yes | SMBIOS/DMI decoding (smbios-lib) |
x509 |
yes | Secure Boot certificate parsing (x509-parser) |
lamboot-integration |
no | LamBoot-specific add-ons (derives lamboot-install flags from a report). Opt-in, so the default build is vendor-neutral. |
tpm |
no | Deep TPM 2.0 coverage via tss-esapi (planned, see ROADMAP) |
Early (v0.1.x), extracted from lamboot-tools into its own repository. See
ROADMAP.md for the test-hardening priority, the deeper TPM work,
and the plan to re-home the quirks database as an independent data source.
Licensed under either of MIT (LICENSE-MIT) or Apache-2.0 (LICENSE-APACHE) at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.