Log inGet a Demo

generate-design

High · Risk 70

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

High

targets Perception

1 finding
#1Potential indirect prompt injection via MCPhighindirect prompt injection70% confidenceline 89

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

High

targets Action

2 findings
#1Unrestricted shell execution via curlhighcommand execution80% confidence

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.
#2Network access detectedmedium80% confidence

Code contains network access patterns (HTTP requests, socket connections).

Hygiene

Low

targets Packaging & Manifest

6 findings
#1Invalid skill name formatlow100% confidence

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
#2Referenced file missing from skill packagelow90% confidence

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)
#3Referenced file missing from skill packagelow90% confidence

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)
#4Referenced file missing from skill packagelow90% confidence

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)
#5Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.

#6Skill name does not match directoryinfo100% confidence

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