npm
The npm group (4 checks) covers unpublishing and deprecating packages with npm, yarn and pnpm.
The npm group has 4 checks. They protect the people who depend on your packages: an unpublished version disappears from the registry, and every project that installs it breaks.
Example
shellfirm check -c 'npm unpublish left-pad --force'1 risky pattern(s) matched:
[npm:unpublish] [CRITICAL] Unpublishing a package removes it from the registry, breaking all downstream dependents.
Shell (you, in a terminal): would challenge (Yes, escalated from Math: severity CRITICAL)
AI agent (hooks, MCP): deny (blocked)
why: Severity CRITICAL meets or exceeds agent auto-deny threshold HIGHChecks
| Check id | Severity | What it catches |
|---|---|---|
npm:unpublish | Critical | Unpublishing a package removes it from the registry, breaking all downstream dependents. |
npm:deprecate | High | Deprecating a package marks it as deprecated for all users. |
npm:yarn_unpublish | Critical | Unpublishing a package removes it from the registry, breaking all downstream dependents. |
npm:pnpm_unpublish | Critical | Unpublishing a package removes it from the registry, breaking all downstream dependents. |
Notes
- Prefer
npm deprecate <pkg>@<version> "<message>"for a single bad version over unpublishing, and publish a fixed version. - npm is also how shellfirm follows package runners:
npx,pnpm dlxandbunxrun the package's own command, sonpx vercel@latest remove …ornpx firebase-tools …get the checks of that tool. See Hosting platforms.
Hosting platforms
Heroku, Railway, Vercel, Netlify and Fly.io, plus Supabase, Firebase, Cloudflare, Neon, PlanetScale, Turso and Render, including commands run remotely on them.
System and network
The base group (33 checks) covers machine, process, cron, systemd, user, SSH-agent and shell-history commands; the network group (22 checks) covers firewalls, routes, interfaces, reverse shells and destructive HTTP and GraphQL API calls.