Hermes strips sensitive env vars from tool subprocesses, but child processes can recover them by reading /proc/<parent_pid>/environ. Add ProtectProc=invisible and ProcSubset=pid to both systemd services to hide other processes' /proc entries and limit /proc to the service's own PID namespace. Ref: https://github.com/NousResearch/hermes-agent/issues/4427
3.4 KiB
3.4 KiB