Hallucinated Package Checker: Stop Slopsquatting Installs
Catches AI-invented and look-alike packages in your Python and JavaScript code before you install them.
- Extracts new imports from a diff or a whole repo, ignoring the standard library and your own modules.
- Checks each name against the live PyPI and npm registries and flags packages that do not exist.
- Flags look-alike names and packages first published in the last 30 days.
- Cross-checks imports against requirements, pyproject and package.json and lists any that are undeclared.
- Reports a clear verdict with a replacement for every risky name, and fails closed when the network is down.
See it in action
Request: Review the new imports in sample.patch for fake or risky packages. Check the manifest too.
missing pypi py_fake_cryptography_pkg (no such package)
ok pypi requests
ok pypi yaml -> PyYAML
missing npm sleep-promise-fast-xyz-123 (no such package)
ok npm zod
Verdict: BLOCK until the 2 HIGH findings are resolved
and the 4 real packages are declared.