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.mjs extracts code fragments from a JSON file containing Figma design data and executes them using the Node.js require() function after bundling them with esbuild. 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 esbuild and require. It also utilizes dangerouslySetInnerHTML in assets/ProductShot.tsx to 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
Risk Level
CRITICAL
Analyzed
Oct 27, 2026, 03:40 PM