shadcn-first
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructs the agent to execute remote tools using
npx, specificallynpx shadcn@latest mcpand@jpisnice/shadcn-ui-mcp-server. While the official shadcn CLI is a well-known service, the community-contributed MCP server represents an external dependency executed at runtime. - [COMMAND_EXECUTION]: The skill performs several shell-level operations, including project initialization with
npx shadcn@latest init, adding components withnpx shadcn add, and auditing the codebase usinggrep -rc 'style={{' src/to count inline style occurrences. - [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection as it ingests untrusted data from project files and external component registries.
- Ingestion points: Reads the project's
components.jsonfile and component source code/metadata fromui.shadcn.comandprompt-kit.comvia MCP tools. - Boundary markers: None explicitly defined in the instructions to prevent the agent from following instructions embedded in the external component documentation or source code.
- Capability inventory: The skill has the capability to execute shell commands (npx, grep) and read/write project files through its configured MCP servers.
- Sanitization: There is no evidence of sanitization or validation of the content retrieved from external registries before the agent processes it for UI generation.
Audit Metadata