image-to-code
Pass
Audited by Gen Agent Trust Hub on Nov 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes multiple local scripts using python3 and node, including scripts/design_systems.py, scripts/contrast.py, scripts/validate_contrast.py, and scripts/measure_render.mjs. It also invokes npm run verify to perform final project verification and auditing.
- [INDIRECT_PROMPT_INJECTION]: 1. Ingestion points: The skill processes user-supplied reference images, screenshots, and mockups as the primary input for design reconstruction. 2. Boundary markers: No explicit delimiters or boundary markers are used to separate visual data interpretation from the agent's instructions. 3. Capability inventory: The skill has the capability to execute local scripts (Python/Node.js) and run shell commands via npm. 4. Sanitization: Verification steps include lint_hardcodes.py and taste_audit.mjs to check the generated UI code for hardcoded values and design consistency.
Audit Metadata