shadcn
Fail
Audited by Snyk on Jul 9, 2026
Risk Level: CRITICAL
Full Analysis
CRITICAL E005: Suspicious download URL detected in skill instructions.
- Suspicious download URL detected (high risk: 0.70). One URL (https://api.npoint.io/abc123) is a generic public JSON hosting endpoint referenced as an arbitrary add-source for the CLI, which makes it a potentially risky channel for delivering arbitrary component code that could include malicious payloads.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.75). The required workflow includes fetching component documentation/examples and viewing registry items at runtime (e.g.,
npx shadcn@latest docs/view/add), which can ingest outsider-authored free text from public/community registries and linked example sources into the agent’s LLM context.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The skill explicitly instructs the agent to run the CLI and fetch documentation/example URLs at runtime (e.g. docs output links like https://raw.githubusercontent.com/... and the community registry index https://ui.shadcn.com/r/registries.json), so remote content is retrieved during runtime and intended to be injected into the agent workflow to guide prompts and component installation.
Issues (3)
E005
CRITICALSuspicious download URL detected in skill instructions.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata