c-drive-cleaner

Warn

Audited by Socket on Sep 10, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
cleaners/clean-targeted-optimization.ps1

No 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.

Confidence: 60%Severity: 60%
AnomalyLOW
scheduled/weekly-cleanup.xml

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.

Confidence: 63%Severity: 55%
Audit Metadata
Analyzed At
Sep 10, 2026, 06:35 AM
Package URL
pkg:socket/skills-sh/niuhai%2Fskill-c-cleaner%2Fc-drive-cleaner%2F@e9797726337feb2942f2c292555cd4ef3f973acf