Skip to content
Layer8 Systems

Security

Infrastructure data is sensitive. Here is exactly how Stratum protects yours.

Your data stays on your server. Stratum runs on infrastructure you control, so what you store in it never reaches Layer8 Systems.

Protections

How your data is protected

Encrypted at rest

Notes and device configs are encrypted with AES-256-GCM, using a per-user key derived with HKDF-SHA-256 from a master key the app generates on first start. This protects your data if the database leaks.

The master key sits in your data volume next to the database, so it does not protect against someone who has both. It is not end-to-end encrypted: for that, use a Credentials vault.

Zero-knowledge credential vaults

Credentials uses envelope encryption by default: a per-item key wrapped by a per-user, versioned master key. For your most sensitive secrets, opt into an end-to-end vault, encrypted in your browser with a passphrase the server never receives.

Not even a full server compromise can read a vault. A lost passphrase cannot be recovered.

Closed by default

Accounts live in your own install. The first account becomes the owner and sign-up closes, so everyone else needs an invitation. Add TOTP two-factor codes and passkeys.

Strict data isolation

Every request is checked on the server, and queries are scoped to the signed-in user. Sharing needs an explicit permission level. There is no ambient org-wide access to maps, assets or notes.

Hardened web app

HSTS, a nonce-based Content-Security-Policy and the standard frame, content-type and permissions headers. The container runs as non-root with a read-only filesystem and no extra Linux capabilities. Optional OS fingerprinting adds one, NET_RAW, only if you turn it on.

Reference

Technical details

Encryption algorithm
AES-256-GCM
Key derivation
HKDF-SHA-256, per-user salt, info='notes-v1'
IV size
12 bytes (random, per encryption)
Auth tag
128-bit GCM authentication tag
Credential encryption
Envelope: per-item DEK wrapped by HKDF-derived per-user KEK, versioned for rotation
E2E vaults
Client-side PBKDF2-SHA-256 @ 600k iterations; server never sees the passphrase or plaintext
Authentication
Better Auth in your install: email and password, TOTP two-factor, passkeys
Key storage
Generated on first start into secrets.json in the data volume; never supplied or overridden by settings
Audit trail
Each day's audit events are sealed into a hash chained to the previous day; optionally emailed to an inbox you choose
Data portability
One-click full-account export (JSON): your data is never held hostage
Outgoing webhooks
Signed with HMAC-SHA256 over the timestamp and body, with retries
Transport
HTTPS from the app with your certificate, or TLS at your reverse proxy; HSTS header set by the app
Rate limiting
Fixed one-minute windows, counted in your Postgres

Contact security

Report a vulnerability (we aim to reply within 48 hours, and ask that you disclose privately first), or request a security questionnaire or data processing agreement.

security@layer8systems.ca