stitch-design
Pass
Audited by Gen Agent Trust Hub on Mar 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute environment setup and data retrieval commands including
npm install,npx shadcn, andcurl. It includes a PowerShell scriptscripts/stitch-to-react.ps1that automates directory creation and writes project configuration and source files (App.tsx, mockData.ts) to the local disk.- [EXTERNAL_DOWNLOADS]: The skill downloads standard development dependencies from the npm registry and fetches design assets from Google Stitch MCP project endpoints. These sources are considered well-known and trusted for the skill's intended purpose.- [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface as it processes untrusted HTML and JSON data from external Stitch projects to generate React components. - Ingestion points: Design data and HTML structures fetched from the Stitch MCP via tools like
mcp_stitch_get_projectandmcp_stitch_list_screens. - Boundary markers: Absent; the instructions do not suggest wrapping external design content in delimiters or applying warnings to ignore embedded instructions during code generation.
- Capability inventory: The agent can execute package installations via
npm, perform file-write operations via the PowerShell script, and make network requests viacurl. - Sanitization: No sanitization or validation of the ingested HTML/JSON content is specified before the data is interpolated into code generation prompts.
Audit Metadata