systemcheck is a system health check tool for Kicksecure and Whonix. It runs a series of diagnostic functions and reports results via CLI and GUI (msgcollector).
- Shell scripts in
usr/libexec/systemcheck/with a.bshfile name extension are sourced by the mainsystemcheckscript. preparation.bsh'spreparationfunction is run before any other checks, and provides shared helpers.updatecheckis a related tool that checks for available package updates.- The
canarysystem (including thecanary-downloadPython script) fetches and verifies Kicksecure's warrant canary. It runs as usercanaryunder AppArmor confinement. log-checkeris a standalone bash script invoked vialeaprun(privilege escalation wrapper).- Configuration is sourced from
/etc/systemcheck.d/*.confand/usr/local/etc/systemcheck.d/*.conf.
See agents/security.md.