maintaining-windows-health

Warn

Audited by Socket on Jul 29, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
assets/apply-cleanup-selection.py

This module is not obviously obfuscated and does not contain direct indicators of classic malware (e.g., exfiltration, keylogging, persistence), but it is a high-impact system command executor: it runs PowerShell with ExecutionPolicy Bypass and can perform destructive Windows cleanup/delete operations based on 'command' strings from a JSON file. While validate_command() attempts to restrict command heads, metacharacters, and target paths, the use of '-Command' with externally provided strings remains a significant supply-chain and security risk and could be abused if validation is bypassed or if an attacker controls the selection JSON/scan roots/protected overrides.

Confidence: 72%Severity: 75%
SecurityMEDIUM
assets/Install-WinHealthCheck.ps1

This fragment implements recurring, hidden PowerShell execution with ExecutionPolicy Bypass via Windows Task Scheduler persistence, immediately executes the payload from a configurable path ($ScriptDst), and uses log/silent markers for verification and suppression. While the snippet itself does not show explicit exfiltration or credential theft, the persistence and defense-evasion characteristics are significant supply-chain risk signals. The true malware/intent probability depends heavily on what $ScriptDst (and the referenced Install-WinHealthCheck.ps1) actually does and whether integrity checks/provenance are enforced.

Confidence: 55%Severity: 78%
Audit Metadata
Analyzed At
Jul 29, 2026, 02:34 AM
Package URL
pkg:socket/skills-sh/codealive-ai%2Fai-driven-development%2Fmaintaining-windows-health%2F@64b43987742e921688c9d87e6e282d055a09febe55fa3a1ab21a49574c52d57e
Security Audit — socket — maintaining-windows-health