Verify an npm package name before installing
verify_packageCheck whether an npm package name is real and safe before installing it, detecting typosquats and nonexistent packages to avoid malware.
Instructions
Check that an npm package name is REAL and safe before you run npm install on it. Reach for this whenever you are about to add a dependency you are not 100% certain exists — AI agents routinely hallucinate plausible-sounding package names ('slopsquatting'), and attackers pre-register those names with malware. Returns a verdict (SAFE / CAUTION / SUSPICIOUS / DOES_NOT_EXIST) with the reasons: existence on npm, first-publish age, weekly downloads, deprecation, and edit-distance to popular packages (typosquat detection). If it doesn't exist, do not install it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The exact npm package name you intend to install, e.g. 'react-router-dom'. |