All articles

Security & Permissions

Security Model

Defense in depth — how rumahl protects your home: authentication, network security, encryption, threat detection and platform hardening.

6 min readUpdated: 20 August 2026

rumahl implements a comprehensive, defense-in-depth security model. Every layer has one job: making sure that a compromise at one level does not reach the next.

The five security layers

LayerMechanisms
1. Authentication & authorizationJWT tokens, API keys, PIN auth, RBAC
2. Network securityDomain whitelist, IP access control, sandbox
3. Data protectionAES-256-GCM encryption, hash-chained audit logs
4. Threat detection & responseIntrusion detection, auto-lockdown, alerts
5. Platform securityAppArmor, Docker isolation, read-only filesystem

Core security services

ServicePortRole
rumahl-security8095Threat detection, intrusion prevention, lockdown
rumahl-secrets8093Encrypted secrets storage (API keys, passwords, tokens)
rumahl-watchdog8094Health monitoring, failover, circuit breaker

Data protection

  • Encryption at rest: AES-256-GCM for secrets and sensitive data
  • Audit logging: hash-chained logs — tampering becomes visible immediately
  • Local-first: by default, no data leaves your device at all
  • Opt-in telemetry: diagnostics and cloud features require explicit consent

Permissions as the trust boundary

The permission system is the heart of the security model:

  • Every API call is checked against an explicit permission at the gateway
  • Apps request permissions at registration and at runtime (allow/deny dialogs)
  • Destructive operations require explicit, typed confirmation — never autonomous
  • AppArmor and the runtime sandbox limit what a compromised app can do

Platform hardening

  • Buildroot LTS Linux with a read-only SquashFS root filesystem
  • ZRAM for /tmp and /var — reduced wear and attack surface
  • RAUC A/B updates — atomic updates with automatic rollback
  • AppArmor mandatory access control for all services
  • The security monitor surfaces alerts, resource usage and anomalies

Tip: keep your system updated — security patches ship through the update center with a stable/beta/alpha channel choice.

On this page

Didn't solve your problem? Contact us — we're happy to help.