system-disk-cleanup

Pass

Audited by Gen Agent Trust Hub on Dec 1, 2026

Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill uses sudo to remove system-level iOS simulator runtimes and to manage APFS snapshots via tmutil. This allows the agent to execute specific administrative maintenance tasks on the host system.
  • [COMMAND_EXECUTION]: The skill executes local shell commands to inspect disk usage and delete files.
  • It uses find, du, and ls to locate large directories across the user's home and system folders.
  • It uses rm -rf to delete caches (CocoaPods, Xcode, browser caches) and build artifacts.
  • It interacts with external tools like docker, git, and xcrun to manage specialized storage hogs.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the local file system (filenames and directory paths) and processes it to make deletion recommendations. Since the skill has the capability to delete files, it is vulnerable to injection if the file system contains maliciously crafted filenames.
  • Ingestion points: File paths and names read via find, ls, du, and git worktree list (SKILL.md).
  • Boundary markers: Absent.
  • Capability inventory: rm -rf, sudo, docker, git, xcrun (SKILL.md).
  • Sanitization: Absent.
Audit Metadata
Risk Level
SAFE
Analyzed
Dec 1, 2026, 06:44 AM