Supply chain
mediumContextual riskmedium confidenceThe skill instructs the agent to run `npx shadcn@latest add ...` during bootstrap, fetching and executing the latest unpinned version of the shadcn CLI from the npm registry, so the executed code is whatever the mutable @latest tag resolves to at runtime.
npx shadcn@latest add button card input label textarea select switch tabs dialog alert-dialog sheet dropdown-menu badge separator skeleton table
Counter-argument considered
The instruction's sink is executing whatever the mutable @latest tag of the shadcn CLI resolves to at runtime, which is not a pinned official-registry install, and no declared claim covers external CLI execution (D8 even confines runs to scripts that exist in package.json), so no carve-out, declaration, or mitigation kills the finding. The locator says line 152 while the quote sits at line 153 of the cited unit; a one-line offset does not falsify the claim.