shadcn
Pass
Audited by Gen Agent Trust Hub on Jun 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill core functionality relies on executing npx shadcn@latest to perform operations like project initialization, component addition, and registry searching. These are standard operations for the tool.
- [COMMAND_EXECUTION]: In SKILL.md, the skill uses dynamic context injection (!npx shadcn@latest info --json) to retrieve project configuration at load time. This command is a safe, read-only diagnostic tool provided by the platform to give the agent context about the user's project.
- [EXTERNAL_DOWNLOADS]: The skill facilitates downloading code and documentation from the official shadcn registry and community registries. It mitigates risks by requiring the agent to use --dry-run, --view, and --diff flags to inspect content and verify its integrity before any files are written to the disk.
- [PROMPT_INJECTION]: There is a potential for indirect prompt injection through data ingested from external registries or documentation URLs. The skill addresses this by instructing the agent to 'read the added files and verify they are correct' and to ensure no rules are violated before finalizing tasks.
Audit Metadata