shadcn

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_CONTEXT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted external data, specifically from DESIGN.md files provided by the user and content from remote documentation/example URLs fetched via the CLI.
  • Ingestion points: DESIGN.md files (read from the project root or remote URLs) and component documentation/example URLs (e.g., ui.shadcn.com/docs/...) fetched by the agent during the workflow.
  • Boundary markers: The instructions do not mandate the use of explicit boundary markers or "ignore embedded instructions" warnings when the agent processes these inputs to generate theme variables or component code.
  • Capability inventory: The agent has the ability to run shell commands (via the shadcn CLI), write/modify TSX and CSS files, and execute a local Node.js script (scripts/showcase-coverage.mjs).
  • Sanitization: No sanitization or validation logic is specified for content parsed from design specifications before it is interpolated into the project's code or styles.
  • [DYNAMIC_CONTEXT_INJECTION]: The SKILL.md file utilizes dynamic context injection (!command) to execute npx shadcn@latest info --json when the skill is loaded. This is a benign use of the feature intended to provide the agent with immediate project configuration (framework, aliases, Tailwind version) for correct operation.
  • [COMMAND_EXECUTION]: The skill's core functionality relies on executing the shadcn CLI tool through various package managers (npx, pnpm dlx, bunx). These commands are used for project initialization, component discovery, and installation. The agent is also instructed to run a provided Node.js script (scripts/showcase-coverage.mjs) to verify component coverage in the generated design system.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 01:31 PM