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
sudoto remove system-level iOS simulator runtimes and to manage APFS snapshots viatmutil. 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, andlsto locate large directories across the user's home and system folders. - It uses
rm -rfto delete caches (CocoaPods, Xcode, browser caches) and build artifacts. - It interacts with external tools like
docker,git, andxcrunto 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, andgit worktree list(SKILL.md). - Boundary markers: Absent.
- Capability inventory:
rm -rf,sudo,docker,git,xcrun(SKILL.md). - Sanitization: Absent.
Audit Metadata