skills/crazynomad/skills/disk-cleaner/Gen Agent Trust Hub

disk-cleaner

Fail

Audited by Gen Agent Trust Hub on Oct 5, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The script scripts/mole_cleaner.py contains a method to install the Homebrew package manager using a shell subshell to download and run a script from raw.githubusercontent.com. While this involves executing remote code, the source is the official Homebrew repository, a well-known service for macOS developers.
  • [INDIRECT_PROMPT_INJECTION]: The skill's report generation logic in scripts/mole_cleaner.py disables Jinja2's automatic HTML escaping. This creates a vulnerability surface where filenames on the disk could be crafted to include malicious JavaScript, leading to an XSS vulnerability when the generated HTML report is opened.
  • Ingestion points: File paths and directory metadata retrieved from the system via the mo utility and read into the report data structures.
  • Boundary markers: None identified; data is interpolated directly into templates.
  • Capability inventory: The script possesses capabilities for local file writing and executing system commands via the subprocess module.
  • Sanitization: Filenames are not sanitized or escaped; autoescaping is explicitly disabled in the template environment.
  • [COMMAND_EXECUTION]: The skill uses subprocess.run to interact with various system utilities such as df and mo for disk monitoring and cleaning operations.
  • [EXTERNAL_DOWNLOADS]: The skill automates the download of the Homebrew installation script from its public GitHub repository.
Recommendations
  • HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 5, 2026, 11:00 AM