Agent install: drop auto-elevation, require elevated PowerShell #17

Merged
gsadmin merged 1 commits from dev into main 2026-08-12 19:00:02 +00:00

1 Commits

Author SHA256 Message Date
gsadmin 8f9adcf3bb Agent install: drop auto-elevation, require an elevated PowerShell [skip ci]
The Windows install one-liner self-elevated (IsInRole -> write a temp .ps1 ->
Start-Process -Verb RunAs), which Defender flagged as Win32/ClickFix.SZZ - an
"executes commands / auto-elevates" heuristic. The scripts now run in place:
no UAC relaunch, no temp scriptblock, no self-delete. The operator runs the
command from an elevated PowerShell, and the Add device modal states that
prerequisite on one concise line (Windows only; the unix installers already
use sudo). Backend + zip installers and the elevation test updated to match.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-12 14:18:57 -04:00