mac-watchdog
Pass
Audited by Gen Agent Trust Hub on Nov 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes numerous system utilities such as
sysctl,vm_stat,top,launchctl,ps,lsof, andfs_usageto monitor system health and manages process signals. It also invokes the system compiler (cc) to build a helper tool from an embedded C source file. - [PRIVILEGE_ESCALATION]: Installation scripts require administrative access via
sudoto register system-wideLaunchDaemonsand manage root-owned system services likefseventsd. This allows the tool to monitor and restart system-level processes. - [PERSISTENCE]: The skill creates persistent background jobs using macOS
LaunchAgentsandLaunchDaemons, ensuring the monitoring scripts run automatically at system startup or user login. - [INDIRECT_PROMPT_INJECTION]: The tool ingests data from process lists, system diagnostics, and Claude session records into the agent's context for reporting. This constitutes a surface for indirect injection if malicious instructions are present in process metadata or logs processed by the tool.
- [DATA_EXPOSURE]: The skill reads local application logs and session metadata from
~/Library/Application Support/Claudeand~/Library/Logs/Claudeto attribute resource usage to specific sessions. This data is collected and stored in local log files under~/Library/Logs/mac-watchdog/.
Audit Metadata