maintaining-macos-health
Warn
Audited by Gen Agent Trust Hub on May 22, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill uses
sudocommands to remove diagnostic logs and system caches in thereferences/cleanup-tiers.mdfile (Tier 6). While documented for system maintenance, this provides a path for elevated file system modification. - [PERSISTENCE]: The skill installs a macOS
LaunchAgent(com.local.mac-health-check.plist) to run its monitoring script persistently every five minutes across system reboots. - [COMMAND_EXECUTION]: The skill utilizes
launchctlto load and manage background processes and performs various shell-based system audits using tools likedf,memory_pressure, andsysctl. - [EXTERNAL_DOWNLOADS]: The documentation recommends downloading and installing external utilities (
alerter,mole, andstats) from third-party GitHub repositories via Homebrew to support its functionality. - [DATA_EXFILTRATION]: The monitoring script
assets/mac-health-checksupports an optionalNTFY_URLto send system health alerts to a remote ntfy.sh endpoint. While intended for user notifications, this provides a mechanism for transmitting system data externally. - [TIME_DELAYED_ATTACKS]: The script includes a
CALIBRATION_DAYSparameter (defaulting to 7 days) which suppresses active notifications during an initial window, a behavior that gates visible activity based on installation age. - [INDIRECT_PROMPT_INJECTION]: The skill's triage and monitoring workflows ingest data from system logs and diagnostic reports (
JetsamEvent-*.ips). - Ingestion points: Reads files from
/Library/Logs/DiagnosticReports/inassets/mac-health-checkandreferences/triage.md. - Boundary markers: None identified in the log-reading instructions.
- Capability inventory: Significant capabilities including
sudofile deletion, persistence viaLaunchAgents, and network access viacurl. - Sanitization: The script uses
grepfor specific health signals, but the agent's manual parsing of panic logs lacks explicit sanitization instructions.
Audit Metadata