DashboardopencodeMainPID user-writable restart

MainPID user-writable restart

Category: gotcha
Confidence: 1.00
ID: 01a08034-9406-7f3c-b329-11e63ad005f7
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 0GocXtkoF6RpKz0b5
Created: 2026-09-08 08:48:44
Updated: 2026-09-08 08:48:44

Content

Trap: authenticating the active systemd MainPID and hashing the three Go helpers looks runtime-bound, but Restart=always can relaunch a same-UID-replaced SEA or auto-loaded plugin that still passes MainPID authentication. Fix: install the exact SEA and loaded plugins in root-controlled immutable locations and bind their hashes—plus incorporated Core host source—to the readiness manifest before startup.

Move to: