T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/install.cjs:66- Finding
Watchdog Persistence Runs with Unnecessary Root or SYSTEM Privileges
- Content
View full analysis
{}); execSync( `schtasks /create /tn "${taskName}" /tr "node ${scriptPath} monitor" /sc onstart /ru SYSTEM /rl highest /f`, { encoding: 'utf8' } ); return true; } catch (e) { return false; } } ``` ### Technical Analysis The installer creates a reboot-persistent systemd service on Linux and a boot-triggered scheduled task on Windows. The Linux service explicitly uses `User=root`, while the Windows task uses `/ru SYSTE ...[truncated 2162 chars]- Remediation
View remediation
