shadcn
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFEDYNAMIC_CONTEXT_INJECTIONINDIRECT_PROMPT_INJECTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_CONTEXT_INJECTION]: The skill utilizes the
!commandsyntax inSKILL.mdto executenpx shadcn@latest info --jsonat load time. This command automatically populates the agent's context with project-specific settings, aliases, and state to ensure project-aware operations. - [INDIRECT_PROMPT_INJECTION]: The skill instructions and tools create a surface for indirect prompt injection by ingesting data from external, potentially untrusted sources.
- Ingestion points: Component documentation URLs fetched via the
docscommand and component source code added from community-defined registries or external URLs. - Boundary markers: There are no specified boundary markers or instructions to ignore embedded prompts when the agent fetches and processes these external resources.
- Capability inventory: The skill is configured to use the
Bashtool to run CLI commands, which includes the ability to modify project files and perform network requests. - Sanitization: The skill advises the agent and user to "always read the added files and verify they are correct," which serves as a manual review step, but no automated sanitization is described.
- [REMOTE_CODE_EXECUTION]: The skill relies on the execution of the
shadcnCLI using package runners likenpx,pnpm dlx, orbunx. The CLI includes functionality to download and integrate code directly from remote registries and arbitrary URLs into the local project. - [EXTERNAL_DOWNLOADS]: The skill manages the download of the
shadcnCLI from the NPM registry and fetches UI components and presets from the officialui.shadcn.comregistry and other user-configured community registries.
Audit Metadata