Security
VPS Manager needs a lot of trust: you install our agent on servers that run your business. This page explains, as precisely as we can, what that agent can do, how it is controlled, how your data is protected, and how to remove us.
The short version
- The agent connects out to us. It opens no listening port and needs no SSH access.
- Every connection uses mutual TLS 1.3 with a per-server certificate that lives for 24 hours. The private key is created on your server and never leaves it.
- The agent only runs a fixed list of command types. Anything else is rejected.
- Commands are authenticated, short-lived and single-use.
- Web terminal sessions are recorded, and every action is in your audit log.
- You can pause the agent from the server itself, or uninstall it, at any time.
What the agent runs as
The agent runs as root, because managing Docker, nginx, certificates, firewalls and databases needs it. That means it is technically able to do anything root can do on the server. The rest of this page is about how that power is limited and controlled.
The installer also creates an unprivileged vpsm user. Web terminals and file access use that user by default, and only members whose role includes terminal or file access can use them. Acting as root, or as any user with root-equivalent rights (sudo, wheel, docker, lxd and similar groups), is turned off by default for every organization. If your organization turns it on, each use also requires the member to confirm their password.
What the agent can do
The agent has a handler for each of these areas, and nothing else:
| Area | Examples |
|---|---|
| System | Inventory, metrics, reboot, service restart, agent update and uninstall |
| Docker | Install Docker, list and manage containers, pull images, compose stacks |
| Deployments | Clone your repository, build with your Dockerfile, release, roll back, cron jobs, CI steps |
| Web server | Configure nginx sites, issue and renew Let's Encrypt certificates |
| Terminal and files | Web terminal sessions; list, read, write and transfer files |
| Databases and backups | Create and manage PostgreSQL, MySQL and Redis; encrypted backups and restores with restic |
| Logs and monitoring | Tail the log sources you choose, collect metrics |
| Clusters and networking | Install k3s, load balancers (nginx, keepalived), firewall rules |
A few hard limits are built into the agent itself:
- The file manager refuses
/proc,/sys,/dev,/boot,/etc/shadow,/etc/gshadowand the agent's own files and keys, also when reached through a symlink. Reads are capped at 5 MiB and transfers at 100 MiB. - Terminal sessions end after 15 minutes idle and 8 hours at most.
Who can send commands
Commands come only from our API and workers, in response to:
- an action by a member of your organization who has the right role (for example Deploy or Open terminal), or
- automation you set up: deploy on push, pipelines, schedules, backups, cron jobs, monitors.
Every command is signed with a key held by our API and checked by our gateway before it is sent to your server. Each command names the organization and server it is for and expires within about a minute. The agent itself rejects a command that is expired, addressed to another server or organization, or a replay of one it has already seen.
Every action taken by a member is written to your organization's audit log.
What our staff can and cannot see
Our support console shows account metadata only: organizations, plans, usage and job queues. It does not give staff terminal access, file contents, environment variable values, database contents or other secrets.
Staff access requires an allowlisted network, two-factor authentication and an individual staff account. Every staff request, including read-only views, is logged with the person and a stated reason. Staff actions that affect your organization, such as pausing commands to your servers during an incident, also appear in your audit log.
[COMPANY NAME] staff with access to production infrastructure are bound by [INTERNAL ACCESS POLICY: describe background checks, least-privilege access, review process]. [POLICY COMMITMENT TO CONFIRM: We will never use the agent to access your server for our own purposes.]
Terminal recordings
Web terminal sessions are recorded so you can review them later. What is recorded is the output shown on screen, not individual keystrokes. If recording is enabled and fails to start, the terminal does not open. Recordings are stored in object storage for [RECORDING RETENTION PERIOD]. Only members who can read the audit log can replay them, and each replay is itself logged.
The connection
- Outbound only. The agent dials our gateway on TCP port 4443 (first enrollment) and 4444 (the permanent connection). It does not listen on any port. Features you turn on may open ports they need: for example a domain opens 80 and 443 for nginx, and a load balancer opens its listen port.
- Enrollment. The install command contains a one-time token that expires in 15 minutes. Only a hash of it is stored on our side.
- Mutual TLS. Each server has its own client certificate (24-hour lifetime, renewed automatically). Removing a server revokes its certificate and drops its connection immediately.
- Verified releases. The installer checks the agent binary against published SHA-256 checksums, and both the installer and the self-updater check an Ed25519 release signature when a signing key is configured [CONFIRM: release signing key pinned in production].
How your data is protected
- Secrets (environment variables, database passwords, backup credentials, cloud provider tokens, notification channel settings and similar) are encrypted with AES-256-GCM using a data key unique to your organization. That key is itself encrypted by a separate key management service ([KMS PROVIDER / OpenBao]) and never stored in plain form. When an organization is deleted it can be restored for 7 days. After that its data key is destroyed first (so everything encrypted with it becomes unreadable), its agents' certificates are revoked, and its data is removed. The audit log is kept for [AUDIT RETENTION PERIOD] and then removed.
- Two-factor secrets are encrypted with a key derived per user.
- Passwords are hashed with Argon2id.
- In transit, all traffic between your browser, our API, our gateway and your agents uses TLS.
- Backups of your databases are encrypted on your server by restic before they are uploaded, to a bucket that you own and control.
- On your server, database credentials the agent needs are kept in
/etc/vpsm/dbs/, readable by root only. - Our own databases are backed up to [BACKUP LOCATION / REGION] with [ENCRYPTION AT REST DETAILS].
Stop or remove the agent
Pause. On the server, run:
sudo vpsm-agent pauseThe agent then refuses every command from us, while still reporting that it is alive. sudo vpsm-agent resume turns it back on.
Remove. In the dashboard, open the server and click Remove server. This revokes the server's certificate and uninstalls the agent if it is online. Or run, on the server:
sudo vpsm-agent uninstallThis removes the service, the binary and the agent's keys and state. It leaves your apps, containers and nginx configuration running, and keeps /etc/vpsm/dbs/ (credentials for databases that are still running) and the local command log. To remove those and the vpsm user as well:
sudo rm -rf /etc/vpsm
sudo userdel -r vpsmSee Connect a server for details.
Reporting a vulnerability
Please email [SECURITY CONTACT EMAIL] with a description and steps to reproduce. Our machine-readable contact details are in /.well-known/security.txt.
- We will acknowledge your report within [N] business days.
- Please give us a reasonable time to fix the issue before telling anyone else.
- Do not access other customers' data, degrade the service, or run automated scans that generate heavy load.
- [SAFE HARBOR STATEMENT, to be written with legal counsel.]
- [BUG BOUNTY: yes / no, and terms.]
Compliance
[CERTIFICATIONS AND AUDITS, e.g. SOC 2 status, or "none yet".] Our data processing addendum and privacy policy describe how we handle personal data. A list of our subprocessors is at [SUBPROCESSOR LIST LOCATION].