npkill

SAFE max severity MEDIUMSkillSpector Safe 8 registry clawhub.ai last scanned 1 scan

Verdict safe, but 1 finding (1 medium), mainly resource abuse. Most recent scan 2026-02-06.

The npkill skill is a legitimate utility for cleaning up Node.js build artifacts, but has moderate security and documentation concerns. The primary issues are: (1) lack of explicit tool declarations despite heavy bash command usage, (2) documentation of a potentially dangerous automated deletion command without enforcement of safety checks, (3) confusing references to non-existent Python files, and (4) missing optional metadata. The skill does not contain malicious code, data exfiltration, or prompt injection attempts. However, the automated deletion capability and lack of tool restrictions present moderate risks if the agent executes commands without proper user oversight. The skill would benefit from explicit tool declarations, removal of the automated deletion example or stronger safety enforcement, and cleanup of erroneous file references.

Scanner's overall assessment (LLM analyzer)

Second scanner: NVIDIA SkillSpector

Independent static run, no language model, over the same files as the Cisco scan above. How the two scanners compare across the whole corpus: Two scanners, one corpus.

What this skill does

Clean up node_modules and .next folders to free up disk space using npkill. Specifically designed to help JavaScript and Next.js developers remove accumulated build artifacts that consume significant storage. Provides both interactive and automated cleanup options with safety checks to protect important system directories.

Package
1 file, 3.7 KB
SKILL.md
505 words, 12+ sections
Code
None. Instructions only.

SKILL.md covers: NPkill - Node.js and Next.js Build Artifact Cleaner · Purpose · When to Use This Skill · Core Commands · Interactive Cleanup (Recommended) · Target .next Folders Specifically · Dry Run (Always Recommended First) · Automated Cleanup (Use with Caution) · View Sizes in Gigabytes · Scan from Specific Directory · Safety Features · Common Use Cases for Next.js Developers

Findings

MEDIUM Potentially Dangerous Automated Deletion Command Resource Abusellm

The skill documents an automated deletion command 'npkill --delete-all --yes' that bypasses all confirmations and deletes all found node_modules folders without user review. While the instructions include a warning 'Use with Caution', the agent could execute this command if instructed, potentially causing unintended data loss. The skill encourages using dry-run first, but there's no enforcement mechanism to prevent immediate execution of the destructive command.

SKILL.md

### Automated Cleanup (Use with Caution)
```bash
npkill --delete-all --yes
```
Automatically deletes all node_modules folders found. Use only after verifying with dry-run.
Remediation: Consider removing the automated deletion example entirely, or add explicit instructions that the agent must ALWAYS run dry-run first and require explicit user confirmation before executing any deletion commands. Implement a multi-step workflow that enforces safety checks.

What is in the package

FileKindSize
SKILL.mddoc3.7 KB

Package contents recorded 2026-10-22. The scan above ran against the version current at scan time; the two can differ if the skill has since been updated.

What we checked

What we did not check

Sources