ui-tests-local-vm
Warn
Audited by Socket on Nov 28, 2026
1 alert found:
AnomalyAnomalytemplates/oem/Set-UiTestAutoLogon.ps1
LOWAnomalyLOW
templates/oem/Set-UiTestAutoLogon.ps1
This fragment creates or rotates a local account password, stores it via an LSA helper, and enables forced automatic logon through HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon. These changes can expose an unattended interactive session and persist a credential, so they are a significant security concern if not explicitly required for test automation. No external domains, URLs, IP addresses, or environment-variable credential harvesting appear in the shown code. Malware indicators are absent; severity is elevated due to the deliberate auto-logon configuration.
Confidence: 96%Severity: 68%
Audit Metadata