All articles
Back to Docs
Security & Permissions

Security Model

Defense in depth across native and external services: authentication, scoped capabilities, network security, encryption and audit.

7 min read Updated: 20 October 2026
Markdown

The five security layers

Every layer has one job: making sure that a compromise at one level does not reach the next. Integrations add a sixth concern — a trust boundary around every external system.

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

Identity across independent systems

A shared interface must not create a shared super-user. rumahl keeps its own local identity, and each integration receives a separate scoped credential and consent record.

  • Each integrated service keeps its own accounts and permissions.
  • rumahl never uses one privileged credential for every service.
  • A rumahl app can only act with the capabilities the user granted to that app.
  • Revoking an integration revokes its scoped credential immediately.
  • No transitive permissions: access to rumahl does not automatically mean access to a service.
No accidental escalation

The native interface may be convenient, but it must never be able to do more than the underlying service and the user’s consent allow.

Core security services

ServicePortRole
rumahl-security8095Threat detection, intrusion prevention, lockdown
rumahl-secrets8093Encrypted secrets and scoped integration credentials
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.
  • Integration data stays with the service unless a capability explicitly moves it.
  • Opt-in telemetry: diagnostics and cloud features require explicit consent.

Permissions as the trust boundary

  • Every API call is checked against an explicit permission at the gateway.
  • Permission decisions are bound to the live account, app installation and declared capability — never to installation level.
  • Destructive operations require explicit, typed confirmation — never autonomous.
  • Connectors fail closed when a capability, credential or expected response is missing.
  • AppArmor, the runtime sandbox and scoped credentials limit what a compromised integration can do.

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

On this page