Threat model
What TalePanel defends
TalePanel is built for the operator who runs their own community — one person or a small trusted team, on a VPS or a handful of nodes. Knowing who it protects against is the only way to read everything below.
In scope
- A stranger on the internet reaching your panel — brute force, token guessing, SQL injection, SSRF, path traversal.
- A leaked storage credential exposing your off-site backups.
- A low-privileged panel user trying to reach servers or data that are not theirs.
- A bad update or a dead disk — recovery through backups you control.
Not yet in scope
- A fully compromised panel host. If root on your VPS is taken, the control plane is taken with it.
- One hostile Hytale server attacking another on the same node — no per-server sandbox yet.
- A malicious operator you deliberately gave owner rights to.
Character sheet
Equipped and open, side by side
Everything a default install does for you today, and the gaps that are still open. No gap is hidden; each one is tracked in SECURITY.md and in the roadmap below.
Equipped shipped
- No default accountNo seed user, no admin/admin. The first owner is the account you create during setup, behind a 12-character password policy.
- Secrets generated per installJWT, refresh and TOTP keys, database and Redis passwords are each made with
openssl randon your box — never shipped, never shared. - 2FA and real sessionsbcrypt passwords, TOTP encrypted at rest (AES-256-GCM), refresh tokens hashed with SHA-256 and rotated, rate-limited login.
- Roles per serverOwner, admin, moderator and user, with membership checked on every server route. A moderator on one server sees nothing of the others.
- Encrypted backupsServer backups are encrypted with ChaCha20-Poly1305 under a panel-managed key before they ever leave the node — the local archive and every off-site copy. Shipped in v0.12.
- Mutual TLS to every nodeThe panel runs its own CA and issues each node a certificate on first start. Both sides check the other's certificate, and the node token is still required. Since v0.14 nodes accept nothing else. Nothing to configure.
- Own Linux user per serverEvery game server runs as its own unprivileged user with a private 0700 directory. The node's token, certificate and keys are root-only, so a plugin cannot read them or other servers' files. Shipped in v0.13.
- Sandbox per serverA seccomp filter stops game servers from debugging other processes, mounting, creating namespaces or using
bpfandio_uring. Network rules stop them from reaching the daemon's port or other servers on the node. Memory and task limits where cgroups allow. Shipped in v0.16. - Recovery codes, scoped API keys, admin allowlistTen single-use 2FA recovery codes, stored as hashes. API keys carry only the rights and servers you pick and can never reach admin or account routes. Optional
ADMIN_IP_ALLOWLISTfor admin routes. Shipped in v0.13. - 2FA required for staff, sign-in alertsOwners can make 2FA mandatory for admins and owners. Users get an email when their account is signed into from a new device or network.
- Hostile input expectedParameterised SQL, zip-slip and size-bomb checks, file operations confined to each server's directory, no SSRF from mod or webhook fetches. Plus a full audit log.
Open on the roadmap
- No container per server yetServers are sandboxed, but servers on one node still see each other's process list and share the kernel. Machines on your LAN are not filtered; use a host firewall. For plugins from people you don't trust, run one node per trust boundary.
- No revocation listA node or panel certificate stays valid until it expires (2 years) or its CA is rotated out. Nodes on a daemon older than v0.15 cannot follow a CA rotation and must be updated first; there is no revocation list. Removing a node in the panel revokes its token.
Full list and the reporting policy in SECURITY.md.
Roadmap
Where the security work is going
A living timeline. Shipped work stays here so you can see the direction of travel, not just the destination.
-
Shipped · 2026-11 · v0.16
Sandbox per server
Step 2 of isolation, inside the daemon: a seccomp filter refuses
ptrace, mounts, namespaces,bpf,io_uring, kernel modules and host administration; nftables rules stop servers from connecting to the daemon, other servers or anything else on the node, and from the cloud metadata address. Memory and task limits per server where cgroups allow. The admin panel shows per node which layers are active. -
Shipped · 2026-11 · v0.15
CA rotation and renewal while running
The owner can rotate the panel's CA without downtime: the old CA stays trusted while every node fetches a certificate from the new one and swaps its TLS listener in place. A node accepts a new CA only with a cross certificate from a CA it already trusts. Node and panel certificates renew 30 days before expiry without a restart.
-
Shipped · 2026-11 · v0.14
mTLS only, 2FA for staff, sign-in alerts
Nodes refuse plaintext connections and accept only the panel's client certificate. Owners can require 2FA for admins and owners; until they set it up, staff reach only their own account and their API keys stop working. Users get an email on every sign-in from a browser not seen on that network in 30 days.
-
Shipped · 2026-11 · v0.13
Own Linux user per server
Each game server runs as its own unprivileged user (no extra groups,
no_new_privs, minimal environment) with a 0700 directory. Node files are root-only, the daemon does its file work with the server's own permissions, and leftover processes are killed when a server stops. -
Shipped · 2026-11 · v0.13
2FA recovery codes, admin IP allowlist, scoped API keys
Ten single-use recovery codes, hashed and spent atomically. An optional IP allowlist for admin routes. API keys limited to chosen rights and servers, stored as SHA-256, tagged in the audit log.
-
Shipped · 2026-10 · v0.12
mTLS between panel and nodes
The panel is a private CA and issues node certificates automatically. Panel and node verify each other by certificate and pinned identity, with the node token kept as a second factor. Existing nodes move over on their next restart.
-
Shipped · 2026-10 · v0.12
Encrypted backups
ChaCha20-Poly1305 streaming encryption with a panel-managed key. The archive is sealed on the node before upload, so a leaked storage credential no longer exposes your worlds. Keys rotate; old backups stay restorable.
-
Shipped · 2026-10 · v0.10–0.11
Injection & path hardening
SQL identifier allowlisting, archive zip-slip and size-bomb guards, per-server path confinement, and an SSRF filter on every mod and webhook fetch — each with unit tests on the injection-relevant paths.
-
Shipped · earlier betas
Accounts, roles & audit
No default account, generated secrets, TOTP 2FA encrypted at rest, per-server membership and roles enforced on every route, rate-limited auth, and an audit log of who did what, where and when.
-
Planned
Container per server
Step 3 of isolation: each Hytale server in its own container or PID namespace, so servers on one node no longer see each other's processes.
Coordinated disclosure
Found a hole?
Report it privately
Please don't open a public issue. Email a description, steps to reproduce, the affected version and your impact assessment. We credit you in the release notes unless you'd rather stay anonymous.
Email info@diengdoh.com- 48hWe acknowledge every report within two days.
- 7dWe aim to ship a fix for high-severity issues within a week.
- 30dPlease give us a disclosure window before going public.
Questions
Security, answered plainly
Is TalePanel secure?
A default TalePanel install ships with no seed account and no default password, generates every secret on your machine, encrypts 2FA secrets at rest with AES-256-GCM, rate-limits logins, confines every file operation to its own server directory, blocks SSRF on mod and webhook fetches, and encrypts backups before they leave the node. The full model and the known gaps are documented in SECURITY.md.
Are TalePanel backups encrypted?
Yes. Since October 2026, server backups are encrypted with ChaCha20-Poly1305 streaming encryption under a key the panel manages. The archive is sealed on the node before it is written locally or uploaded off-site, so a leaked storage credential at OneDrive, Google Drive, Dropbox, S3, B2, SFTP or Nextcloud does not expose your worlds. Keys can rotate and older backups stay restorable.
How do I report a security vulnerability in TalePanel?
Email info@diengdoh.com with a description, steps to reproduce, the affected version and your impact assessment — do not open a public GitHub issue. Reports are acknowledged within 48 hours, high-severity fixes aim to ship within 7 days, and reporters are credited in the release notes unless they prefer to stay anonymous.
Does TalePanel isolate each Hytale server?
Partly. Since v0.13 every Hytale server runs under its own unprivileged Linux user with a private directory, so a plugin on one server cannot read other servers' files or the node's keys. Since v0.16 a sandbox adds a system call filter (no debugging other processes, no mounts or namespaces) and network rules, so a server cannot connect to the daemon or other servers on its node. Servers on one node still see each other's process list and share the kernel; a container per server is the next step. For plugins from people you don't trust, run one node per trust boundary.
What is TalePanel's threat model?
TalePanel defends the operator who runs their own community against internet attackers, leaked storage credentials, and low-privileged users reaching data that is not theirs. It does not yet defend against a fully compromised panel host, one hostile server attacking another on the same node, or a malicious operator you gave owner rights to. Those gaps are listed in public.
Is TalePanel open source?
Yes. TalePanel is AGPL-3.0 open source with no paid edition, so the entire security implementation — auth, encryption, input handling — can be read and audited in the public repository.
