Keep the installed agent binary root-owned (0755) in both least-privilege profiles and gate Upgrade Detection's --version probe on trusted_lifecycle_regular_file so root never executes a collector-writable binary. Update docs/AGENT_SECURITY.md, its public mirror, and the deployment-installability subsystem doc to match.
Prepare the typed-helper update quarantine with collector authority via runuser unless its parent is a non-symlink root-owned directory closed to group and world writes, and refuse a symlinked quarantine path.
Verify process identity in collect_running_agent_pids (real and effective UID 0, executable basename, and host root directory or jail ID) so unprivileged local users or container processes named pulse-agent cannot inject settings into --update, --retarget, or --uninstall.
Harden safe-profile rollback by refusing symlinked state roots before quiescence, taking ownership and write access of the state root away from the collector before restoring entries, replacing destinations with rm -rf and propagating all entry errors, and discarding non-restored-owner state left inside the state directory when returning to a different service account.
Contract-Neutral: Security hardening of installer verification and privilege boundaries without public contract delta