diagnose-dead-global-hotkey

Pass

Audited by Gen Agent Trust Hub on Nov 7, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes local system commands like ioreg to check for Secure Event Input and uses swift to run its internal diagnostic scripts.
  • [DYNAMIC_EXECUTION]: The skill relies on several Swift scripts (tap-census.swift, key-path-logger.swift, hotkey-probe.swift) that are compiled and executed at runtime using the swift interpreter. These scripts interact with macOS CoreGraphics and AppKit APIs to monitor and post keyboard events.
  • key-path-logger.swift: Monitors keyboard events via CGEventTap. It specifically includes a safeguard to ignore plain-text typing, only logging 'chords' that involve modifier keys (Command, Control, or Option) to protect user privacy.
  • hotkey-probe.swift: Posts synthetic keyboard events to test if specific hotkeys are firing.
  • tap-census.swift: Lists all active event taps on the system to identify potential 'swallowers' that might be intercepting keys.
  • [PRIVILEGE_ESCALATION]: The diagnostic functionality requires the user to grant 'Input Monitoring' permissions to the terminal or application running the scripts, which is a standard macOS security requirement for event tapping.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 7, 2026, 02:12 AM