design-component

Pass

Audited by Gen Agent Trust Hub on Nov 19, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to run local Python and Node.js scripts (scaffold_component.py, gate.mjs) with user-supplied arguments such as component names and harness file paths. This pattern creates a surface for command injection if the input contains shell metacharacters.
  • [EXTERNAL_DOWNLOADS]: The requirements section specifies the use of npx ux-ui-agent-skills@3.1.1 init and npx skills@1.7.6 add. These commands download and execute code from the npm registry at runtime. The packages are not from a recognized trusted organization or well-known service provider.
  • [DYNAMIC_EXECUTION]: The skill utilizes Playwright/Chromium to launch a browser instance and navigate to local files using the file:// protocol for visual testing and screenshot capturing. This executes local HTML and JavaScript content in a headless browser context.
  • [INDIRECT_PROMPT_INJECTION]: The skill has a significant attack surface for indirect injection. It ingests untrusted data (user-defined component specifications and names) and processes them through shell commands and browser rendering without explicit sanitization or boundary markers.
  • [DATA_EXPOSURE]: The instructions involve extensive directory traversal (../../../) to access files outside the skill's immediate scope. This includes reading configuration rules, accessibility checklists, and files within a tokens/ directory, which may contain sensitive project-level design tokens or configuration data.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 19, 2026, 12:24 AM