macos-cheatsheet
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill instructs the agent to ingest potentially untrusted data from system logs, file searches, and the clipboard without explicit boundary markers or sanitization, while maintaining high-privilege capabilities.
- Ingestion points: The skill uses
log show,log stream,mdfind, andpbcopy < file.txt(found in SKILL.md) to read data into the context. - Boundary markers: No explicit markers or instructions to disregard instructions embedded within the ingested data are present.
- Capability inventory: The skill leverages
sudo,launchctl,defaults write,profiles, andnetworksetup(found in SKILL.md) which provide significant system control. - Sanitization: There is no evidence of validation or sanitization logic for data retrieved from external sources before it is processed.
- [PRIVILEGE_ESCALATION]: The skill provides numerous command examples that utilize
sudoto perform administrative tasks, which is expected for its primary purpose of system administration. - Evidence: Snippets include
sudo profiles list,sudo launchctl list,sudo fs_usage, andsudo softwareupdate(SKILL.md). - [COMMAND_EXECUTION]: The skill is primarily composed of shell command snippets for managing macOS systems, networking, and security configurations.
- Evidence: Provides examples for
launchctl bootout,defaults write,networksetup,hdiutil attach, andxattr -d com.apple.quarantine(SKILL.md).
Audit Metadata