Skip to content

Security

A security model you can check.

HostYourServer runs software on machines you own, so this page sets out what the panel stores, what the agent is allowed to do, how each side proves who it is, and where those protections stop. Every figure is what the code does.

01Accounts

Sign-in that resists guessing and theft.

Passwords, sessions, and codes are stored only as hashes or sealed values, so a copy of the database doesn't let anyone sign in as you.

PasswordsAt least 12 characters, hashed with Argon2id using 19 MiB of memory and 2 iterations.
SessionsA random 256-bit token in a __Host-session cookie that is HttpOnly, Secure, and SameSite=Lax. Only its SHA-256 hash is stored. A session ends after 30 days without use or 90 days after sign-in, and you can sign out any session from your account page.
Two-factorAuthenticator codes (TOTP, 6 digits, 30-second steps) that can't be used twice. Turning it on needs your current password. The secret is sealed with AES-256-GCM, and the ten single-use recovery codes are stored as hashes.
Wrong guessesEvery tenth wrong password or code in a row pauses sign-in for 15 minutes. After 100, a new device needs a password reset. Browsers you've signed in with are trusted for 180 days and counted on their own, so someone who only knows your address can't lock you out of them.
Email linksConfirmation and reset links carry a single-use 256-bit token in the URL fragment, which browsers never send to a server. They expire after 24 hours and 1 hour. Confirming a new account also asks for the password chosen at sign-up.
Bot checksSign-up and password reset need a Cloudflare Turnstile check, which the server verifies before it does anything else with the request.
Changing your emailNeeds your password and a single-use link sent to the new address. The old address is told about the change.
Addresses stay privateSign-up and password reset give the same answer, in the same time, whether or not an address has an account.
Security emailsYou're told by email when your password changes, two-factor is turned on or off, recovery codes are replaced, or wrong codes pause your account.
Table 1How accounts and sessions are protected.

02Nodes

Your server dials out. Nothing dials in.

A node is a machine you connect by running the install command. Its agent holds one outbound connection to the panel and proves who it is every time it connects.

ConnectionOne outbound WebSocket over TLS. Nothing on your server listens for the panel, so there's no port to open for it.
EnrollmentThe install command carries a 256-bit token that works once and expires after 60 minutes. It's passed through the environment, not the command line, so other users of the server can't read it from the process list.
IdentityThe agent generates an Ed25519 key on your server and sends only the public half. Every connection starts with a fresh 32-byte challenge, which the agent signs together with the protocol version and the node's ID, so a signature can't be replayed.
LivenessA heartbeat every 30 seconds. A node that's silent for 90 seconds is marked offline.
RemovalRemoving a node deletes its public key. Its agent can't connect again, and it stops for good.
Signed buildsThe installer and the updater verify an Ed25519 signature over every agent build before using it. If the signature doesn't match, nothing is installed or replaced.
The agent's own limitsA system user with no login shell, under a systemd unit with NoNewPrivileges, a read-only view of the system, no access to home directories, its own /tmp, half of one CPU, and 256 MiB of memory. It can write only to its servers' folders, its state, and its own binary.
Table 2How a node joins the panel and stays connected.

03Game servers

The panel sends a spec, never a command.

To install or change a server, the panel describes what it wants. The agent checks that description against its own rules and builds everything it runs itself.

What the panel sendsA spec resolved from a blueprint: the image and its digest, typed install steps, the start command as a list of arguments, ports, config file edits, and limits. It has no field for privileges, devices, host paths, host networking, or the user a server runs as.
What the agent checksEvery spec is read into fixed types that refuse unknown fields, then checked again: downloads must use HTTPS to a named host and carry a well-formed hash, every path must stay inside the server's folder, and ports, limits, and commands must be within bounds. Built-in blueprints can't run shell scripts and must use images pinned by digest.
ContainersEach server runs as the agent's own user with every Linux capability dropped, no-new-privileges, a read-only root file system, a memory limit equal to the server's memory with no swap, a process limit, and capped logs. Only its own folder is mounted.
Other containersThe agent touches only containers that carry its labels and names. Anything else running in Docker on the machine is left alone.
Console commandsSingle lines of at most 1,024 characters, at most five a second, accepted only from roles that may control servers. Every command is recorded in the activity log.
Table 3What reaches a game server, and what the agent refuses.

04Blueprints

Blueprints and the sandbox.

Every title is installed from a blueprint, a typed document that describes the server. Running bots and your own code means a spec can't be limited to a list of official downloads, so the boundary is the sandbox every server and install step runs in.

Installer sandboxSteamCMD, Git, and installer programs run in a separate, short-lived container for each step, never on the machine itself: as the agent's user, with every capability dropped, a read-only root, bounded memory, processes, and time, and only the server's folder mounted. Steps that only move bytes, such as downloads, extraction, and config edits, run in the agent under the same kernel confinement as the file manager.
Pinned imagesBuilt-in blueprints run only images from our catalog: official images, Microsoft's registry, the images projects publish themselves, and our own, built from Dockerfiles in our repository and published with provenance. Each is pinned by digest, and a new digest reaches a server only when it is installed or changed again.
Verified downloadsDownloads are checked against the SHA-1, SHA-256, or SHA-512 the publisher posts and refused on a mismatch. Publishers that post no hash are allowed only where the reviewed blueprint says so, never from paste sites or raw file hosts. The agent refuses any download whose host resolves to a private, loopback, or link-local address.
Built-in only nodesA node set to run built-in blueprints only, a local setting that needs root on that machine, accepts a server only when the agent can derive the same spec from its own copy of the blueprint and the published version. A compromised panel can then choose only which built-in software, version, settings, ports, and memory a node runs.
Custom blueprintsOwners and admins can write their own, which may name any public image, download from any HTTPS address, and run shell scripts during install, all inside the same sandbox. Nodes can refuse them, in the panel or locally, and an imported Pterodactyl egg is only a draft until someone reviews and saves it.
SecretsPasswords and tokens a blueprint asks for are sealed at rest, never returned by the API, and replaced rather than edited. Owners and admins can reveal one through a request that is logged.
Table 4What a blueprint can and can't make a node do.

05Files

Every path stays inside the server's folder.

The file manager works on the node itself. The panel forwards each request, and the agent carries it out under rules the Linux kernel enforces.

ConfinementEvery path is checked against a strict grammar, then opened beneath the server's folder with openat2 and RESOLVE_BENEATH, so the kernel refuses any symlink or rename that would lead outside it. Older kernels fall back to a walk that never follows a link.
UploadsWritten to a temporary file and moved into place only when complete. Up to 256 MiB per file, sent in chunks of at most 384 KiB.
EditsSaving sends the modification time the editor loaded, so a file that changed in the meantime is refused rather than overwritten.
ArchivesExtraction skips entries that would escape the folder or create links or devices, and stops at 100,000 entries or 8 GiB.
Who can do whatReading files needs a role that may control servers. Changing them needs a role that may manage servers.
Table 5How file access is confined on the node.

06Backups

Every transfer has its own key.

Backups stream from the node through the panel into storage, and back again for a restore. Each one is checked end to end.

Storagetar archives compressed with zstd, stored in Cloudflare R2 under your organization and server.
Transfer tokensThe agent uploads and downloads with a token that belongs to one backup and one direction. Tokens are 32 random bytes, stored as SHA-256 hashes, valid for 24 hours, and rate limited.
IntegrityA backup is accepted only when every part is present and the total size matches what the agent sent. Its SHA-256 is recorded, and a restore checks it before anything is replaced.
RestoresA restore first takes a safety backup of the current data, then unpacks the archive beside the server's folder and swaps the two only after the archive has been verified.
DeletionDeleting a backup or a server removes the stored archive. A removal that fails is retried every day until it succeeds.
Table 6How backups are moved, checked, and removed.

07Teams

People see only what you give them.

Every organization request is checked against the caller's role, and members can be limited to the servers they need.

RolesOwner, admin, member, and viewer, checked on every request. A member can run the console and restart a server without being able to delete it.
Per-server accessMembers and viewers can be limited to selected servers. A server outside someone's access answers exactly like a server that doesn't exist.
InvitationsSingle-use links that expire after 7 days. The 256-bit token is stored as a hash and travels in the URL fragment, and accepting needs an account with exactly the invited address.
OwnershipTransferring an organization to someone else needs the owner's password.
ActivityChanges to servers, nodes, files, schedules, backups, and members are recorded with who made them and when, in the same write as the change. Only owners and admins can read the log.
Table 7How access is shared inside an organization.

08Platform

One origin, no trackers.

The website, the dashboard, and the API are served from a single address on Cloudflare, so there's no cross-origin access to configure.

HostingCloudflare Pages and Workers, with accounts in Cloudflare D1, each node's connection and metrics in its own Durable Object, and backups in R2.
TransportHTTPS only, with HTTP Strict Transport Security.
RequestsEvery request that changes something must carry the panel's own origin. Request bodies are typed, size-limited JSON, and unknown fields are refused.
In the browserA Content Security Policy that allows scripts only from the panel itself and Cloudflare Turnstile, with no inline scripts, and forbids framing the panel. Turnstile loads only with the sign-up and password reset forms, and the pages load no analytics or trackers.
Table 8Where the panel runs and what the browser is allowed to load.

09Limits

What these protections don't cover.

No design removes every risk. These are the ones that remain, stated plainly so you can decide what to connect.

The agent is root-equivalentIt's in the docker group so it can manage containers, and that is equivalent to root on the server. Anyone who takes over the agent takes over the machine, so only connect machines you're happy to manage this way.
Install steps can reach your networkThe installer sandbox uses Docker's default bridge network, because SteamCMD and Git need the internet. A container there can also reach addresses on the node's own network, so a custom blueprint could probe it. Only the agent's own downloads are checked against private addresses. Set nodes on sensitive networks to built-in blueprints only.
Signatures protect downloads, not the panelThe installer and the updater check builds against the release key the panel provides. Whoever controlled the panel or its TLS certificate could choose what they install.
The install token is in your shell historyIt works once and expires after an hour, but it stays in the history of whoever ran the command.
Open consoles catch up laterWhen someone loses access to a server, a console they already have open can't send commands, but it can keep showing output for up to 30 minutes.
A paused account says soAfter repeated wrong guesses, sign-in reports the pause before checking the password, which shows that the address has an account.
Table 9Risks that remain by design.

10Reporting

Found a vulnerability? Tell us first.

Email support@example.com with what you found and the steps to reproduce it. Please don't access other people's accounts, servers, or data, and don't degrade the service for others while you test. The same address is published in /.well-known/security.txt.

support@example.com