ui-kit-from-code
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill executes various system commands to perform discovery and synchronization tasks.
references/sync-kit.pyinvokesgitandghCLI tools via thesubprocessmodule to manage repository state and push updates.SKILL.mdworkflows involve running Node.js and Python scripts to automate the UI kit generation process.- [DYNAMIC_EXECUTION]: The skill extracts design tokens by dynamically generating and executing code within the project's environment.
- Workflow
W02creates a temporary test script (lib/zz-kit-dump.test.ts), executes it usingvitestto dump token values, and then removes the file. - [DATA_EXFILTRATION]: The skill is configured to upload generated UI kits to a remote repository.
- The
sync-kit.pyscript defaults to syncing kits to a private repository under theRheinmirorganization. While it verifies the repository is private, this involves transferring project-specific design data to a remote destination. This behavior can be disabled using theUI_KIT_SYNCenvironment variable. - [INDIRECT_PROMPT_INJECTION]: The skill analyzes external websites, which introduces a surface for indirect prompt injection.
- Ingestion points:
references/discover.mjsuses Playwright to visit external URLs and extract HTML and style information. - Capability inventory: The skill can write files, execute shell commands, and interact with external repositories (file:
SKILL.md,references/sync-kit.py). - Boundary markers: The skill includes logic to respect
robots.txtand provides mechanisms to skip specific patterns, but lacks explicit prompt delimiters to prevent the agent from following instructions embedded in scanned web content. - Sanitization: The skill does not perform robust sanitization of the HTML content extracted from external sites before it is processed by the agent.
- [EXTERNAL_DOWNLOADS]: The skill retrieves data from external web origins during its discovery phase.
references/discover.mjsfetchesrobots.txtand navigates to external websites usingpage.goto()to gather UI component data.
Audit Metadata