koi-import-figma-flow

Pass

Audited by Gen Agent Trust Hub on Nov 28, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes local shell commands to facilitate the import process:
  • Uses curl to download assets.
  • Uses cwebp for image compression.
  • Runs npm run typecheck to validate project integrity.
  • Executes an embedded Python script to parse Figma metadata using xml.etree.ElementTree.
  • [EXTERNAL_DOWNLOADS]: Fetches screen screenshots from Figma's official API to populate the project's public asset directory.
  • [DYNAMIC_EXECUTION]: Programmatically generates and updates application source files:
  • Modifies app/koi/projects/_data/projects.ts by generating manifest entries for imported screens.
  • Updates app/koi/page.tsx to activate project hub cards.
  • [INDIRECT_PROMPT_INJECTION]:
  • Ingestion points: Parses frame names and section labels from Figma metadata via the Figma MCP.
  • Boundary markers: None identified in the provided instructions.
  • Capability inventory: File system write access, execution of Python and Bash scripts, and project-level command execution (npm).
  • Sanitization: The skill indicates intent to clean labels, but does not implement robust validation for all data imported from the design tool.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 28, 2026, 09:42 PM