Security
Security model
How Zefily protects your servers — signed jobs, passkey approvals, a privilege-separated agent, encryption and isolation.
Zefily is designed so that a stolen panel session, or even a compromised panel, cannot quietly change your servers.
Every job is signed twice
The panel signs each job, and a separate signing service on its own machine signs it again after checking its policy (job types, rate limits). The agent verifies both signatures, a monotonic sequence number and an expiry before running anything. A replayed, tampered or expired job is refused.
Passkey approvals
High-risk actions — a root terminal or command, a reboot, deleting site files or databases, opening a database port to everyone, removing the agent, switching the web server, custom nginx directives — wait for your approval passkey on your device. The signing service verifies the passkey itself and emails you when an approval is used. See Approvals and passkeys.
A privilege-separated agent
The part of the agent that talks to the network runs as an unprivileged user. Only jobs that passed verification reach the small root helper that applies them. Every job's parameters are checked against its schema, and tuning values are clamped to safe bounds.
No open ports for the panel
The agent connects out to Zefily over mutually authenticated TLS. Your firewall stays closed except for SSH and your sites.
Isolation
- Every site runs as its own Linux user with its own PHP pool; containers run rootless as that user.
- Organizations are isolated in the database by row-level security, enforced by tests.
- The file manager and terminal are confined to the chosen user; root needs a passkey.
- The process list is private per site:
/procis mounted withhidepid=2, so a site user sees only its own processes and command lines, never another site's. Root and the server's own services still see all processes.
Encryption and secrets
Secrets — .env files, provider and DNS tokens, backup keys, cron commands, recipes — are encrypted with a key of your organization, itself protected by a key management system on the separate trust machine. Secrets sent to a server are sealed for that server only, and are never written to logs. Terminal recordings are encrypted too.
Audit trail
Every change is recorded in an append-only, hash-chained audit log: who did what, when and from where.
Zefily staff are in that log too. Each time a staff member opens your account, your organization, one of your tickets or your billing history, reveals your email or sign-in addresses, views the panel as you or exports your data, it is recorded with the reason they gave. Staff exports of admin lists keep email addresses masked as the lists show them, are recorded too and are deleted after seven days. A staff data-access report built from those records is reviewed regularly, and viewing the panel as you always sends you an email.
How we run the platform
The control plane is watched as a whole: its database, queues, signing service, realtime service, disk and the agents' connections, every scheduled task with its last run (a task that fails or does not run on time is flagged), failed background jobs, warnings in its logs, and the off-site copies of its own database, which must report every day. Staff who retry or discard a failed background job do so in the audit log.
Hardening by default
The baseline setup turns on the firewall, CrowdSec, automatic security updates (reboot window 04:30), kernel hardening and time sync, and turns SSH password login off once key access is set for an administrator. The security baseline checks it continuously and reports drift.
Updated November 27, 2026 View as Markdown llms.txt