macos-disk-usage
Warn
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: MEDIUMPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill instructs the agent to execute
sudo tmutil thinlocalsnapshotsto reclaim space from local snapshots. This is a high-privilege operation that requires administrative permissions. - [EXTERNAL_DOWNLOADS]: The documentation in
references/third-party-tools.mdrecommends installing third-party utilities (dust,dua,gdu,diskonaut) from GitHub repositories using themisetool manager andaquaregistry. - [INDIRECT_PROMPT_INJECTION]: The
scripts/scan-suspects.shscript is vulnerable to command injection via malicious filenames. 1. Ingestion points: File paths are ingested from the local filesystem usingfindanddu. 2. Boundary markers: Absent; file paths are interpolated directly into command strings. 3. Capability inventory: The generated command strings are intended to be executed using the agent'sBashtool. 4. Sanitization: No escaping or sanitization is performed on file paths before they are inserted into command templates (e.g.,rm -rf {dir}), allowing for arbitrary command execution if a directory name contains shell metacharacters like backticks or subshells. - [COMMAND_EXECUTION]: The skill facilitates the execution of various destructive shell commands such as
rm -rfanddocker system prunebased on an internal catalog of suspected disk consumers.
Audit Metadata