Homelab Sentinel
A hardened Raspberry Pi that keeps watch when my Mac goes dark.
Sentinel watches my homelab around the clock from a locked-down Raspberry Pi. Deterministic rules decide what’s true; a local LLM is only allowed to explain, and it never runs commands. During its live verification gate it caught a canary, a temporary listener and a failed SSH login.
Hardening (verified)
- Key-only SSH with no root login, limited auth attempts, and all forwarding disabled
- nftables host firewall with default-deny inbound and rate-limited drop logging
- Private access over Tailscale only, with no port forwards and nothing public
- Wi-Fi, Bluetooth, cloud-init, and unused services disabled
- Unattended security updates and capped journald logs
- Auto-rollback timers on SSH and firewall changes, so a bad change can’t lock me out
Detection
- Read-only Proxmox API token for inventory and status
- Collectors for DNS, HTTP, Uptime Kuma, and Beszel, stored in bounded SQLite
- Checks for authentication patterns, configuration drift, and exposure; the live gate caught a canary, a temporary listener, and a failed SSH login
- Alerts through ntfy
AI with guardrails
- Model output is treated as untrusted: schema validation, an allowlist, and human approval come before anything runs
- Logs and API responses are sanitized, truncated, and redacted before they reach the model
- The model never gets shell access; remediation stays disabled until a later phase and will require approval
Documented trust boundaries, permission levels, a threat model, and phased verification gates; 320 automated tests.