ui-demo-animations
Fail
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/figma_to_html.mjsextracts code fragments from a JSON file containing Figma design data and executes them using the Node.jsrequire()function after bundling them withesbuild. This allows for arbitrary code execution if the input design data is maliciously crafted. - [DYNAMIC_EXECUTION]: The skill dynamically compiles and executes code at runtime using
esbuildandrequire. It also utilizesdangerouslySetInnerHTMLinassets/ProductShot.tsxto render HTML content derived from untrusted external sources, which is a significant XSS risk. - [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect injection as it processes external Figma design data without sufficient sanitization or security boundaries.
- Ingestion points:
scripts/figma_to_html.mjs(ingests data from Figma JSON files). - Boundary markers: None identified in the data processing flow.
- Capability inventory: File system writing (
fs.writeFileSync), build tool execution (esbuild.build), and dynamic script loading (require). - Sanitization: No security-related sanitization or validation of the executable code within the design data is performed.
Recommendations
- AI detected serious security threats
Audit Metadata