❯ security

Your servers stay yours.

MZPanel manages your Linux fleet over an outbound-only agent connection. Secrets are encrypted with per-workspace keys, server credentials are sealed to your box, and support access happens only when you turn it on.

0Inbound ports
3Protection layers
≤ 72hSupport consent
30dImmutable DB backups

Your servers stay yours

One outbound connection, standard system stacks, and zero vendor lock-in.

Agent dials out The agent opens one outbound WebSocket on port 443. Nothing listens on your VPS, and it works behind NAT.
Root stays with you You keep full SSH root access on every box. Running mz on the server uses local root trust directly.
No lock-in Sites, Docker apps, and databases run on standard Nginx, Docker, and system packages. Remove the agent and everything keeps running.
Signed agent updates Agent binaries are verified against an offline Ed25519 key. The agent refuses any update whose signature does not match.

Data protection in three layers

You manage your sign-in and optional Vault. Everything else runs automatically.

~/mzpanel/encryption-layers independent layers
Layer Who holds the key What it protects What you do
1. Encryption at rest MZPanel, with a separate key for each workspace Secrets and content stored on the control plane against a leaked database, backup, or disk image Nothing. On for everyone.
2. Sealed to your server Your server (a private key that never leaves it) Credentials only your server needs, such as offsite backup keys and new database or mailbox passwords Nothing. Sealed when entered.
3. Vault (optional) You (master password plus a Secret Key on your devices) A private safe MZPanel cannot open even while running: agentless SSH logins and Cloud Backup keys Turn it on if you use those features.
layer-1 · at-rest automatic

Per-workspace encryption

Sensitive control-plane records are encrypted with a key unique to your workspace and bound to each row so ciphertext cannot be read across tenants.

  • Split master key held across two separate locations; the second half is handed only to the live server
  • Encrypts DNS, Git, registry, and AI tokens, webhook secrets, alert targets, and shared variables
  • Encrypts job output, notes, support tickets, audit details, notification bodies, and templates
  • Online key rotation with no downtime; deleting a workspace destroys its key
  • Job output masks secrets before storage and expires after 14 days
layer-2 · sealed rsa + aes-gcm

Sealed to your server

Credentials that only your VPS needs are encrypted to the server's own public key before reaching MZPanel. The private key never leaves your server.

  • Used for offsite backup credentials, Cloud Backup grants, and new database or mailbox passwords
  • MZPanel stores and forwards only a sealed blob it cannot decrypt
  • Managed Docker app .env values are sealed on the server's disk the same way
  • One-time passwords printed by creation jobs stream straight to your browser and are never saved in the database
layer-3 · vault zero-knowledge

Your optional Vault

Encrypted in your browser with your master password and a Secret Key that stays on your devices and in your Recovery Kit.

  • MZPanel never receives your master password or Secret Key
  • Holds SSH credentials for agentless (SSH-only) servers and Cloud Backup encryption keys
  • Supports Argon2id key stretching and optional passkey unlock
  • Only required if you use agentless servers or Cloud Backup
api & mcp · mzmcp_… scoped tokens

API tokens authenticate both MCP and the REST API on every plan. Each token is stored as a SHA-256 hash, cannot exceed its creator's role, and checks access level, opt-in danger scopes, server allowlists, and IP allowlists on every call. Layer 1 data decrypts in memory only for permitted callers. Layer 2 sealed credentials and Layer 3 Vault secrets are never readable via API tokens, and interactive shells stay dashboard-only.

Account security

Passwordless sign-in backed by hardware factors, device-bound sessions, and step-up checks.

Account security docs →
  • Two-factor authentication Authenticator app codes (TOTP) and single-use recovery codes on every plan. Workspace owners can require 2FA for every member.
  • Passkeys Use a passkey as a second factor, for one-touch sensitive confirmations, and to unlock a locked Vault.
  • Confirm it is you Sensitive changes like API tokens, team access, DNS, and backup credentials require fresh confirmation. Account-takeover changes confirm every time and send a security email.
  • Session Shield Each browser signs requests with its own non-extractable device key, so a copied cookie does not work elsewhere.
  • Work sessions & sign-in alerts Rolling work sessions last up to 14 days, or end on a strict schedule. New-place sign-ins send an email with a "This wasn't me" lockdown button.
  • Hashed tokens & safe email swaps Sessions, API tokens, install tokens, and agent tokens are stored only as one-way SHA-256 hashes. Email changes confirm the new inbox and send a revert link to the old one.

On the box

Hardening tools on every managed server, with automatic rollback for changes that could lock you out.

$ mz security scan /var/www Server security docs →
  • Managed WAF ModSecurity with the OWASP Core Rule Set per site, switched between off, detect, and blocking mode.
  • Malware & integrity scans On-demand ClamAV scans move findings to quarantine rather than deleting files. Includes rogue Nginx vhost checks and WordPress file checksum checks.
  • Firewall & SSH auto-revert Risky firewall or SSH changes start a box-side timer (2 minutes, or 5 minutes on import) and roll back unless you confirm access from a new SSH session.
  • SSH key audit Inspect every authorized SSH key across server users, see where it came from, and restrict SSH logins with an allowlist.
  • Intrusion alerts Alerts for SSH logins from new IPs, authorized_keys changes, Fail2ban ban bursts, and new public listening ports, grouped per server every 10 minutes.
  • Isolation & origin guards Per-site sandboxed PHP-FPM, cgroup resource limits, Cloudflare-only origin locks, WordPress login rate limits, and delete protection for critical resources.

Staff access only with your consent

Explicit, time-limited, and written to your audit log.

server-consent≤ 72h

On your servers

MZPanel support can run commands, open a web terminal, or edit files only after you allow it inside a support request. Access covers one server for up to 72 hours, ends the moment you revoke it, and blocks commands that carry your credentials.

view-as-ownerread-only

In the dashboard

A read-only troubleshooting view exists for support diagnostics. Only the platform owner can start it, each session lasts 30 minutes, requires a stated reason, cannot modify anything, and logs its start and end in your audit log.

staff-toolsaudited

In the database

Every support action is recorded in your audit log under MZPanel support. Staff tools see encrypted values for Layer 1 data, and nobody at MZPanel can open Layer 2 sealed credentials or your Layer 3 Vault.

Operations

Control-plane backups, host hardening, and public status.

~/mzpanel/control-plane-backups immutable 30d

Control-plane backups

  • Database backed up every night and continuously in between
  • Encrypted before leaving the control-plane host
  • Stored off-site with two separate storage providers
  • One copy is immutable for 30 days and cannot be changed or deleted, even by us
  • Layer 1 secrets and content inside backups stay encrypted with your workspace key
status.mzpanel.com separate infra

Host hardening & uptime

  • Control-plane host locked down with key-only SSH, firewall, and automatic security updates
  • Every workspace mutation and API token action is appended to the audit log
  • Incidents and live service status run on separate Cloudflare infrastructure at status.mzpanel.com
  • If the control plane is unreachable, your servers keep running and MZPanel Local works directly on the box

What we do not claim

Honest boundaries of the security model.

~/mzpanel/threat-model accepted risks

A compromised running control plane

Encryption at rest protects data copied or stolen while stored: a leaked database, backup, or disk snapshot. It does not stop an attacker who takes over the running control plane itself, because the API must decrypt Layer 1 data to send alerts, issue DNS-01 certificates, and answer your AI agent.

Operational data stays readable

Server online state, CPU/RAM/disk metrics, agent and software versions, plan, timestamps, job status and exit codes, domain names, server IP addresses, and short notification titles remain readable so the dashboard can sort, list, and draw charts.

Local root trust on your server

Once someone has root SSH access to your VPS and runs mz directly, they hold local root trust. Team roles, plan quotas, and the control-plane audit log govern the panel, not local root shells.

No certifications claimed

MZPanel is operated by the MZPanel team and does not claim SOC 2, ISO 27001, or third-party audit certifications.

~/mzpanel/disclosure [email protected]

Report a vulnerability or read the full model

Found a security issue in MZPanel? Email [email protected] with reproduction steps. Read our full technical documentation, privacy policy, and subprocessors list below.