Shortcuts

Pass

Audited by Gen Agent Trust Hub on Nov 24, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The Tools/Shortcuts.ts tool invokes the native macOS /usr/bin/shortcuts binary using Bun.spawn to perform listing and execution tasks. This is the intended functionality for bridging system shortcuts to the agent's environment.- [DYNAMIC_EXECUTION]: The skill provides instructions in Intents/BuildShortcut.md for authoring and importing .shortcut files that can include is.workflow.actions.runshellscript actions. This allows the agent to create or import automated workflows that execute shell commands on the host machine. The skill includes a security warning to only import trusted shortcuts.- [INDIRECT_PROMPT_INJECTION]: The RunShortcut intent and the corresponding tool support an --input argument that pipes user-provided text directly into a shortcut's standard input.
  • Ingestion points: Untrusted data enters the agent context through the --input parameter in Tools/Shortcuts.ts and Intents/RunShortcut.md.
  • Boundary markers: The skill recommends using 'Shortcut Input' as the first action to avoid interactive prompts, but does not provide delimiters to separate instructions from data within the input stream.
  • Capability inventory: The skill uses Bun.spawn to execute the shortcuts CLI and provides instructions for creating shortcuts that can run shell scripts or control HomeKit devices.
  • Sanitization: No sanitization or validation of the input string is performed before it is piped to the shortcut's stdin.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 24, 2026, 02:44 AM