Trust

Trust: how bPanel is built and signed

One privileged writer, plain files you can read, and signed releases you can verify before you run anything as root.

Architecture

  • The panel is PHP and runs as an unprivileged service user. It never shells out as root.
  • Every privileged action is a typed command over a local socket to bmhd, a Go agent. bmhd is the only privileged writer and checks authorisation again itself.
  • cPanel-shaped flat files are the source of truth. The SQLite database is a disposable index that can be rebuilt from them.
  • Every write goes to a temporary file, is synced, then renamed. Multi-file changes run under one lock and are journaled.

Verify a release

Releases are signed. Check the signature before you run an installer as root.

Release key fingerprint:

778701FF12193A92E96C88448E6838F84FC6ECDD

$ gpg --import release-key.asc $ gpg --fingerprint 778701FF12193A92E96C88448E6838F84FC6ECDD $ gpg --verify SHA256SUMS.asc SHA256SUMS $ sha256sum -c SHA256SUMS --ignore-missing

Confirm that the fingerprint gpg prints matches the one above before you trust the signature.

The installer

$ curl -fsSL https://get.bookmyhost.com/webpanel | bash

Prefer to read it first? Download the script, check it against the signed sums, then run it.

Threat model, in short

Each threat has one control that stops it.

ThreatControl
Path traversal and symlink races in file and restore operationsWorkers run as the user inside a jail, and every open is relative to a pinned home directory.
Shell injection through usernames, domains or cron linesCommands use argument arrays, never a shell. Identifiers are validated by strict patterns and fuzzed.
Race conditions on state filesOne writer, a lock and a journal.
Session fixation, CSRF, clickjackingSession ids rotate on login, per-form tokens, strict same-site cookies, frame restrictions.
API key misuseKeys are stored as a digest, shown once, and checked in the panel and again in the agent.
Reseller escalationThe agent recomputes the owner tree on every call, so a reseller acts only within its own tree.
Server-side request forgeryOutbound host allowlist, and private ranges blocked unless configured.
Forged audit logsEscaped JSON lines in an append-only file, optionally shipped off the box.
Jail escapeUser namespaces and a seccomp profile, with an escape test suite.
Supply chainReproducible builds, an SBOM per package, signed releases and pinned dependencies.
Config template injectionTemplates escape per target format, and validators run before a swap.

Found something? See the security policy.

One licence instead of four.

Free for 12 months for early adopters, then US$15 per server per month. Not a cPanel clone: the jobs of CloudLinux, JetBackup and Imunify360 are built in.