Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Document unified agent privilege model

rcourtman6955dc537974
diff --git a/docs/AGENT_SECURITY.md b/docs/AGENT_SECURITY.md
index bc9ac91c4f..575671557a 100644
--- a/docs/AGENT_SECURITY.md
+++ b/docs/AGENT_SECURITY.md
@@ -2,6 +2,44 @@
Pulse agents incorporate several security mechanisms to ensure that the code running on your infrastructure is authentic and untampered with.
+## Agent Privilege Model
+
+Pulse's Linux/systemd installer runs the unified agent as `root` by default.
+That is intentional for full host telemetry: disk SMART data, mdadm/RAID state,
+temperature sensors, Docker or Podman socket reads, Proxmox host details, and
+some NAS/platform integrations commonly require root or equivalent local
+privileges. Running the service as a lower-privilege user may work for a narrow
+subset of metrics, but it is not a supported full-telemetry profile today.
+
+Treat a host agent like other infrastructure monitoring software with local
+root read access:
+
+- install it only on hosts you trust Pulse to monitor;
+- keep the agent token scoped to that Pulse server;
+- keep command execution disabled unless you explicitly need governed
+ remediation;
+- update from signed release assets rather than arbitrary branch snapshots.
+
+Command execution is disabled by default. It can be enabled with
+`--enable-commands`, `PULSE_ENABLE_COMMANDS=true`, or the centralized agent
+command setting after enrollment. Leave it disabled for read-only monitoring.
+When enabled, commands still flow through Pulse's command policy and approval
+surfaces instead of silently turning every agent into an unrestricted remote
+shell.
+
+## Supply-Chain Boundary
+
+The agent self-update path is not just "download the latest binary and run it".
+Release builds require checksum validation, and when trusted update keys are
+embedded they also require an Ed25519 release signature before replacing the
+running binary.
+
+The initial installer is different: if you paste and run a shell command as
+root, you are granting root to that installer at that moment. Prefer the
+release-pinned, signature-verified server installer flow documented in
+[README.md](../README.md) and [INSTALL.md](INSTALL.md), then use the agent
+install command generated by your own Pulse server.
+
## Self-Update Security
The agent's self-update mechanism is critical for security and stability. To prevent supply chain attacks or compromised update servers from distributing malicious or broken agents, Pulse employs a rigorous verification process.
diff --git a/docs/release-control/v6/internal/records/agent-lifecycle-agent-privilege-docs-2026-05-01.md b/docs/release-control/v6/internal/records/agent-lifecycle-agent-privilege-docs-2026-05-01.md
new file mode 100644
index 0000000000..0b3550fe46
--- /dev/null
+++ b/docs/release-control/v6/internal/records/agent-lifecycle-agent-privilege-docs-2026-05-01.md
@@ -0,0 +1,29 @@
+# Agent Lifecycle Agent Privilege Documentation Record
+
+- Date: `2026-05-01`
+- Lane: `L16`
+- Related discussion: `#1445`
+
+## Context
+
+Discussion `#1445` asked whether Pulse agents should run as root, whether a
+lower-privilege read-only mode exists, and what happens if a release source is
+compromised. The runtime already defaults command execution off and verifies
+self-update payloads, but the public agent security guide did not state the
+Linux/systemd privilege model directly.
+
+## Outcome
+
+`docs/AGENT_SECURITY.md` now explains the RC3 agent security posture:
+
+- Linux/systemd agents run as `root` by default for full host telemetry;
+- a lower-privilege profile is not currently a supported full-telemetry mode;
+- command execution remains disabled by default and should stay disabled for
+ read-only monitoring;
+- self-updates require checksum validation and release signatures where trusted
+ update keys are embedded;
+- initial root shell installers are a separate trust boundary, so release-pinned
+ and signature-verified server installer flows are preferred.
+
+This addresses the user-facing security question without changing the governed
+agent runtime contract for RC3.
diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.json
index e8371bc7c4..ed7608f5bb 100644
--- a/docs/release-control/v6/internal/status.json
+++ b/docs/release-control/v6/internal/status.json
@@ -3327,6 +3327,11 @@
"agent-lifecycle"
],
"evidence": [
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/records/agent-lifecycle-agent-privilege-docs-2026-05-01.md",
+ "kind": "file"
+ },
{
"repo": "pulse",
"path": "docs/release-control/v6/internal/records/unified-agent-v5-upgrade-continuity-2026-03-12.md",