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.bmhdis 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.
| Threat | Control |
|---|---|
| Path traversal and symlink races in file and restore operations | Workers run as the user inside a jail, and every open is relative to a pinned home directory. |
| Shell injection through usernames, domains or cron lines | Commands use argument arrays, never a shell. Identifiers are validated by strict patterns and fuzzed. |
| Race conditions on state files | One writer, a lock and a journal. |
| Session fixation, CSRF, clickjacking | Session ids rotate on login, per-form tokens, strict same-site cookies, frame restrictions. |
| API key misuse | Keys are stored as a digest, shown once, and checked in the panel and again in the agent. |
| Reseller escalation | The agent recomputes the owner tree on every call, so a reseller acts only within its own tree. |
| Server-side request forgery | Outbound host allowlist, and private ranges blocked unless configured. |
| Forged audit logs | Escaped JSON lines in an append-only file, optionally shipped off the box. |
| Jail escape | User namespaces and a seccomp profile, with an escape test suite. |
| Supply chain | Reproducible builds, an SBOM per package, signed releases and pinned dependencies. |
| Config template injection | Templates 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.