figma2design
Pass
Audited by Gen Agent Trust Hub on Aug 6, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill downloads screenshots and brand assets using
curl. The source URLs are provided by the official Figma MCP plugin, which is a trusted service for this workflow.\n- [COMMAND_EXECUTION]: The skill uses benign shell commands likemkdir,find, andduto create directory structures and report on the status of generated files within the local environment.\n- [PROMPT_INJECTION]: The skill includes built-in mitigations for potential indirect prompt injection from design files. It features a dedicated sanitization module in the preview logic to prevent malicious markup execution.\n - Ingestion points: Figma design metadata, page structures, and component context retrieved through the official MCP interface.\n
- Boundary markers: The skill treats Figma data as structured design tokens rather than instructions, although it lacks explicit prompt-level delimiters.\n
- Capability inventory: Local file writes to
.design/, folder creation, and network access viacurl.\n - Sanitization: The
preview.jsfile implements thesanitizeActiveMarkupfunction, which stripsscript,iframe, andon*event handlers from generated HTML markup before rendering.
Audit Metadata