macos-watchdog
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill includes
scripts/new-launchagent.sh, which utilizeslaunchctl(the native macOS service manager) to load and unload background tasks. The script performs validation on inputs such as labels and paths to ensure the generated plists are valid and safe to execute. - [PRIVILEGE_ESCALATION]: The
new-launchagent.shscript usessudofor operations that require root privileges, specifically when installing agents to the system-wide/Library/LaunchDaemonsdirectory. This is standard macOS administrative behavior and is explicitly gated by a--systemflag. - [EXTERNAL_DOWNLOADS]: An example auditing fixture script (
broken-heal.sh) contains a health check usingcurltogoogleapis.com, which is a well-known and trusted domain for connectivity testing. No unauthorized or suspicious external downloads were detected. - [PERSISTENCE]: While the skill is dedicated to managing
launchdjobs (a form of persistence), its purpose is to provide a structured and auditable way for users to manage their own background processes. It includes best practices for 'quiet watchdogs' that stand down when their remediation goals are unachievable, reducing the risk of unintended persistence loops. - [INDIRECT_PROMPT_INJECTION]: The skill acknowledges the risks of automated remediation and provides remediation guidance (e.g., Pattern 1: Premise-state self-check) to ensure that watchdogs do not act on stale or untrusted signals, serving as a defensive measure against unintended behavior.
Audit Metadata