c-drive-cleaner
Audited by Socket on Sep 10, 2026
2 alerts found:
Anomalyx2No direct indicators of malware such as credential theft, network exfiltration, persistence, or obfuscated payloads are present in the provided fragment. The primary security concern is high-impact destructive behavior: the script can permanently delete filesystem entries when explicitly invoked with -ReallyDelete, and the effective safety of deletion operations depends heavily on dot-sourced helper code from _common.ps1 plus the contents of the JSON configuration. If either the helper script or targeted-optimization.json is compromised, the module could be repurposed for destructive sabotage. Root confinement checks, preview-by-default, process-running skips, and AllowedRoots passed to deletion helpers provide some guardrails, but cannot fully eliminate risk without reviewing the external helpers and the config schema/content.
No explicit malicious behavior (e.g., network exfiltration, credential theft, or embedded payload) is visible in this XML alone. However, it schedules elevated PowerShell execution that bypasses execution-policy protections and runs a script whose path is determined by an environment variable. This creates a high-impact integrity risk if C_DRIVE_CLEANER_ROOT or the referenced clean-safe.ps1 can be tampered with. Verify environment-variable origin/protection and confirm clean-safe.ps1 integrity and deletion scope.