stitch-react-native
Pass
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes the
Bashtool to executescripts/fetch-stitch.sh, which wrapscurlto download design assets. While the script properly quotes its variables, the invocation involves passing remote URLs as arguments, which could lead to command injection if the agent does not properly escape the input. - [EXTERNAL_DOWNLOADS]: The skill fetches HTML designs and screenshot images from Google Cloud Storage URLs provided by the
stitch:get_screenMCP tool. These downloads are performed at runtime to facilitate the design-to-code workflow. - [REMOTE_CODE_EXECUTION]: Phase 4 of the skill instructions permits the agent to run
npm installto set up validation dependencies andnpx react-native startto launch development packagers. The skill includes a safety gate requiring explicit user permission before executing these commands. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from external Stitch projects to extract theme tokens and map HTML to components, creating a surface for indirect prompt injection.
- Ingestion points:
Phase 1andPhase 2involve downloading and reading HTML files from external URLs to parsetailwind.configblocks and DOM structures. - Boundary markers: Absent; there are no specific instructions to treat the downloaded HTML content as untrusted data or to use delimiters to prevent the agent from following instructions embedded within the design files.
- Capability inventory: The agent has access to
Bash(shell execution),Write(file system modification), andweb_fetchtools. - Sanitization: The skill provides
scripts/validate.js, which uses the@swc/coreAST parser to statically analyze generated code for anti-patterns, providing a layer of validation for the agent's output.
Audit Metadata