design-component

Pass

Audited by Gen Agent Trust Hub on Sep 29, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute several local utility scripts for component scaffolding and automated verification.
  • Executes python3 scripts/scaffold_component.py for initial file generation.
  • Executes Node.js scripts (verify_states.mjs, axe_audit.mjs, measure_render.mjs, verify_focustrap.mjs, verify_responsive.mjs) to perform accessibility, contrast, and layout audits.
  • Uses Playwright (via chromium.launch) for visual regression testing and state verification.
  • [INDIRECT_PROMPT_INJECTION]: The skill contains a surface for potential command injection where user-supplied input is interpolated into a shell command.
  • Ingestion points: The <Name> argument in the instruction python3 scripts/scaffold_component.py "<Name>" originates from user requests.
  • Boundary markers: The skill uses double quotes to delimit the input string.
  • Capability inventory: The skill has access to shell execution for Python, Node.js, and browser automation via Playwright.
  • Sanitization: There is no explicit sanitization instruction for the component name before it is passed to the shell script.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 29, 2026, 07:06 AM