Security and install

A monitoring panel is the one place that can see every machine it watches. That is why this product's security choices are not details hidden behind a feature list, but things that belong on the first page.

The security model

A signed request, a secret that never travels

Every agent request is signed with HMAC-SHA256 over the method, path, timestamp, nonce and a digest of the body. The secret never travels, the timestamp is checked against a 300-second window, and the nonce is remembered for that window — so a captured request cannot be replayed.

A short-lived panel session

The panel API uses short-lived RS256 JWTs with refresh tokens, plus optional TOTP two-factor authentication.

The live stream is not a second door

A realtime subscription goes through the same authorisation check the HTTP endpoint runs. The WebSocket layer cannot quietly drift into being a bypass.

The command line never arrives

Nothing the agent collects carries a command line. A process is “mysqld”; its argv is “mysqld --password=…”. Only names and binary paths cross the wire.

The sandbox is a constraint, not an obstacle

Naming the process behind a listening socket needs access to another user's /proc entry. Rather than granting that fleet-wide, the panel reports the socket's owning account and the container that published the port — and says which of the two it is showing.

Signed releases

Agent releases are signed with Ed25519, and the installer verifies the signature against a pinned fingerprint. Without the pin the check proves only that the download was not corrupted in transit, which TLS already said.
Installing

Installing

The host needs only Docker and make. PHP, Composer, Node and Go all run inside containers; make setup generates the secrets, builds the images, installs the dependencies, generates the JWT keys and migrates the database.

make setup
make user-create

Installing an agent on a server is one line. The installer creates an unprivileged vigil-agent user, writes the configuration with mode 0600, installs the systemd unit and enables the service. Container metrics need access to the Docker socket, so they are deliberately opt-in.

What it runs on

panelSymfony 8.1 · PHP 8.4
dataMySQL 8.4
queueRedis 8
realtimeCentrifugo 6
interfaceVue 3 · Inertia · Tailwind 4
agentGo 1.26
web serverNginx 1.30
workersSupervisor · Messenger

The production stack is a separate compose file, used on its own rather than as an override. Compose merges files by union and can never remove a service, so layering would keep the three things production most needs to be without: the dev server, the mail catcher and the source bind mount.

Operations

Backups

The schema is dumped in full, and the data only for what cannot be reconstructed: users, servers, agent secrets, alert rules, channels, incidents and sign-in records. Metric tables are excluded on purpose — they are most of the rows and almost none of the value.

Deploys

Preflight → backup → build → migrate → replace the web containers → recreate the workers → verify. The worker step is forced: queue consumers load the code once and hold it for an hour.

Rollback

Images are tagged with the git revision, so rolling back is a variable. The database is not rolled back with them — that is what the backup step is for.