macos-watchdog
Pass
Audited by Gen Agent Trust Hub on Nov 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCEPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PERSISTENCE]: The skill's primary function is to design and deploy macOS LaunchAgents and LaunchDaemons, which are standard persistence mechanisms on macOS.
- [COMMAND_EXECUTION]: It executes local system binaries such as
launchctl,plutil, andosascriptto manage services and display notifications. - [PRIVILEGE_ESCALATION]: The installation script
scripts/new-launchagent.shutilizessudoto install LaunchDaemons in system-wide directories when authorized by the user. - [DYNAMIC_EXECUTION]: The skill dynamically generates XML plist files and shell scripts based on user input or templates before loading them into the system service manager.
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted configuration data from
launchctl printoutputs and external plist files (e.g., inscripts/inspect_native_job.py). While boundary markers like strict plist parsing and specific regex matching are present, the skill's capabilities include writing files and managing system services vianew-launchagent.sh. Sanitization involves strict label validation and absolute path checks to mitigate malicious payloads in configuration values.
Audit Metadata