Slopsquatting Checker - Catch AI-Invented npm & PyPI Packages
Pricing
$1.00 / 1,000 package checkeds
Slopsquatting Checker - Catch AI-Invented npm & PyPI Packages
Stop npm install / pip install of packages an AI made up. Paste code, package.json, requirements.txt or an LLM answer: every package is checked on npm and PyPI and flagged NOT_FOUND, LOOKALIKE, BRAND_NEW or LOW_ADOPTION. No API key needed.
Pricing
$1.00 / 1,000 package checkeds
Rating
0.0
(0)
Developer
mohamed alaya
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Paste code, a package.json, a requirements.txt or an AI chat answer. This Actor finds every package it imports or installs and tells you which ones do not exist, are brand new, are look-alikes of popular names, or have almost no users, before anyone runs npm install or pip install.
Built for security teams and for people who build AI coding agents that install what the model suggests.
Why it exists
Coding assistants regularly recommend packages that were never published. Researchers call the attack that follows slopsquatting: an attacker registers the invented name, and the next developer or agent that installs it runs the attacker's code. The same invented names tend to repeat across runs, so they are easy to pre-register. A one-line check against the registry before install closes the gap.
Input examples
1. Check a pasted AI answer or source file (imports, requires and install commands are extracted for you)
{ "code": "import express from 'express';\nconst x = require('react-fast-xml-pro');\n// pip install requestz\nimport pandas" }
2. Check a list of names
{ "packages": ["npm:left-pad", "npm:lodsah", "pypi:requests", "pypi:numpyy"] }
3. Check a whole manifest, show only the dangerous ones
{ "packageJson": "{\"dependencies\":{\"react\":\"^18\",\"react-super-hooks-pro\":\"^1.0.0\"}}", "onlyRisky": true }
Run with no input at all and the run succeeds with a status message asking for input. Nothing is checked and nothing is charged.
Input guide
| Field | What it does |
|---|---|
code | Any text. JS/TS import, require, dynamic import(), Python import/from ... import, and npm/yarn/pnpm/pip install commands are extracted. Node built-ins and the Python standard library are skipped. |
packages | Plain names. Prefix npm: or pypi: to set the registry per name. |
packageJson, requirementsTxt | Paste the file contents. |
newPackageDays | Packages first published more recently than this are BRAND_NEW (default 30). |
lowDownloadsPerWeek | npm packages below this weekly download count are LOW_ADOPTION (default 100). |
checkLookalikes | Compare existing, low-adoption names with popular packages to catch typosquats. |
onlyRisky | Hide risk: none rows (they are also not charged). |
Output
One row per distinct package.
| Field | Meaning |
|---|---|
verdict | NOT_FOUND, LOOKALIKE, SECURITY_HOLDING, BRAND_NEW, LOW_ADOPTION, DEPRECATED or OK |
risk | high, medium, low or none |
flags | All signals that fired, for example BRAND_NEW, LOW_DOWNLOADS, NO_REPOSITORY, SINGLE_RELEASE, INSTALL_SCRIPT_ON_UNPROVEN_PACKAGE |
reason, action | Plain-English explanation and what to do |
suggestions | Likely real package names for a misspelling |
createdAt, ageDays, latestVersion, versionCount, weeklyDownloads | Registry facts (downloads: npm only) |
foundIn | import, install-command, packages, package.json or requirements.txt |
Sample row:
{"type": "package", "name": "numpyy", "ecosystem": "pypi", "verdict": "NOT_FOUND", "risk": "high","flags": ["NOT_ON_REGISTRY"],"reason": "\"numpyy\" does not exist on PyPI. Installing it would either fail or, if someone registers the name later, pull attacker code (slopsquatting).","action": "Do not install. Did you mean: numpy?", "suggestions": ["numpy"], "foundIn": "import"}
Errors (registry unreachable) come out as type: "error" rows and are never charged. A run summary is stored under the SUMMARY key.
Use it with
- AI coding agents: call this Actor with the model's proposed code before the install step and block on
risk: high. - CI: run it on every pull request's
package.json/requirements.txtdiff. - Package Intelligence (npm & PyPI Package Scraper): after a package passes this check, feed it there for licence, maintainers and vulnerability data.
FAQ
Does it install or execute anything? No. It only reads public registry metadata.
Why is a Python package marked NOT_FOUND when I use it every day? Python import names can differ from the PyPI name (for example cv2 is opencv-python) or the import can be one of your own modules. Common renames are mapped; for the rest, check the row's foundIn: import note.
Where do the download numbers come from? The public npm downloads API. PyPI has no keyless equivalent, so PyPI rows use age, release count and look-alike checks instead.
Honest limits
- A package that exists is not proven safe.
OKmeans no slopsquatting signal, not a malware scan. - Look-alike detection compares against a built-in list of popular names, not the full registry.
- Only npm and PyPI. Private registries and scoped packages behind a login are reported as not found.
Price
Pay per event: $0.001 per package checked (package-checked). Checking 200 dependencies costs $0.20. Failed lookups are free.