The skill enables arbitrary file writes via untrusted URL downloads and exposes the agent to indirect prompt injection through unvalidated tool outputs.
Findings (9)
Content Injection
Hightargets Perception
The skill relies on `outputComponents` (Text Description and Suggestions) returned by the Stitch MCP tools. If these outputs are treated as instructions or rendered in a way that influences the agent's subsequent behavior, it creates an indirect prompt injection vector. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
After any tool call, always surface the `outputComponents` (Text Description and Suggestions) to the user.
Behavioural Control
Hightargets Action
The skill instructs the agent to use `curl -o` via `run_command` to download arbitrary URLs provided by the Stitch MCP output. If the MCP tool output is compromised or malicious, this allows an attacker to write arbitrary files to the user's local `.stitch/designs` directory. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
Tools: Use `curl -o` via `run_command` or similar.
Code contains network access patterns (HTTP requests, socket connections).
Hygiene
Lowtargets Packaging & Manifest
Skill name does not conform to the Agent Skills spec: 1–64 lowercase alphanumeric characters and hyphens, with no leading, trailing, or consecutive hyphens.
stitch::generate-design
SKILL.md links to "examples/enhanced-prompt.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[examples/enhanced-prompt.md](examples/enhanced-prompt.md)
SKILL.md links to "references/design-mappings.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[Design Mappings](references/design-mappings.md)
SKILL.md links to "references/prompt-keywords.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[Prompting Keywords](references/prompt-keywords.md)
Skill does not specify a license field. Specifying a license helps users understand usage terms.
The SKILL.md 'name' field does not match the skill's parent directory name, which the Agent Skills spec requires. A mismatch can confuse skill resolution or mask the skill's real identity.
stitch::generate-design ≠ generate-design