shadcn
Pass
Audited by Gen Agent Trust Hub on Nov 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
npx shadcn@latestto manage the lifecycle of UI components, including initialization, adding primitives, and applying theme presets. These operations are performed within the project's working directory to scaffold or update local React components. - [EXTERNAL_DOWNLOADS]: Fetches component source code, documentation, and registry metadata from official and community registries, such as
ui.shadcn.comor user-defined URLs. The instructions emphasize security best practices by directing the agent to use the CLI's--viewand--dry-runflags to inspect external code before installation. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from external registries which could potentially harbor malicious instructions.
- Ingestion points: Registry metadata and documentation are retrieved via the
shadcnMCP server and theaddcommand. - Boundary markers: No specific delimiters are used, but the skill mandates adherence to documented CLI flags and project-specific configuration.
- Capability inventory: The agent can write to the filesystem and install packages via the
shadcnCLI. - Sanitization: The risk is mitigated by explicit instructions to audit component source code and review documentation URLs before implementation.
Audit Metadata