mac-storage-cleaner

Pass

Audited by Gen Agent Trust Hub on Jul 22, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes standard macOS system commands such as rm, du, find, and chmod to identify and remove cache files. These operations are restricted to the user's home directory and temporary folders.
  • [COMMAND_EXECUTION]: Uses osascript (AppleScript) to interact with the macOS Finder for trashing files. This enables a reversible deletion workflow that allows users to restore items from the Trash. The implementation correctly handles file paths as arguments to prevent script injection.
  • [COMMAND_EXECUTION]: Optionally executes tool-specific cleanup commands such as brew cleanup and xcrun simctl if Homebrew or Xcode developer tools are detected on the system.
  • [SAFE]: The skill explicitly avoids using sudo or attempting to access System Integrity Protection (SIP) protected areas of the disk.
  • [SAFE]: No network activity was detected; the skill does not download external scripts or exfiltrate system data.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 22, 2026, 07:24 PM
Security Audit — agent-trust-hub — mac-storage-cleaner