shadcn-core-cli
Warn
Audited by Snyk on Jun 28, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.85). The required runtime workflow for this skill is
shadcn add/view/docs/searchwhich fetches registry item JSON (and possibly docs snippets) from outsider-controlled sources (e.g., public web URLs or custom registries specified incomponents.json), and then ingests the fetched JSON/text into the CLI’s LLM context for diff/preview generation.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The shadcn CLI explicitly fetches registry JSONs at runtime (e.g., the default registry URL pattern https://ui.shadcn.com/r/{name}.json and example remote URLs like https://example.com/registry-items/datepicker.json) and injects the fetched component source into the project, so remote content directly controls what code/files are installed by the tool.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata