T09 · Insecure Skill Coding Practices
- Location
references/templates/agents/story-researcher.md- Finding
Externally discovered URLs are interpolated into shell-interpreted commands
- Content
View full analysis
Impact
On POSIX shells, command substitution remains active inside double quotes, even when the enclosed JavaScript contains single quotes. A URL containing a literal $(id) illustrates the parsing issue: the shell executes id before passing the argument to agent-browser. A malicious substitution could execute other commands with the agent process's available permissions, enabling unauthorized file access or modification.
