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.tstool invokes the native macOS/usr/bin/shortcutsbinary usingBun.spawnto 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 inIntents/BuildShortcut.mdfor authoring and importing.shortcutfiles that can includeis.workflow.actions.runshellscriptactions. 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]: TheRunShortcutintent and the corresponding tool support an--inputargument that pipes user-provided text directly into a shortcut's standard input. - Ingestion points: Untrusted data enters the agent context through the
--inputparameter inTools/Shortcuts.tsandIntents/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.spawnto execute theshortcutsCLI 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