image-to-code

Pass

Audited by Gen Agent Trust Hub on Sep 29, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructions direct the agent to execute various local utility scripts for its core operations, including python3 scripts/design_systems.py search <term>, scripts/contrast.py, scripts/validate_contrast.py, node scripts/measure_render.mjs, lint_hardcodes.py, and taste_audit.mjs. It also executes npm run verify to confirm the final output meets the definition of done.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided images, screenshots, and mockups as input data. This represents a potential attack surface where instructions could be embedded within images (OCR injection). However, the skill instructions are strictly focused on inferring visual design tokens (palette, spacing, etc.) rather than executing commands found within the image text, which significantly mitigates this risk.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 29, 2026, 07:06 AM