sidequest
Fail
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
osascript(AppleScript) to programmatically control macOS Terminal.app or iTerm2 to open new tabs and execute shell commands (cdandclaude). - [DYNAMIC_EXECUTION]: The
scripts/sidequest.shscript is vulnerable to command injection. It takes the--taskand--contextarguments (which contain user input and agent-generated summaries) and interpolates them into a shell command string that is executed in a new terminal session. Theescape_for_applescriptfunction only handles double quotes, backslashes, and newlines, but fails to escape or sanitize shell-specific metacharacters such as backticks (`), dollar signs ($), or semicolons (;). Consequently, a task description like$(open /Applications/Calculator.app)would be evaluated and executed by the shell in the newly spawned terminal. - [INDIRECT_PROMPT_INJECTION]: The skill creates a significant vulnerability surface by ingesting untrusted data—specifically user-provided task descriptions and summarized session context—and passing it directly into a shell execution context without adequate sanitization. This allows malicious or malformed input to escape the intended prompt string and trigger unintended system commands.
Recommendations
- AI detected serious security threats
Audit Metadata