add-shadcn-component

Warn

Audited by Snyk on May 14, 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.80). The skill's Phase 1 explicitly runs "pnpm dlx shadcn@latest add <component...>" which fetches generator templates from the public npm/GitHub ecosystem, and Phase 2 then requires the agent to read and modify those newly generated files, so untrusted third‑party content is ingested and directly influences subsequent edits, build, and commit actions.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

  • Potentially malicious external URL detected (high risk: 0.80). The skill runs the shadcn CLI at runtime via "pnpm dlx shadcn@latest" which fetches and executes remote code from the npm registry (e.g. https://registry.npmjs.org/shadcn) and is required by the skill to add components, so this is a runtime external dependency that executes remote code.

Issues (2)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
MEDIUM
Analyzed
May 14, 2026, 06:26 AM
Issues
2
Security Audit — snyk — add-shadcn-component