balo-immune v2 — Synchronous kernel protection without noise.

Built straight into BalonixOS: a memory-safe Rust daemon guarding sensitive paths via fanotify + Landlock while checking closures strictly when idle.

Integrated security unit in BalonixOS

# system/security/immune.nix (GPL-3.0)
balo-immune-gate.service      # Synchronous fanotify FAN_OPEN_PERM
balo-immune-closure.timer     # Idle-only CVE closure scanner
01

fanotify FAN_OPEN_PERM + Landlock

02

< 15 MB RSS · PrivateNetwork

03

Never freezes Wayland GUIs

Synchronous vault gate via FAN_OPEN_PERM

Unauthorized opens of SSH keys, GPG keyrings, or secrets are rejected cleanly with EPERM without ever halting desktop windows.

Idle-only closure CVE gatekeeper

An unprivileged user timer audits /run/current-system only during desktop idle periods.

Tight systemd confinement

Runs with PrivateNetwork=true, IPAddressDeny=any, LockPersonality, and minimal bounding capabilities.

Why avoid SIGSTOP mitigation on GUI processes?

Freezing active Wayland clients breaks window resizing and close actions; synchronous EPERM stops only the unauthorized read.

Can accesses be audited before enforcing?

Yes, --dry-run logs real process accesses cleanly before enabling strict enforcement.

Is balo-immune part of the BalonixOS repo?

Yes — it lives inside the BalonixOS orchestrator crate and carries the same GPL-3.0 license.