T09 · Insecure Skill Coding Practices
- Location
SKILL.md:189- Finding
Shell Command Injection Through Untrusted Publishing Parameters
- Content
View full analysis
\ --slug \ --name \ --version \ --changelog "" \ --tags "" ``` ### Technical Analysis The skill is allowed to use `ExecuteShellCommand` and instructs the agent to construct a command using values obtained from: - User responses, particularly the changelog and tags. - `SKILL.md` frontmatter. - The skill directory name and filesystem path. - Output returned by `clawhub inspect`. The command template does not require an argument-array execution API, strict validation, or context-appropriate shell escaping. The skill path, slug, display name, and version are shown without quoting. Although changelog and tags are enclosed in double quotes, double quotes do not prevent shell command substitution using `$(...)` or backticks. For example, a changelog containing the following value would remain executable when interpolate ...[truncated 1958 chars]- Remediation
View remediation
