image-to-code
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill operates on a workflow that involves 'deep image analysis' to extract text, typography, and structural elements for code implementation. This introduces a surface where malicious instructions embedded in images (e.g., via OCR) or user-provided design descriptions could influence the generated code.
- Ingestion points: Workflow defined in
SKILL.md(Sections 8, 9, 21-25) where the agent extracts content and design systems from images and user prompts. - Boundary markers: The instructions do not specify the use of delimiters or 'ignore' directives to prevent the agent from obeying instructions found within analyzed image text.
- Capability inventory: The skill is designed to generate and implement functional frontend code (HTML, CSS, JavaScript).
- Sanitization: No mention of sanitizing or validating the text extracted from images before using it in the code generation phase.
Audit Metadata